# Code Race/2015.5.15/김정빈

## Difference between r1.6 and the current

@@ -300,15 +300,100 @@
}}}

== EXTRA2 ==
== final ==

{{{
#include<stdio.h>
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#endif
}}}

=== problem1.c ===
{{{
#include<stdio.h>
#include "sum.h"
#include "team.h"
int main()
{
int input_num = 0;
print_team();
printf("입력 : ");
scanf("%d", &input_num);
printf("%d", sum(input_num));
return 0;
}
}}}

=== sum.h ===
{{{
#ifndef _sum_h_
#define _sum_h_
int sum(int n){
if (n == 1){
return 1;
}
return sum(n - 1) + n;
}
#endif
}}}

=== problem2.c ===
{{{
#include"gugu.h"
#include"team.h"

int main()
{
print_team();
calc();
return 0;
}
}}}

=== gugu.h ===
{{{
//gugu.h
#ifndef _gugu_h_
#define _gugu_h_

void gugu(int num)
{
for (int j = 1; j <= 9; j++)
{
printf("%d*%d = %d\n", num, j, num*j);
}
printf("\n");
}

void calc(){
int random_num = 0;
int count_execute = 0;

srand((unsigned)time(NULL));

printf("\n\n 몇번반복?= ");
scanf("%d", &count_execute);

for (int i = 0; i < count_execute; i++){
random_num = (rand() % 9) + 1;
gugu(random_num);
}
}
#endif
}}}

=== team.h ===
{{{
#ifndef _team_h_
#define _team_h_
#include <stdio.h>
void print_team(){

printf("Hello World\n");
@@ -365,48 +450,5 @@
printf("\n Team Member: won joon *2 , haeseong");
printf("\n########################################");
}

void gugu(int num)
{
for (int j = 1; j <= 9; j++)
{
printf("%d*%d = %d\n", num, j, num*j);
}
printf("\n");
}

void calc(){
int random_num = 0;
int count_execute = 0;

srand((unsigned)time(NULL));

printf("\n\n 몇번반복?= ");
scanf("%d", &count_execute);

for (int i = 0; i < count_execute; i++){
random_num = (rand() % 9) + 1;
gugu(random_num);
}
}
#endif
}}}

{{{
#include<stdio.h>
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
}}}

{{{
//problem2.c
#include"gugu.h"

int main()
{
print_team();
calc();
}
}}}

# 일등 ¶

## Code Race ¶

