CodeRace/2015.5.15/김정빈 (rev. 1.5)
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);
}
}