= 일등 = == Code Race == {{{ 1번문제 #include 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 #include #include #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 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 }}}