```
1번문제
#include<stdio.h>
int sum(int i){
if (i != 1)
{
return sum(i - 1) + i;
}
else
{
return 1;
}

}
void print_team(){

printf("Hello World\n");
printf("===========::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::=====:=============="
"		== == == == == ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: == == == == =="
"		== == == == = :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: == =="
"		== == == = :::::::::::::::::::::::::::::::::::::: == ::::::::::::::::::::::::::::::::::::::::. : ++ += ::::::::::::::::::::::::::::::::::"
"		== == = ::::::::::::::::::::::::::..:::::: : = *+*# += = :::::::::::::::::::::::::::::: : = += :: : = +#@@@ *= ++++.:::::::::::::::::::::::::::::"
"	:::::::::::::::::::::::::::: = *%@@@%%#**##++ = ::::::: = +*+: ..::::::::::::::::::::::. : == = +#@%@@#++ + *%*.::::::::::::::::::::::::::::"
"		:::::::::::::::::::::::::: = +@@@@@@@*#%# + :::::::::::::. = #@# += :::: : = : ...:::::::::::::: : . : %* : . .. : +#@ = .:::::::::::::::::::::::::: :"
"		:::::::::::::::::::::::: : = +@@@@@@@@@#:..::::::::::::::... = %@@@%*#@@@%+..........:..:: == == ..:: = *%%*..::::::::::::::::::::::::::"
"		::::::::::::::::::::::::.:: = ++*%%@@:.::::...................%@##%@@@@@@ = .............: == *+: == *%@@@%.:::::::::::::::::::::::::::"
"	:::::::::::::::::::::: : .     . : ++*........................... = @@@@@@@@@@%.........   ...:@**#%%@@@@..::::::::::::::::::::::::::"
"		:::::::::::..............  . : == = ++ + ........................... + @@@@@@@@@%.......        #@%%%@@@@#..:........:::::::::::::::: :"
"		.......................::. : ....:: == : .............................*#%%@@@@%* ....         :@@%%%@@@@:.............:::::::: : .... :"
"		...................... == +. ..:::::: : ............................ .#%@@@@%#:....       .::@@%%%%@@@#..........................."
"		...................... = *# ...:::::::........        ............ : = +#@@@@%# = ..      ..:::@@%%#%%@@@ .........................:"
"	..::.................. + #* .....::.... : ........    ...........:: + **##%@%%%#*:..     ..::::@@%####%@@:......................::::"
"		... : ................... + @ = .....:.......# = ...................:: : **#%@@@@%%%%## .::.  ..:: = :%@%%%%%%@@* .....................::::"
"		::::::............... = %@:......::::....@@# + :........... .. : .. + *%%@@@@@@@%%#%+= ::...:::::*@%%%@%%%@@ .. ......................"
"		:::::::::::.......... = %%@.....:::::.... %@@@@@@% *= ..... = *+: . = *#%@@@@@@@@%###% == :::.:::: : = @@@@@@@@@@ = ......................"
"		::::::::::..........:@%#@::..:::::....... + ::::. : +*++*##%%+. : +*#%%@%@@@@@%#%##%*++:::::::::: + @@@@@@@@@@ ........................"
"		:::::::::...........@@@%@:::::::::::.... += == +####%#%%#@@ += **#%%%%%@@@@@%#%%@%%%# + :::::::::: = @@@@@@@@@#.........::::..........."
"		...................#@@@@*:::::::::::... : *#%%%%###*%%%@@# = *##%%@%%@@@@@@%%%@@@%%%%# + .::::::::@@@@@@@@@@.................."
"		............:..... = @*#%%:::::::::::::. = %@@##%%%@%##%@@#++##%%%@@@@@@@@@@%%%@@@@@%@%%%*:.:::: + @@@@@@@@@@*........:......."
"		..................@ + #.# *= = :::::::::::%@@@@@@@@% += ::.  :+*##%%@@@@@@@@@@@@%%@@@@@@@@@@%@# = :::*@@@@@@@@@@@ ................"
"		..... *+*. *= == ::::::: = : +@@@@@@@%+.         *#%%%%@@@@@@@@@@@@@%@%@@@@@@@@@@@@ %= = %@@@@@@@@@@@:            ......"
"		.@ + .  *: == == :::: == +@@@@@@#.           :#%%%%%@@@@@@@@@@@@%@@*+%%%%@@@@@@@@@*@@@@@@@@@@@@@           ..."
"		*#.   % == == == == == @@@@@%:. : = #%%%%%@@@@@@@@@@@@%@++ = #@@ %= #@@@@@@@@@@@@@@@@@@@@@ +"
"		@ + #:. == == == == : @@@@ + .:::           +##%%%%@@@@@@@@@@@@@ *= +. %@@++ + %@@@@@%@@@@@@@@@@@@@@"
"		.%:    *+: == == == == +# *= :::: : *##%%%@@@@@@@@@@@@@ %= ++   . + : = ++*%@@@@@@@@@@@@@@@@@@*"
"		**    :**. : == == == == == == == ::.           #%%%%@@@@@@@@@@@@@@ = ++.      .++++*@@@@@@@@@@@@@@@@@@"
"		@: *= = . == = += += == == == == = .##%%@@@@@@@@@@@@@@%++ = = ++++*%@@@@@@@@@@%@@@@@"
"		..            :%    . = : . == = ++++ == ++++ = : = ##%@@@@@@@@@@@@@@@ *= +++ + **+#@@@@@@@%%@@@@@@ ="
"		*+== .:: = ++++++++++++            *%%%@%@@@@@@@@@@@@@++.          .**++++*@@@@@@@ = @@@@@@#"
"		@.    *: . : == == ++++ + ****# = *%%%%%%@@@@@@@@@@@% += ****++ = #@@@@@++@@@@@@"
"#     +..::=+++++*******.              #%%%%%@@@@@@@@@@%@++:              :*****+%@@@@#=*@@@@@%"
"		:::::.........:::: : . + :: == ++ + **####**++....:: : ....... : %%%%@@@@@@@@@@@%@ + :+: .:: : ....::...... = *##*+#@@@#**@@@@@@ + ................."
"		++++++++++ == = += == == = +.: = +**####****++ == == == == == == == = : @%%#%@@@@@@@@@@@*:++ : == == == == == == == == == : *#**####*#@@@@@@ %= == = ++ += ++++++++ +"
"		++++ == == == == == == == == +: = +**##*####**++ == == == == == == == == @%*#%@@@@@@@@@@@*+*= == == == == == == == == == == :+#*+#*#*#@@@@@@@ == == ++++++++++++ +"
"		++++ += == ++ == == == == = +*= +*#**#####*** += == == == == == == == = +%@**%%%@@@@@@@@@* += == == == == == == == == == == == :+## + %%@%@@@@@@@# = ++++++++++++++ +"
"		++++++++++++ == == == = **= *#*#######** += == == == == == == == == +%%+*#%%%@@@@@@@@# += == == == == == ++ + *+= +** += = +:+%%#%%%@@@@@@@@++++++++++++++++"
"		++++++++++++++ += == +# = ++*@@@*#%#** *= == == == == == == == == = *% *= *%%%@@@@@@@@@ *= == == == == == = ++ = += == = += == == :+@@%##@@@%@@@@ = ++++++++++++++ +"
"		++++++++++++++++++ = ::*%@@@ == :#@% *= += += = ++++++ == == == +## += %%%@@@@@@@%@% += += == = += == == = ++ += ++++++*++# = #@@#%%@@#*%@@## + *+#********##"
"		++++++++++++++++++ = @%@@@@ += == #@@@ += == == == == == == == == = *%**%%@@#*: = *%%@ *= ++ + ****+*++++++++**++++* += += **@@@@@% += = +##*#++*#*####%%%@"
"		++++++++++++++++++ + *%*#@*: += = @@@@# == == == == == == += += += #@ + @@@@ *= +**%@@@@*++++ = += == = += == ++++++++++**++#@@ + @@@######*#***#**#*##*#**"
"		++++++++++++++++++++@@@@@@*#*%@@@%%#***#++++ + #%##*++@@*@@##++++ = @@@@@#++++++ + ***###@###%####*#%##%%@@@@@@%%%####%%%##%#########"
"		++++++++++++++++++++++**@@@@@@@%%%@@@@@@@%%%%#%*##@%@@@@@@@%%%@@@@@@@@@@@@@@@%%%%%#%%%@@%@@@@@%@@@@@@@%%@%%%%%@%%%%@@%%@%%%%%%#"
"		++++++++++++++++++++++++++++++++++++++++++++*++*****++*++++ + *****#**********+*+***++++++++++*+**+**++++ += = ++++++ + **++++++++++++"
"		++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ == += ++++++++++++++++++++++++++++++++++++*++++ + *++*++*++++*++++****+");

printf("\n\n Team Name : 김정빈");
printf("\n Team Member: won joon *2 , haeseong");
printf("\n########################################");
}
int main()
{
int fin=0;
int inp = 0;
print_team();
printf("입력 : ");
scanf("%d",&inp);

printf("%d", sum(inp));

}

```

