- SpiralArray/영동 . . . . 22 matches
const int MAX_X=5;
const int MAX_Y=5;
void showBoard(int aBoard[][MAX_X]);//배열을 보여준다
void setEmptyBoard(int aBoard[][MAX_X]);//배열 초기화
bool needToChangeDirection(Mover * aMover, int aBoard[][MAX_X]);//방향을 바꿀 필요가 있는지 검사
void checkAtBoard(int aBoard[][MAX_X], Mover * aMover, int * aNumber);//이동 결과를 배열에 표시
int board[MAX_X][MAX_Y];//배열
void showBoard(int aBoard[][MAX_X])
for(int i=0;i<MAX_Y;i++)
for(int j=0;j<MAX_X;j++)
void setEmptyBoard(int aBoard[][MAX_X])
for(int i=0;i<MAX_Y;i++)
for(int j=0;j<MAX_X;j++)
if(endCount<MAX_X*MAX_Y)
bool needToChangeDirection(Mover * aMover, int aBoard[][MAX_X])
if(aMover->currentX+MOVE_X[aMover->currentDirection]>=MAX_X)
return true;//X방향으로 배열을 빠져나갈 경우(MAX이상)
if(aMover->currentY+MOVE_Y[aMover->currentDirection]>=MAX_Y)
return true;//Y방향으로 배열을 빠져나갈 경우(MAX이상)
void checkAtBoard(int aBoard[][MAX_X], Mover * aMover, int * aNumber)
- PowerOfCryptography/조현태 . . . . 21 matches
두번째 소스.. 숫자가 커도 저장하고 연산할 수 있을...듯 하다..;;ㅁ;; ㅎㅎㅎ MAX_LONG의 값을 10으로 줄이고 테스트를 해서 2개 이상의 경우에도 돌아가는 것은 알겠는데... 3번째 4번째 예제의 수가 원체 커야지 말이다. 연산의 결과가 좀처럼 안나온다. 곱하기 루틴에서 계속 더하고 있는듯..;;ㅁ;;
unsigned __int64 min_answer=1, max_answer=mokpyo+1;
while (min_answer+1!=max_answer)
unsigned __int64 temp_target=(min_answer+max_answer)/2;
max_answer=temp_target;
const unsigned __int64 MAX_LONG=1000000000000000000;
prv->number_input(number/MAX_LONG);
number%=MAX_LONG;
prv=new save_number(number/MAX_LONG,this);
number%=MAX_LONG;
prv->plus_number_unsigned(number/MAX_LONG);
number%=MAX_LONG;
prv=new save_number(number/MAX_LONG,this);
number%=MAX_LONG;
if (number>=MAX_LONG)
return MAX_LONG;
if (number>=MAX_LONG)
if (MAX_LONG==get_number)
if (MAX_LONG==get_number)
while (this_number!=MAX_LONG)
- 3N+1Problem/Leonardong . . . . 19 matches
def getMaximumCycleLength(self, aFrom, aTo):
max = 0
if max < cycleLength:
max = cycleLength
return max
print self.getMaximumCycleLength(numFrom, numTo)
def testGetMaximumCycleLength(self):
self.assertEquals( 1, self.runner.getMaximumCycleLength( 1, 1 ) )
self.assertEquals( 20, self.runner.getMaximumCycleLength( 1, 10 ) )
self.assertEquals( 125, self.runner.getMaximumCycleLength( 100, 200 ) )
self.assertEquals( 89, self.runner.getMaximumCycleLength( 201, 210 ) )
self.assertEquals( 174, self.runner.getMaximumCycleLength( 900, 1000) )
MAXIMUM = 10000
def getMaximumCycleLen(self, aFrom, aTo):
maximum = 0
if self.getCycleLen(i) > maximum:
maximum = self.getCycleLen(i)
self.cycleLens[i] = maximum
return maximum
print self.getMaximumCycleLen(numFrom, numTo)
- 큰수찾아저장하기/조현태 . . . . 16 matches
const int MAX_GARO=4;
const int MAX_SAERO=4;
int number[MAX_SAERO][MAX_GARO]={0,};
for (register int i=0; i<MAX_SAERO-1; ++i)
for (register int j=0; j<MAX_GARO-1; ++j)
if (number[i][j]>number[i][MAX_GARO-1])
number[i][MAX_GARO-1]=number[i][j];
if (number[i][j]>number[MAX_SAERO-1][j])
number[MAX_SAERO-1][j]=number[i][j];
if (number[i][j]>number[MAX_SAERO-1][MAX_GARO-1])
number[MAX_SAERO-1][MAX_GARO-1]=number[i][j];
for (register int i=0; i<MAX_SAERO; ++i)
for (register int j=0; j<MAX_GARO; ++j)
- AdventuresInMoving:PartIV/문보창 . . . . 15 matches
#define MAX_OIL 200
#define MAX_SIZE 101
#define MAX_NUM 1000000000
static Station station[MAX_SIZE]; /* 주유소 정보 */
static int d[2][MAX_OIL+1]; /* 다이나믹 테이블 */
for (int j = 0; j <= MAX_OIL; j++)
d[1][j] = MAX_NUM;
for (j = 0; j <= MAX_OIL; j++)
min = MAX_NUM;
for (k = 0; k <= MAX_OIL; k++)
if (k - getDistance(i) < 0 || d[(i-1)%2][k] >= MAX_NUM || j < k - getDistance(i))
min = MAX_NUM;
for (j = 100; j <= MAX_OIL; j++)
if (d[numStation%2][j] < MAX_NUM && d[numStation%2][j] < min && j - (totalLength - station[numStation].length) >= 100)
if (min >= MAX_NUM)
- VonNeumannAirport/Leonardong . . . . 14 matches
for origin in range( 1, MAX+1 ):
for dest in range( 1, MAX+1 ):
MAX = 25
self.distMatrix = DistanceMatrix(MAX)
self.traffic = TrafficMatrix(MAX)
self.distMatrix.construct( origins = range(1,MAX+1),
destinations= range(1,MAX+1) )
for i in range( 1, MAX+1 ):
self.distMatrix.construct( origins = range(1,MAX+1),
destinations= range(MAX,0,-1) )
self.assertEquals( 1, self.distMatrix.getDistance( 1, MAX ) )
self.assertEquals( MAX, self.distMatrix.getDistance( 1, 1 ) )
self.assertEquals( 1, self.distMatrix.getDistance( MAX/2+1,# middle
MAX/2+1 ) )
- IsBiggerSmarter?/문보창 . . . . 13 matches
const int MAX_ELEPHANT = 1100;
Elephant elephant[MAX_ELEPHANT];
int max_count = 0;
result.reserve(MAX_ELEPHANT);
v_temp.reserve(MAX_ELEPHANT);
if (count > max_count)
max_count = count;
cout << max_count << endl;
for (i = 0; i < max_count; i++)
const int MAX_ELEPHANT = 1010;
Elephant elephant_weight[MAX_ELEPHANT];
Elephant elephant_IQ[MAX_ELEPHANT];
int lcs_length(unsigned char t[][MAX_ELEPHANT]);
void print_lcs(int i, int j, unsigned char t[][MAX_ELEPHANT]);
unsigned char table[MAX_ELEPHANT][MAX_ELEPHANT];
int lcs_length(unsigned char t[][MAX_ELEPHANT])
void print_lcs(int i, int j, unsigned char t[][MAX_ELEPHANT])
- OurMajorLangIsCAndCPlusPlus/float.h . . . . 13 matches
||FLT_MAX ||float형으로 표현할 수 있는 가장 큰 floating point 값 ||3.402823466e+38F ||
||DBL_MAX ||double형으로 표현할 수 있는 가장 큰 floating point 값 ||1.7976931348623158e+308 ||
||LDBL_MAX ||long double형으로 표현할 수 있는 가장 큰 floating point 값 ||1.7976931348623158e+308 ||
||FLT_MAX_10_EXP ||float형으로 표현할 수 있는 가장 큰 floating point의 10의 지수값 ||38 ||
||DBL_MAX_10_EXP ||double형으로 표현할 수 있는 가장 큰 floating point의 10의 지수값 ||308 ||
||LDBL_MAX_10_EXP ||long double형으로 표현할 수 있는 가장 큰 floating point의 10의 지수값 ||308 ||
||FLT_MAX_EXP ||float형으로 표현할 수 있는 가장 큰 floating point의 2의 지수값 ||128 ||
||DBL_MAX_EXP ||double형으로 표현할 수 있는 가장 큰 floating point의 2의 지수값 ||1024 ||
||LDBL_MAX_EXP ||long double형으로 표현할 수 있는 가장 큰 floating point의 2의 지수값 ||1024 ||
'''FLT_MAX'''
이 매크로의 값은 float형이 표현할 수 있는 최대 수를 의미한다. 이것은 적어도 1E+37이 된다. 값 자체도 float형을 갖는다. 표현 가능한 가장 작은 수는 -FLT_MAX가 된다.
'''FLT_MAX_EXP'''
'''FLT_MAX_10_EXP'''
- 기본데이터베이스/조현태 . . . . 13 matches
const int MAX_DATA_SIZE=100;
const int MAX_MENU=8;
const char menu[MAX_MENU][20]={"insert","modify","delete","undelete","search","list","quit","?"};
const int MAX_BLOCK_SIZE=256;
char datas[MAX_DATA_SIZE+1][HANG_MOK][MAX_BLOCK_SIZE];
void (*functions[MAX_MENU])(void)={function_insert,function_modify,function_delete,function_undelete,function_search,function_list,function_quit,function_help};
for (register int i=0; i<MAX_MENU; ++i)
if (MAX_DATA_SIZE==how_many_data)
strcpy(datas[MAX_DATA_SIZE][i],datas[target][i]);
strcpy(datas[prv_del][i],datas[MAX_DATA_SIZE][i]);
for (register int i=0; i<MAX_MENU; ++i)
char temp_data[MAX_BLOCK_SIZE];
- 손동일 . . . . 13 matches
const int Max = 11 ;
int Vertex[Max][Max] =
int n = Max;
int between[Max];
int check[Max];
void shortpath(int Vertex[Max][Max],int between[Max], int n, int check[Max]);
int choose(int between[Max],int n,int check[Max]);
int between[Max];
void shortpath(int Vertex[Max][Max],int between[Max], int n, int check[Max])
int choose(int between[Max],int n,int check[Max])
minimum = Max;
const int MAX = 11;
int neighbor[MAX][2];
sVertice vertices[MAX] =
for (int i = 0 ; i < MAX ; i++)
vertices[i].len_from_start = INT_MAX;
for (i = 0 ; i < MAX ; i++)
for (int j = 0 ; j < MAX ; j++)
if (vertices[i].len_from_start == INT_MAX)
for (i = 0 ; i < MAX ; i++)
- ACM_ICPC/PrepareAsiaRegionalContest . . . . 12 matches
const int MAX = 1001;
static int workspace[MAX][MAX];
for ( int i = 0 ; i < MAX ; i++ )
for ( int j = 0 ; j < MAX ; j++ )
int max = 0;
for ( x = 0 ; x < MAX-SQUARE_SIZE ; x++ ){
for ( y = 0 ; y < MAX-SQUARE_SIZE ; y++ ){
if ( count > max )
max = count;
cout << " " << max << endl;
const int MAX = 4;
const int INT_MAX = 20000000;
GameEngine(){ minimum = INT_MAX; }
else if ( count < MAX )
if ( minimum == INT_MAX )
- 방울뱀스터디/만두4개 . . . . 12 matches
MAX_WIDTH, MAX_HEIGHT = 314, 314
if dir == 'Right'and'Space' and x <= MAX_WIDTH-GAP-10 :
elif dir == 'Down' and y <= MAX_HEIGHT - GAP - 10:
#canvas.create_rectangle(GAP, GAP, MAX_WIDTH - GAP, MAX_HEIGHT - GAP)
#if dir == 'Right' and x < MAX_WIDTH - GAP - 10:
#elif dir == 'Down' and y < MAX_HEIGHT - GAP - 10:
canvas = Canvas(root, width = MAX_WIDTH, height = MAX_HEIGHT, bg='white')
canvas.create_rectangle(GAP, GAP, MAX_WIDTH - GAP, MAX_HEIGHT - GAP)
- Marbles/신재동 . . . . 10 matches
const int MAX_NUMBER = 1000;
unsigned int marbles[MAX_NUMBER] = {0,};
unsigned int c1[MAX_NUMBER] = {0,};
unsigned int n1[MAX_NUMBER] = {0,};
unsigned int c2[MAX_NUMBER] = {0,};
unsigned int n2[MAX_NUMBER] = {0,};
unsigned int m1[MAX_NUMBER] = {MAX_NUMBER,};
unsigned int m2[MAX_NUMBER] = {MAX_NUMBER,};
int maxX = marbles[i] / n1[i];
int maxY = marbles[i] / n2[i];
for(int x = 0; x < maxX; x++)
for(int y = 0; y < maxY; y++)
- ErdosNumbers/문보창 . . . . 9 matches
const int MAX_STR = 20;
const int MAX_ERNUM = 100;
char name[MAX_STR];
pNode head[MAX_ERNUM];
bool make_map(char name[][MAX_STR], int num);
for (int i = 0; i < MAX_ERNUM; i++)
for (int i = 1; i < MAX_ERNUM; i++)
char name[10][MAX_STR];
bool make_map(char name[][MAX_STR], int num)
- C++스터디_2005여름/학점계산프로그램/정수민 . . . . 8 matches
#define MAX_STUDENT 121
students = new Student[MAX_STUDENT];
for (int i=1;i<MAX_STUDENT;i++) {
int num=MAX_STUDENT/10;
for (i=1;i < MAX_STUDENT;i++)
for (i=1;i < MAX_STUDENT;i++)
for (int i=1;i<MAX_STUDENT;i++)
for (int i=1;i<MAX_STUDENT;i++)
- ContestScoreBoard/허아영 . . . . 8 matches
#define MAX_OF_TEAM_NUM 100
#define MAX_OF_Q 9
int team_data[MAX_OF_TEAM_NUM+1][MAX_OF_Q+1]; // 0번째 배열은 시간 벌점 다음부터는
int temp_team_num, q_num, q_index[MAX_OF_TEAM_NUM]; // 문제 푼 index
for(i = 0; i <= MAX_OF_TEAM_NUM; i++)
for(int j = 1; j <= MAX_OF_Q; j++)
for(i = 1; i <= MAX_OF_TEAM_NUM; i++)
- EcologicalBinPacking/강희경 . . . . 8 matches
int MAX = 0;
if(noMove[i] > MAX)
MAX = noMove[i];
movedBottle -= MAX;
int MAX = 0;
if(pNoMove[i] > MAX)
MAX = pNoMove[i];
aSlots[9] -= MAX;
- HowManyPiecesOfLand?/문보창 . . . . 8 matches
#define MAXDIGITS 100
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
char digit[MAXDIGITS];
for (i = lastdigit + 1; i < MAXDIGITS; i++)
for (i = 0; i < MAXDIGITS; i++)
char temp[MAXDIGITS];
ret.lastdigit = MAX(a.lastdigit, b.lastdigit) + 1;
ret.lastdigit = MAX(a.lastdigit,b.lastdigit);
- OurMajorLangIsCAndCPlusPlus/locale.h . . . . 8 matches
char frac_digits; CHAR_MAX LC_MONETARY
char int_frac_digits; CHAR_MAX LC_MONETARY
char n_cs_precedes; CHAR_MAX LC_MONETARY
char n_sep_by_space; CHAR_MAX LC_MONETARY
char n_sign_posn; CHAR_MAX LC_MONETARY
char p_cs_precedes; CHAR_MAX LC_MONETARY
char p_sep_by_space; CHAR_MAX LC_MONETARY
char p_sign_posn; CHAR_MAX LC_MONETARY
- VendingMachine/세연/1002 . . . . 8 matches
const int DRINKNAME_MAXLENGTH = 255;
max_num = TOTAL_DRINK_TYPE;
char drinkNames[TOTAL_DRINK_TYPE][DRINKNAME_MAXLENGTH] = {"coke", "juice", "tea", "cofee", "milk"};
for (int i=0; i<max_num; i++) {
const int DRINKNAME_MAXLENGTH = 255;
char name[DRINKNAME_MAXLENGTH];
int max_num;
max_num = TOTAL_DRINK_TYPE;
char drinkNames[TOTAL_DRINK_TYPE][DRINKNAME_MAXLENGTH] = {"coke", "juice", "tea", "cofee", "milk"};
for (int i=0; i<max_num; i++) {
for(int i = 0 ; i < max_num ; i++)
for(int i = 0 ; i < max_num ; i++)
for(i = 0 ; i < max_num ; i++)
for(int drinkIndex = 0 ; drinkIndex < max_num ; drinkIndex++)
const int DRINKNAME_MAXLENGTH = 255;
char name[DRINKNAME_MAXLENGTH];
int max_num;
max_num = TOTAL_DRINK_TYPE;
char drinkNames[TOTAL_DRINK_TYPE][DRINKNAME_MAXLENGTH] = {"coke", "juice", "tea", "cofee", "milk"};
for (int i=0; i<max_num; i++) {
- XOR삼각형/aekae . . . . 8 matches
const int MAX = 8;
int arr[MAX][MAX];
for (int i=0; i<MAX; i++)
for (j=1; j<MAX; j++)
for (k=0; k<MAX; k++)
for (j=0; j<MAX; j++)
for (int h=j; h<MAX-1; h++)
- 금고/문보창 . . . . 8 matches
{{| max{ T(b, k), T(a, k-1) } + 1 |}} 이다.
#define MAXN 500
static int d[MAXN+1][MAXN+1];
for (int i = 1; i <= MAXN; i++)
int find_max_n(int k, int value)
for (int i = 1; i <= MAXN; i++)
while (t < MAXN)
a = find_max_n(k - 1, value);
for (int i = b + 1; i <= __min(t,MAXN); i++)
for (int k = 2; k <= MAXN; k++)
- 비행기게임/BasisSource . . . . 8 matches
MAX_SHOTS = 5
imageMax = 15
maxShots = 1
if self.imageCount <self.imageMax :
imageMax = 4
if self.imageCount <self.imageMax :
imageMax = 5
def __init__(self, life, imageMax, playerPosY):
self.imageMax = imageMax
if self.imageCount <self.imageMax and self.imageCount >= 0 :
elif self.imageCount==self.imageMax-1:
def DynamicEnemyAssign(enemyList, countOfEnemy, Enemy, life, imageMax, enemy_containers, Enemy_img, pathAndKinds, line, playerPosY):
enemyList[countOfEnemy] = Enemy(life,imageMax, playerPosY)
def DynamicItemAssign(itemList, countOfItem, Item, imageMax, item_containers, Item_img ,pos):
MAX_ENEMY = 5
MAX_ITEM = 6
enemy_1 = range(MAX_ENEMY)
enemy_2 = range(MAX_ENEMY)
item_1 = range(MAX_ITEM)
player.maxShots = player.maxShots + 1
- AutomatedJudgeScript/문보창 . . . . 7 matches
const int MAX = 100;
char answer[MAX*MAX]; // 정답
char answerDigit[MAX];
char reply[MAX*MAX]; // 사용자 출력
char replyDigit[MAX];
- RandomWalk/동기 . . . . 7 matches
int MAX=size-1;
if (spawnY>=0 && spawnX<=MAX)
if (spawnX<=MAX)
if (spawnX<=MAX && spawnY<=MAX)
if (spawnY<=MAX)
if (spawnX>=0 && spawnY<=MAX)
- TugOfWar/이승한 . . . . 7 matches
const int MAX= 100;
int maxToZero(int input[]); //가장큰수를 0로 바꾸어주는 함
int weight[MAX] = {0};
int outA[MAX] = {0};
int outB[MAX] = {0};
int maxInInput = 0;
for(int cycle=0; cycle < MAX; cycle++){
maxInInput = maxToZero( weight);
if( teamA + maxInInput == aver ){
teamA += maxInInput;
}else if( teamB + maxInInput == aver ){
teamB += maxInInput;
teamA += maxInInput;
teamB += maxInInput;;
int maxToZero(int * weight){
int max = 0;
int maxsIndex = 0;
for(int cycle=0; cycle < MAX; cycle++){
if(max < weight[cycle]){
max = weight[cycle];
- 미로찾기/황재선허아영 . . . . 7 matches
#define MAX 7
int board[MAX][MAX];
for(i = 0; i < MAX; i++)
for (j = 0; j < MAX; j++)
for(i = 0; i < MAX; i++)
for (j = 0; j < MAX; j++)
- CuttingSticks/문보창 . . . . 6 matches
#define MAX_CUT 53
#define MAX_NUM 0x7fffffff
static int cut[MAX_CUT];
static int d[MAX_CUT][MAX_CUT];
min = MAX_NUM;
- MagicSquare/동기 . . . . 6 matches
int MAX = k-1;
y=MAX;
if (x>MAX)
if (newy>MAX)
for (int p=0;p<=MAX;p++)
for (int l=0;l<=MAX;l++)
- OurMajorLangIsCAndCPlusPlus/stdlib.h . . . . 6 matches
|| RAND_MAX || 랜덤 함수에 의해서 리턴되는 최대 값 (적어도 32, 767) ||
|| MB_CUR_MAX || 현재 사용 중인 로케일에서 멀티바이트 문자의 최대 길이 ||
|| int rand(void); || 0부터 RAND_MAX까지의 범위사이의 난수 리턴||
#include <stdlib.h> /* For _MAX_PATH definition */
string = malloc( _MAX_PATH );
// string = (char *)malloc( _MAX_PATH );
- RandomWalk2/상규 . . . . 6 matches
#define MAX_JOURNEY 1024 // 최대 여정 수
int walk(int m, int n, int starti, int startj, char journey[MAX_JOURNEY], int **board);
char journey[MAX_JOURNEY];
char buffer[MAX_JOURNEY];
cin.getline(buffer,MAX_JOURNEY);
int walk(int m, int n, int starti, int startj, char journey[MAX_JOURNEY], int **board)
- SmithNumbers/신재동 . . . . 6 matches
const int MAX_TEST = 100;
const int MAX_PRIME_NUMBER = 100000;
int MAIN_PRIME_NUMBER[MAX_PRIME_NUMBER] = {0,};
int smithNumbers[MAX_TEST] = {0,};
for (int i = 3; primeCount < MAX_PRIME_NUMBER; i += 2)
for(int i = 0; i < MAX_PRIME_NUMBER; i++)
- TheJavaMan/스네이크바이트 . . . . 6 matches
public int MAX = 20;
public int[][] board = new int [MAX][];
for(int i=0; i<MAX; i++)
board[i] = new int[MAX];
for(int i=0; i<MAX; i++)
for(int j=0; j<MAX; j++)
- TugOfWar/문보창 . . . . 6 matches
const int MAX_CASE = 100;
const int MAX = 100;
int weight[MAX];
int left[MAX/2];
int right[MAX/2];
TugWar tugwar[MAX_CASE];
- WeightsAndMeasures/문보창 . . . . 6 matches
#define MAX_SIZE 5608
#define MAX_WEIGHT 10000000
int dynamic[2][MAX_SIZE];
dynamic[1][i] = MAX_WEIGHT;
if (dynamic[numT%2][i] < MAX_WEIGHT)
Turtle turtle[MAX_SIZE];
- 몸짱프로젝트/InfixToPostfix . . . . 6 matches
const int MAX = 10;
Element stack[MAX];
return (top < MAX - 1 ? false : true);
if ( *top < MAX - 1 )
stack[MAX-1].op.token = 'e';
stack[MAX-1].op.precedence = 100;*/
- 빵페이지/도형그리기 . . . . 6 matches
#define MAX 21
char odd[MAX],even[MAX],format[20];
printf("plz input asterisk number(below %d):",MAX);
if( num > MAX ) exit(0);
memset(odd,0,MAX);
- 5인용C++스터디/클래스상속 . . . . 5 matches
#define MAX_LEN 81
char fname[MAX_LEN];
char lname[MAX_LEN];
char full[MAX_LEN+MAX_LEN];
- C 스터디_2005여름/학점계산프로그램/김태훈김상섭 . . . . 5 matches
MAX_SUB = 4;
avg /= MAX_SUB;
int MAX_SUB;
const int MAX_SUB = 4;
for(int i = 0; i < MAX_SUB; i++)
- HardcoreCppStudy/첫숙제/Overloading/김아영 . . . . 5 matches
const int MAX = 20;
int board[MAX][MAX]={0,};
char direction[MAX];
for(int D=0;D<MAX;D++)
- 새싹교실/2011/무전취식/레벨10 . . . . 5 matches
int max = 0 ,min = 9999;
int selectMin,selectMax;
if (num[i]>max){
max=num[i];
selectMax = i;
if (i==selectMin || i==selectMax) continue;
max= 0;
if (newnum[i]>max){
max=newnum[i];
// selectMax = i;
if (max-min>=4) printf("KIN\n");
#define MAX_LINESTR 200
#define MAX_WORDLENGTH 200
#define MAX_LINE 100
char line_str[MAX_LINE][MAX_LINESTR];
- AdventuresInMoving:PartIV/김상섭 . . . . 4 matches
#define MAX_OIL 200
#define MAX_SIZE 103
#define MAX_NUM 1000000000
static Station station[MAX_SIZE]; /* 주유소 정보 */
int maxmin, maxminprice , now = 1, tank = 100, go = 100, search = 2, cost = 0;
maxmin = 0;
maxminprice = 1000000;
maxmin = 0;
if(maxminprice > station[search].price)
maxmin = search;
maxminprice = station[search].price;
if(maxmin)
if(station[maxmin].length - station[now].length >= tank)
tank = go - station[maxmin].length + station[now].length;
tank = tank - station[maxmin].length + station[now].length;
now = maxmin;
- LIB_3 . . . . 4 matches
for (int count = 0;count<LIB_MAX_HEAP;count++) {
free_tcb_ptr = LIB_MAX_HEAP;
if ( priority < LIB_MIN_PRIORITY || priority > LIB_MAX_PRIORITY ) return; <--------- 우선순위가 지랄 같으면 그냥 끝낸다.
for ( int i = 0; i < LIB_MAX_HEAP ; i++ ){
- MineSweeper/문보창 . . . . 4 matches
const int MAX = 100;
int size[MAX]; // 행과 열만을 저장할 배열
int mineSweep[MAX + 2][MAX + 2]; // 출력 할 지뢰밭 start point (1,1)
- PrimaryArithmetic/황재선 . . . . 4 matches
MAX = 9
s1, s2 = n1.zfill(MAX), n2.zfill(MAX)
for bit in range(MAX-1, -1, -1):
- ReverseAndAdd/황재선 . . . . 4 matches
MAX_VALUE = 4294967295
MAX_COUNT = 1000
if count >= MAX_COUNT or n > MAX_VALUE:
- 김재현 . . . . 4 matches
#define MAX 45 // 1-45
unsigned char j,k,n, used[MAX];
for (k=0; k < MAX; k++) //질문거리~(등호..)
n=rand() % MAX;
- 데블스캠프2011/다섯째날/HowToWriteCodeWell/김준석,서영주 . . . . 4 matches
public int MAX_HEIGHT;
public Elevator(int max_height, int min_height, int basic_height) {
MAX_HEIGHT = max_height;
if(i <= MAX_HEIGHT && i >= MIN_HEIGHT)
public int getMaxHeight() {
return MAX_HEIGHT;
public void getMaxHeightTest(){
assertEquals(el.getMaxHeight(), 20);
- 숫자를한글로바꾸기/조현태 . . . . 4 matches
const int MAX_LONG=5;//최대가 5자리 숫자이기때문.
const int MAX_NUMBER=10000;//최대가 10000이기때문.
int max_size_of_stack;
max_size_of_stack=data_size;
if (where_is_save != max_size_of_stack)
stack print_number(MAX_LONG);
while (input_number<0 || input_number>=MAX_NUMBER)
- 이영호/미니프로젝트#1 . . . . 4 matches
#define MSG_MAX 1024
char msg[MSG_MAX];
msg_len = recv(sockfd, msg, MSG_MAX-1, 0);
fgets(msg, MSG_MAX, stdin);
- Counting/문보창 . . . . 3 matches
#define MAX_SIZE 1000
static BigInteger Tn[MAX_SIZE+1];
for (int i = 3; i <= MAX_SIZE; i++)
- ErdosNumbers/차영권 . . . . 3 matches
#define MAX_LENGTH 100
char temp[MAX_LENGTH], *c;
cin.getline(temp, MAX_LENGTH);
- ImmediateDecodability/문보창 . . . . 3 matches
const int MAX = 10;
char code[MAX][11];
for (i=0; i<MAX; i++)
- Slurpys/문보창 . . . . 3 matches
const int MAX_LEN = 61;
char str[MAX_LEN];
cin.getline(str, MAX_LEN, 'n');
- XOR삼각형/임다찬 . . . . 3 matches
const int MAX=50;
int tri[MAX][MAX]={0,};
- 이차함수그리기/조현태 . . . . 3 matches
const int MAX_X=5;
void make_image(int where_x, int where_y, float min_x, float max_x, float tab_x, float tab_y)
int max_y=0;
for (register float x=min_x; x<=max_x; x+=tab_x)
if (max_y<function_x_to_y(x))
max_y=function_x_to_y(x);
for (register float x=min_x; x<=max_x; ++x)
gotoxy(banollim(x-min_x+1+where_x),(where_y+max_y*tab_y));
for (register float y=min_y; y<=max_y; ++y)
gotoxy(banollim(-min_x+1+where_x),(where_y-banollim(y)*tab_y+max_y*tab_y));
for (register float x=min_x; x<=max_x; x+=tab_x)
gotoxy(banollim(x-min_x+1+where_x),(where_y-banollim(function_x_to_y(x))*tab_y+max_y*tab_y));
make_image( 10 , 5 , MIN_X, MAX_X,TAB_X,TAB_Y);
for (register int i=0; i<MAX_X-MIN_X+1;i+=1)
- 파스칼삼각형/구자겸 . . . . 3 matches
#define MAX 10
int array[MAX][MAX]; // 배열
def pascal(maxrow):
arr = [ 0 for x in range(maxrow) for y in range(x+1) ]
print ' '*(maxrow-stair),
stair+=1; print ''; print ' '*(maxrow-stair),
- 파스칼삼각형/임다찬 . . . . 3 matches
const int MAX = 100;
int pascalt[MAX+1][MAX]={0,};
- ComputerNetworkClass/Report2006/PacketAnalyzer . . . . 2 matches
char rcvbuf[MAX_IP_SIZE];
wbuf.len = MAX_IP_SIZE;
- Counting/하기웅 . . . . 2 matches
#define MAX_NUM 1000
BigInteger number[MAX_NUM+1];
- EuclidProblem/차영권 . . . . 2 matches
#define MAX 50
}coefficient[MAX];
int gcd(int max, int min);
int gcd(int max, int min)
if (max%min == 0)
return gcd(min, max%min);
- HanoiTowerTroublesAgain!/문보창 . . . . 2 matches
#define MAX_SIZE 50
static int stick[MAX_SIZE+1];
- Slurpys/강인수 . . . . 2 matches
if IsSlump(Copy(S, FPos+1, MAX_STR_LEN)) then
if IsSlimp(Copy(S,1,i)) and IsSlump(Copy(S,i+1,MAX_STR_LEN)) then
- The Trip/Celfin . . . . 2 matches
#define MAX_STU 1000
double student[MAX_STU+1];
- TheTrip/문보창 . . . . 2 matches
const int MAX = 100;
int exchangeCost[MAX]; // 교환값
- WinAPI/2011년스터디 . . . . 2 matches
||WS_MAXMIZE||9.최대화 된 상태로 윈도우 생성 ||
||WS_MAXMIZEBOX||20.최대화 버튼 ||
- whiteblue/자료구조다항식구하기 . . . . 2 matches
#define MAX 10000;
int preExpon = MAX;
- zennith/source . . . . 2 matches
#define MAX_PRIME 50000
for (i = 3; i < MAX_PRIME; i += 2) {
- 데블스캠프2013/셋째날/머신러닝 . . . . 2 matches
#define INT_MAX 0x7fffffff;
int min = INT_MAX;
- 몸짱프로젝트/CrossReference . . . . 2 matches
const int MAX_LEN = 20;
char word[MAX_LEN];
- 토이/숫자뒤집기/김남훈 . . . . 2 matches
const int MAX_BUF = 10;
char input[MAX_BUF];
- 3 N+1 Problem/조동영 . . . . 1 match
int maxCount = 0;
if(count > maxCount)
maxCount = count;
return maxCount;
cout << "MAX cycle-length값은 " << CheckCount(num1,num2) << "입니다." << endl;
- 5인용C++스터디/에디트박스와콤보박스 . . . . 1 match
EN_MAXTEXT / 지정한 문자열 길이를 초과하였다.
- AustralianVoting/Leonardong . . . . 1 match
int result = INT_MAX;
- CuttingSticks/김상섭 . . . . 1 match
int temp1,min = INT_MAX;
- HanoiTowerTroublesAgain!/황재선 . . . . 1 match
public int maxBall(int numOfPeg) {
if (ballNumber == Integer.MAX_VALUE) {
int numOfBall = hanoi.maxBall(numOfPeg);
- ProjectPrometheus/LibraryCgiAnalysis . . . . 1 match
#'maxdisp': '10',
http://165.194.100.2/cgi-bin/mcu201?LIBRCODE=ATSL&USERID=abracadabra&SYSDB=R&HISNO=0010&SEQNO=21&MAXDISP=10
- Refactoring/ComposingMethods . . . . 1 match
final boolean isMacOs = platform.toUpperCase().indexOf("MAX") > -1;
if ( isMaxOs && isIEBrowser && wasResized ) {
- WinampPluginProgramming/DSP . . . . 1 match
SendDlgItemMessage(hwndDlg,IDC_SLIDER1,TBM_SETRANGEMAX,0,18);
- [Lovely]boy^_^/Diary/8/6_8/10 . . . . 1 match
|| 3D || 3D MAX로 개체 읽어와서 GL에서 그리기 || || 세미나 받음 ||
- 만년달력/강희경,Leonardong . . . . 1 match
if ( year <= 0 || year >INT_MAX || month <=0 || month>12)
- 상협/Diary/8월 . . . . 1 match
|| ["3DGraphicsFoundation"] || 3D MAX ASE 파일 OpenGL에서 읽기 || 2% || 흑... -_-;;||
- 정모/2012.4.30 . . . . 1 match
wibro는 WiMAX 프로토콜을 이용한 상표명입니다. wibro의 경우 IEEE 802.16e 표준을
- 프로그래밍은습관이다 . . . . 1 match
* 저번에 [상규]형이 for(i=0; i<MAX; i++){...}이런식의 아주 작은 패턴이라고 말할수 있는것을 무엇이라고 설명해 주셨었는데 정확하게 용어가 생각이 안나네요;; - [톱아보다]
Found 84 matching pages out of 7555 total pages (2520 pages are searched)
You can also click here to search title.