```2번문제
// main.c
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#include"123.h"

int main()
{
print();
int n = 0;
int m = 0;
printf("\n\n 몇번반복?= ");
scanf("%d",&m);

srand((unsigned)time(NULL));

for (int i = 0; i < m; i++){

n = (rand() % 9) + 1;
googoo(n);

}

}

//123.h

#include<stdio.h>

void print(){

printf("Hello World\n");
printf("===========::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::=====:=============="
"		== == == == == ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: == == == == =="
"		== == == == = :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: == =="
"		== == == = :::::::::::::::::::::::::::::::::::::: == ::::::::::::::::::::::::::::::::::::::::. : ++ += ::::::::::::::::::::::::::::::::::"
"		== == = ::::::::::::::::::::::::::..:::::: : = *+*# += = :::::::::::::::::::::::::::::: : = += :: : = +#@@@ *= ++++.:::::::::::::::::::::::::::::"
"	:::::::::::::::::::::::::::: = *%@@@%%#**##++ = ::::::: = +*+: ..::::::::::::::::::::::. : == = +#@%@@#++ + *%*.::::::::::::::::::::::::::::"
"		:::::::::::::::::::::::::: = +@@@@@@@*#%# + :::::::::::::. = #@# += :::: : = : ...:::::::::::::: : . : %* : . .. : +#@ = .:::::::::::::::::::::::::: :"
"		:::::::::::::::::::::::: : = +@@@@@@@@@#:..::::::::::::::... = %@@@%*#@@@%+..........:..:: == == ..:: = *%%*..::::::::::::::::::::::::::"
"		::::::::::::::::::::::::.:: = ++*%%@@:.::::...................%@##%@@@@@@ = .............: == *+: == *%@@@%.:::::::::::::::::::::::::::"
"	:::::::::::::::::::::: : .     . : ++*........................... = @@@@@@@@@@%.........   ...:@**#%%@@@@..::::::::::::::::::::::::::"
"		:::::::::::..............  . : == = ++ + ........................... + @@@@@@@@@%.......        #@%%%@@@@#..:........:::::::::::::::: :"
"		.......................::. : ....:: == : .............................*#%%@@@@%* ....         :@@%%%@@@@:.............:::::::: : .... :"
"		...................... == +. ..:::::: : ............................ .#%@@@@%#:....       .::@@%%%%@@@#..........................."
"		...................... = *# ...:::::::........        ............ : = +#@@@@%# = ..      ..:::@@%%#%%@@@ .........................:"
"	..::.................. + #* .....::.... : ........    ...........:: + **##%@%%%#*:..     ..::::@@%####%@@:......................::::"
"		... : ................... + @ = .....:.......# = ...................:: : **#%@@@@%%%%## .::.  ..:: = :%@%%%%%%@@* .....................::::"
"		::::::............... = %@:......::::....@@# + :........... .. : .. + *%%@@@@@@@%%#%+= ::...:::::*@%%%@%%%@@ .. ......................"
"		:::::::::::.......... = %%@.....:::::.... %@@@@@@% *= ..... = *+: . = *#%@@@@@@@@%###% == :::.:::: : = @@@@@@@@@@ = ......................"
"		::::::::::..........:@%#@::..:::::....... + ::::. : +*++*##%%+. : +*#%%@%@@@@@%#%##%*++:::::::::: + @@@@@@@@@@ ........................"
"		:::::::::...........@@@%@:::::::::::.... += == +####%#%%#@@ += **#%%%%%@@@@@%#%%@%%%# + :::::::::: = @@@@@@@@@#.........::::..........."
"		...................#@@@@*:::::::::::... : *#%%%%###*%%%@@# = *##%%@%%@@@@@@%%%@@@%%%%# + .::::::::@@@@@@@@@@.................."
"		............:..... = @*#%%:::::::::::::. = %@@##%%%@%##%@@#++##%%%@@@@@@@@@@%%%@@@@@%@%%%*:.:::: + @@@@@@@@@@*........:......."
"		..................@ + #.# *= = :::::::::::%@@@@@@@@% += ::.  :+*##%%@@@@@@@@@@@@%%@@@@@@@@@@%@# = :::*@@@@@@@@@@@ ................"
"		..... *+*. *= == ::::::: = : +@@@@@@@%+.         *#%%%%@@@@@@@@@@@@@%@%@@@@@@@@@@@@ %= = %@@@@@@@@@@@:            ......"
"		.@ + .  *: == == :::: == +@@@@@@#.           :#%%%%%@@@@@@@@@@@@%@@*+%%%%@@@@@@@@@*@@@@@@@@@@@@@           ..."
"		*#.   % == == == == == @@@@@%:. : = #%%%%%@@@@@@@@@@@@%@++ = #@@ %= #@@@@@@@@@@@@@@@@@@@@@ +"
"		@ + #:. == == == == : @@@@ + .:::           +##%%%%@@@@@@@@@@@@@ *= +. %@@++ + %@@@@@%@@@@@@@@@@@@@@"
"		.%:    *+: == == == == +# *= :::: : *##%%%@@@@@@@@@@@@@ %= ++   . + : = ++*%@@@@@@@@@@@@@@@@@@*"
"		**    :**. : == == == == == == == ::.           #%%%%@@@@@@@@@@@@@@ = ++.      .++++*@@@@@@@@@@@@@@@@@@"
"		@: *= = . == = += += == == == == = .##%%@@@@@@@@@@@@@@%++ = = ++++*%@@@@@@@@@@%@@@@@"
"		..            :%    . = : . == = ++++ == ++++ = : = ##%@@@@@@@@@@@@@@@ *= +++ + **+#@@@@@@@%%@@@@@@ ="
"		*+== .:: = ++++++++++++            *%%%@%@@@@@@@@@@@@@++.          .**++++*@@@@@@@ = @@@@@@#"
"		@.    *: . : == == ++++ + ****# = *%%%%%%@@@@@@@@@@@% += ****++ = #@@@@@++@@@@@@"
"#     +..::=+++++*******.              #%%%%%@@@@@@@@@@%@++:              :*****+%@@@@#=*@@@@@%"
"		:::::.........:::: : . + :: == ++ + **####**++....:: : ....... : %%%%@@@@@@@@@@@%@ + :+: .:: : ....::...... = *##*+#@@@#**@@@@@@ + ................."
"		++++++++++ == = += == == = +.: = +**####****++ == == == == == == == = : @%%#%@@@@@@@@@@@*:++ : == == == == == == == == == : *#**####*#@@@@@@ %= == = ++ += ++++++++ +"
"		++++ == == == == == == == == +: = +**##*####**++ == == == == == == == == @%*#%@@@@@@@@@@@*+*= == == == == == == == == == == :+#*+#*#*#@@@@@@@ == == ++++++++++++ +"
"		++++ += == ++ == == == == = +*= +*#**#####*** += == == == == == == == = +%@**%%%@@@@@@@@@* += == == == == == == == == == == == :+## + %%@%@@@@@@@# = ++++++++++++++ +"
"		++++++++++++ == == == = **= *#*#######** += == == == == == == == == +%%+*#%%%@@@@@@@@# += == == == == == ++ + *+= +** += = +:+%%#%%%@@@@@@@@++++++++++++++++"
"		++++++++++++++ += == +# = ++*@@@*#%#** *= == == == == == == == == = *% *= *%%%@@@@@@@@@ *= == == == == == = ++ = += == = += == == :+@@%##@@@%@@@@ = ++++++++++++++ +"
"		++++++++++++++++++ = ::*%@@@ == :#@% *= += += = ++++++ == == == +## += %%%@@@@@@@%@% += += == = += == == = ++ += ++++++*++# = #@@#%%@@#*%@@## + *+#********##"
"		++++++++++++++++++ = @%@@@@ += == #@@@ += == == == == == == == == = *%**%%@@#*: = *%%@ *= ++ + ****+*++++++++**++++* += += **@@@@@% += = +##*#++*#*####%%%@"
"		++++++++++++++++++ + *%*#@*: += = @@@@# == == == == == == += += += #@ + @@@@ *= +**%@@@@*++++ = += == = += == ++++++++++**++#@@ + @@@######*#***#**#*##*#**"
"		++++++++++++++++++++@@@@@@*#*%@@@%%#***#++++ + #%##*++@@*@@##++++ = @@@@@#++++++ + ***###@###%####*#%##%%@@@@@@%%%####%%%##%#########"
"		++++++++++++++++++++++**@@@@@@@%%%@@@@@@@%%%%#%*##@%@@@@@@@%%%@@@@@@@@@@@@@@@%%%%%#%%%@@%@@@@@%@@@@@@@%%@%%%%%@%%%%@@%%@%%%%%%#"
"		++++++++++++++++++++++++++++++++++++++++++++*++*****++*++++ + *****#**********+*+***++++++++++*+**+**++++ += = ++++++ + **++++++++++++"
"		++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ == += ++++++++++++++++++++++++++++++++++++*++++ + *++*++*++++*++++****+");

printf("\n\n Team Name : 김정빈");
printf("\n Team Member: won joon *2 , haeseong");
printf("\n########################################");
}

void googoo(int i)
{
for (int j = 1; j <= 9; j++)
{
printf("%d*%d = %d\n", i, j, i*j);
}

}

```

## Extra ¶

```//problem2.c
#include"gugu.h"

int main()
{
print_team();
calc();
}

//gugu.h

#include<stdio.h>
#include<stdio.h>
#include<stdlib.h>
#include<time.h>

void print_team(){

printf("Hello World\n");
printf("===========::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::=====:=============="
"		== == == == == ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: == == == == =="
"		== == == == = :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: == =="
"		== == == = :::::::::::::::::::::::::::::::::::::: == ::::::::::::::::::::::::::::::::::::::::. : ++ += ::::::::::::::::::::::::::::::::::"
"		== == = ::::::::::::::::::::::::::..:::::: : = *+*# += = :::::::::::::::::::::::::::::: : = += :: : = +#@@@ *= ++++.:::::::::::::::::::::::::::::"
"	:::::::::::::::::::::::::::: = *%@@@%%#**##++ = ::::::: = +*+: ..::::::::::::::::::::::. : == = +#@%@@#++ + *%*.::::::::::::::::::::::::::::"
"		:::::::::::::::::::::::::: = +@@@@@@@*#%# + :::::::::::::. = #@# += :::: : = : ...:::::::::::::: : . : %* : . .. : +#@ = .:::::::::::::::::::::::::: :"
"		:::::::::::::::::::::::: : = +@@@@@@@@@#:..::::::::::::::... = %@@@%*#@@@%+..........:..:: == == ..:: = *%%*..::::::::::::::::::::::::::"
"		::::::::::::::::::::::::.:: = ++*%%@@:.::::...................%@##%@@@@@@ = .............: == *+: == *%@@@%.:::::::::::::::::::::::::::"
"	:::::::::::::::::::::: : .     . : ++*........................... = @@@@@@@@@@%.........   ...:@**#%%@@@@..::::::::::::::::::::::::::"
"		:::::::::::..............  . : == = ++ + ........................... + @@@@@@@@@%.......        #@%%%@@@@#..:........:::::::::::::::: :"
"		.......................::. : ....:: == : .............................*#%%@@@@%* ....         :@@%%%@@@@:.............:::::::: : .... :"
"		...................... == +. ..:::::: : ............................ .#%@@@@%#:....       .::@@%%%%@@@#..........................."
"		...................... = *# ...:::::::........        ............ : = +#@@@@%# = ..      ..:::@@%%#%%@@@ .........................:"
"	..::.................. + #* .....::.... : ........    ...........:: + **##%@%%%#*:..     ..::::@@%####%@@:......................::::"
"		... : ................... + @ = .....:.......# = ...................:: : **#%@@@@%%%%## .::.  ..:: = :%@%%%%%%@@* .....................::::"
"		::::::............... = %@:......::::....@@# + :........... .. : .. + *%%@@@@@@@%%#%+= ::...:::::*@%%%@%%%@@ .. ......................"
"		:::::::::::.......... = %%@.....:::::.... %@@@@@@% *= ..... = *+: . = *#%@@@@@@@@%###% == :::.:::: : = @@@@@@@@@@ = ......................"
"		::::::::::..........:@%#@::..:::::....... + ::::. : +*++*##%%+. : +*#%%@%@@@@@%#%##%*++:::::::::: + @@@@@@@@@@ ........................"
"		:::::::::...........@@@%@:::::::::::.... += == +####%#%%#@@ += **#%%%%%@@@@@%#%%@%%%# + :::::::::: = @@@@@@@@@#.........::::..........."
"		...................#@@@@*:::::::::::... : *#%%%%###*%%%@@# = *##%%@%%@@@@@@%%%@@@%%%%# + .::::::::@@@@@@@@@@.................."
"		............:..... = @*#%%:::::::::::::. = %@@##%%%@%##%@@#++##%%%@@@@@@@@@@%%%@@@@@%@%%%*:.:::: + @@@@@@@@@@*........:......."
"		..................@ + #.# *= = :::::::::::%@@@@@@@@% += ::.  :+*##%%@@@@@@@@@@@@%%@@@@@@@@@@%@# = :::*@@@@@@@@@@@ ................"
"		..... *+*. *= == ::::::: = : +@@@@@@@%+.         *#%%%%@@@@@@@@@@@@@%@%@@@@@@@@@@@@ %= = %@@@@@@@@@@@:            ......"
"		.@ + .  *: == == :::: == +@@@@@@#.           :#%%%%%@@@@@@@@@@@@%@@*+%%%%@@@@@@@@@*@@@@@@@@@@@@@           ..."
"		*#.   % == == == == == @@@@@%:. : = #%%%%%@@@@@@@@@@@@%@++ = #@@ %= #@@@@@@@@@@@@@@@@@@@@@ +"
"		@ + #:. == == == == : @@@@ + .:::           +##%%%%@@@@@@@@@@@@@ *= +. %@@++ + %@@@@@%@@@@@@@@@@@@@@"
"		.%:    *+: == == == == +# *= :::: : *##%%%@@@@@@@@@@@@@ %= ++   . + : = ++*%@@@@@@@@@@@@@@@@@@*"
"		**    :**. : == == == == == == == ::.           #%%%%@@@@@@@@@@@@@@ = ++.      .++++*@@@@@@@@@@@@@@@@@@"
"		@: *= = . == = += += == == == == = .##%%@@@@@@@@@@@@@@%++ = = ++++*%@@@@@@@@@@%@@@@@"
"		..            :%    . = : . == = ++++ == ++++ = : = ##%@@@@@@@@@@@@@@@ *= +++ + **+#@@@@@@@%%@@@@@@ ="
"		*+== .:: = ++++++++++++            *%%%@%@@@@@@@@@@@@@++.          .**++++*@@@@@@@ = @@@@@@#"
"		@.    *: . : == == ++++ + ****# = *%%%%%%@@@@@@@@@@@% += ****++ = #@@@@@++@@@@@@"
"#     +..::=+++++*******.              #%%%%%@@@@@@@@@@%@++:              :*****+%@@@@#=*@@@@@%"
"		:::::.........:::: : . + :: == ++ + **####**++....:: : ....... : %%%%@@@@@@@@@@@%@ + :+: .:: : ....::...... = *##*+#@@@#**@@@@@@ + ................."
"		++++++++++ == = += == == = +.: = +**####****++ == == == == == == == = : @%%#%@@@@@@@@@@@*:++ : == == == == == == == == == : *#**####*#@@@@@@ %= == = ++ += ++++++++ +"
"		++++ == == == == == == == == +: = +**##*####**++ == == == == == == == == @%*#%@@@@@@@@@@@*+*= == == == == == == == == == == :+#*+#*#*#@@@@@@@ == == ++++++++++++ +"
"		++++ += == ++ == == == == = +*= +*#**#####*** += == == == == == == == = +%@**%%%@@@@@@@@@* += == == == == == == == == == == == :+## + %%@%@@@@@@@# = ++++++++++++++ +"
"		++++++++++++ == == == = **= *#*#######** += == == == == == == == == +%%+*#%%%@@@@@@@@# += == == == == == ++ + *+= +** += = +:+%%#%%%@@@@@@@@++++++++++++++++"
"		++++++++++++++ += == +# = ++*@@@*#%#** *= == == == == == == == == = *% *= *%%%@@@@@@@@@ *= == == == == == = ++ = += == = += == == :+@@%##@@@%@@@@ = ++++++++++++++ +"
"		++++++++++++++++++ = ::*%@@@ == :#@% *= += += = ++++++ == == == +## += %%%@@@@@@@%@% += += == = += == == = ++ += ++++++*++# = #@@#%%@@#*%@@## + *+#********##"
"		++++++++++++++++++ = @%@@@@ += == #@@@ += == == == == == == == == = *%**%%@@#*: = *%%@ *= ++ + ****+*++++++++**++++* += += **@@@@@% += = +##*#++*#*####%%%@"
"		++++++++++++++++++ + *%*#@*: += = @@@@# == == == == == == += += += #@ + @@@@ *= +**%@@@@*++++ = += == = += == ++++++++++**++#@@ + @@@######*#***#**#*##*#**"
"		++++++++++++++++++++@@@@@@*#*%@@@%%#***#++++ + #%##*++@@*@@##++++ = @@@@@#++++++ + ***###@###%####*#%##%%@@@@@@%%%####%%%##%#########"
"		++++++++++++++++++++++**@@@@@@@%%%@@@@@@@%%%%#%*##@%@@@@@@@%%%@@@@@@@@@@@@@@@%%%%%#%%%@@%@@@@@%@@@@@@@%%@%%%%%@%%%%@@%%@%%%%%%#"
"		++++++++++++++++++++++++++++++++++++++++++++*++*****++*++++ + *****#**********+*+***++++++++++*+**+**++++ += = ++++++ + **++++++++++++"
"		++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ == += ++++++++++++++++++++++++++++++++++++*++++ + *++*++*++++*++++****+");

printf("\n\n Team Name : 김정빈");
printf("\n Team Member: won joon *2 , haeseong");
printf("\n########################################");
}

void gugu(int num)
{
for (int j = 1; j <= 9; j++)
{
printf("%d*%d = %d\n", num, j, num*j);
}
printf("\n");
}

void calc(){
int random_num = 0;
int count_execute = 0;

srand((unsigned)time(NULL));

printf("\n\n 몇번반복?= ");
scanf("%d", &count_execute);

for (int i = 0; i < count_execute; i++){
random_num = (rand() % 9) + 1;
gugu(random_num);
}
}

```

## final ¶

```#ifndef _header_h_
#include<stdio.h>
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#endif
```

### problem1.c ¶

```#include<stdio.h>
#include "sum.h"
#include "team.h"
int main()
{
int input_num = 0;
print_team();
printf("입력 : ");
scanf("%d", &input_num);
printf("%d", sum(input_num));
return 0;
}
```

### sum.h ¶

```#ifndef _sum_h_
#define _sum_h_
int sum(int n){
if (n == 1){
return 1;
}
return sum(n - 1) + n;
}
#endif
```

### problem2.c ¶

```#include"gugu.h"
#include"team.h"

int main()
{
print_team();
calc();
return 0;
}
```

### gugu.h ¶

```#ifndef _gugu_h_
#define _gugu_h_

void gugu(int num)
{
for (int j = 1; j <= 9; j++)
{
printf("%d*%d = %d\n", num, j, num*j);
}
printf("\n");
}

void calc(){
int random_num = 0;
int count_execute = 0;

srand((unsigned)time(NULL));

printf("\n\n 몇번반복?= ");
scanf("%d", &count_execute);

for (int i = 0; i < count_execute; i++){
random_num = (rand() % 9) + 1;
gugu(random_num);
}
}
#endif
```

### team.h ¶

```#ifndef _team_h_
#define _team_h_
#include <stdio.h>
void print_team(){

printf("Hello World\n");
printf("===========::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::=====:=============="
"		== == == == == ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: == == == == =="
"		== == == == = :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: == =="
"		== == == = :::::::::::::::::::::::::::::::::::::: == ::::::::::::::::::::::::::::::::::::::::. : ++ += ::::::::::::::::::::::::::::::::::"
"		== == = ::::::::::::::::::::::::::..:::::: : = *+*# += = :::::::::::::::::::::::::::::: : = += :: : = +#@@@ *= ++++.:::::::::::::::::::::::::::::"
"	:::::::::::::::::::::::::::: = *%@@@%%#**##++ = ::::::: = +*+: ..::::::::::::::::::::::. : == = +#@%@@#++ + *%*.::::::::::::::::::::::::::::"
"		:::::::::::::::::::::::::: = +@@@@@@@*#%# + :::::::::::::. = #@# += :::: : = : ...:::::::::::::: : . : %* : . .. : +#@ = .:::::::::::::::::::::::::: :"
"		:::::::::::::::::::::::: : = +@@@@@@@@@#:..::::::::::::::... = %@@@%*#@@@%+..........:..:: == == ..:: = *%%*..::::::::::::::::::::::::::"
"		::::::::::::::::::::::::.:: = ++*%%@@:.::::...................%@##%@@@@@@ = .............: == *+: == *%@@@%.:::::::::::::::::::::::::::"
"	:::::::::::::::::::::: : .     . : ++*........................... = @@@@@@@@@@%.........   ...:@**#%%@@@@..::::::::::::::::::::::::::"
"		:::::::::::..............  . : == = ++ + ........................... + @@@@@@@@@%.......        #@%%%@@@@#..:........:::::::::::::::: :"
"		.......................::. : ....:: == : .............................*#%%@@@@%* ....         :@@%%%@@@@:.............:::::::: : .... :"
"		...................... == +. ..:::::: : ............................ .#%@@@@%#:....       .::@@%%%%@@@#..........................."
"		...................... = *# ...:::::::........        ............ : = +#@@@@%# = ..      ..:::@@%%#%%@@@ .........................:"
"	..::.................. + #* .....::.... : ........    ...........:: + **##%@%%%#*:..     ..::::@@%####%@@:......................::::"
"		... : ................... + @ = .....:.......# = ...................:: : **#%@@@@%%%%## .::.  ..:: = :%@%%%%%%@@* .....................::::"
"		::::::............... = %@:......::::....@@# + :........... .. : .. + *%%@@@@@@@%%#%+= ::...:::::*@%%%@%%%@@ .. ......................"
"		:::::::::::.......... = %%@.....:::::.... %@@@@@@% *= ..... = *+: . = *#%@@@@@@@@%###% == :::.:::: : = @@@@@@@@@@ = ......................"
"		::::::::::..........:@%#@::..:::::....... + ::::. : +*++*##%%+. : +*#%%@%@@@@@%#%##%*++:::::::::: + @@@@@@@@@@ ........................"
"		:::::::::...........@@@%@:::::::::::.... += == +####%#%%#@@ += **#%%%%%@@@@@%#%%@%%%# + :::::::::: = @@@@@@@@@#.........::::..........."
"		...................#@@@@*:::::::::::... : *#%%%%###*%%%@@# = *##%%@%%@@@@@@%%%@@@%%%%# + .::::::::@@@@@@@@@@.................."
"		............:..... = @*#%%:::::::::::::. = %@@##%%%@%##%@@#++##%%%@@@@@@@@@@%%%@@@@@%@%%%*:.:::: + @@@@@@@@@@*........:......."
"		..................@ + #.# *= = :::::::::::%@@@@@@@@% += ::.  :+*##%%@@@@@@@@@@@@%%@@@@@@@@@@%@# = :::*@@@@@@@@@@@ ................"
"		..... *+*. *= == ::::::: = : +@@@@@@@%+.         *#%%%%@@@@@@@@@@@@@%@%@@@@@@@@@@@@ %= = %@@@@@@@@@@@:            ......"
"		.@ + .  *: == == :::: == +@@@@@@#.           :#%%%%%@@@@@@@@@@@@%@@*+%%%%@@@@@@@@@*@@@@@@@@@@@@@           ..."
"		*#.   % == == == == == @@@@@%:. : = #%%%%%@@@@@@@@@@@@%@++ = #@@ %= #@@@@@@@@@@@@@@@@@@@@@ +"
"		@ + #:. == == == == : @@@@ + .:::           +##%%%%@@@@@@@@@@@@@ *= +. %@@++ + %@@@@@%@@@@@@@@@@@@@@"
"		.%:    *+: == == == == +# *= :::: : *##%%%@@@@@@@@@@@@@ %= ++   . + : = ++*%@@@@@@@@@@@@@@@@@@*"
"		**    :**. : == == == == == == == ::.           #%%%%@@@@@@@@@@@@@@ = ++.      .++++*@@@@@@@@@@@@@@@@@@"
"		@: *= = . == = += += == == == == = .##%%@@@@@@@@@@@@@@%++ = = ++++*%@@@@@@@@@@%@@@@@"
"		..            :%    . = : . == = ++++ == ++++ = : = ##%@@@@@@@@@@@@@@@ *= +++ + **+#@@@@@@@%%@@@@@@ ="
"		*+== .:: = ++++++++++++            *%%%@%@@@@@@@@@@@@@++.          .**++++*@@@@@@@ = @@@@@@#"
"		@.    *: . : == == ++++ + ****# = *%%%%%%@@@@@@@@@@@% += ****++ = #@@@@@++@@@@@@"
"#     +..::=+++++*******.              #%%%%%@@@@@@@@@@%@++:              :*****+%@@@@#=*@@@@@%"
"		:::::.........:::: : . + :: == ++ + **####**++....:: : ....... : %%%%@@@@@@@@@@@%@ + :+: .:: : ....::...... = *##*+#@@@#**@@@@@@ + ................."
"		++++++++++ == = += == == = +.: = +**####****++ == == == == == == == = : @%%#%@@@@@@@@@@@*:++ : == == == == == == == == == : *#**####*#@@@@@@ %= == = ++ += ++++++++ +"
"		++++ == == == == == == == == +: = +**##*####**++ == == == == == == == == @%*#%@@@@@@@@@@@*+*= == == == == == == == == == == :+#*+#*#*#@@@@@@@ == == ++++++++++++ +"
"		++++ += == ++ == == == == = +*= +*#**#####*** += == == == == == == == = +%@**%%%@@@@@@@@@* += == == == == == == == == == == == :+## + %%@%@@@@@@@# = ++++++++++++++ +"
"		++++++++++++ == == == = **= *#*#######** += == == == == == == == == +%%+*#%%%@@@@@@@@# += == == == == == ++ + *+= +** += = +:+%%#%%%@@@@@@@@++++++++++++++++"
"		++++++++++++++ += == +# = ++*@@@*#%#** *= == == == == == == == == = *% *= *%%%@@@@@@@@@ *= == == == == == = ++ = += == = += == == :+@@%##@@@%@@@@ = ++++++++++++++ +"
"		++++++++++++++++++ = ::*%@@@ == :#@% *= += += = ++++++ == == == +## += %%%@@@@@@@%@% += += == = += == == = ++ += ++++++*++# = #@@#%%@@#*%@@## + *+#********##"
"		++++++++++++++++++ = @%@@@@ += == #@@@ += == == == == == == == == = *%**%%@@#*: = *%%@ *= ++ + ****+*++++++++**++++* += += **@@@@@% += = +##*#++*#*####%%%@"
"		++++++++++++++++++ + *%*#@*: += = @@@@# == == == == == == += += += #@ + @@@@ *= +**%@@@@*++++ = += == = += == ++++++++++**++#@@ + @@@######*#***#**#*##*#**"
"		++++++++++++++++++++@@@@@@*#*%@@@%%#***#++++ + #%##*++@@*@@##++++ = @@@@@#++++++ + ***###@###%####*#%##%%@@@@@@%%%####%%%##%#########"
"		++++++++++++++++++++++**@@@@@@@%%%@@@@@@@%%%%#%*##@%@@@@@@@%%%@@@@@@@@@@@@@@@%%%%%#%%%@@%@@@@@%@@@@@@@%%@%%%%%@%%%%@@%%@%%%%%%#"
"		++++++++++++++++++++++++++++++++++++++++++++*++*****++*++++ + *****#**********+*+***++++++++++*+**+**++++ += = ++++++ + **++++++++++++"
"		++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ == += ++++++++++++++++++++++++++++++++++++*++++ + *++*++*++++*++++****+");

printf("\n\n Team Name : 김정빈");
printf("\n Team Member: won joon *2 , haeseong");
printf("\n########################################");
}
#endif
```