:: ADVANCE ::
dovelet 9 단계 재귀 x의 y 거듭 제곱 (powerofx) http://59.23.113.171/30stair/powerofx/powerofx.php?pname=powerofx 1234567891011121314151617#include int square(int n, int m){ if (m == 1) return n; return n * square(n, m - 1);} int main(void){ int n, m; scanf("%d %d", &n, &m); printf("%d\n", square(n, m)); return 0;}cs 으아아아재귀야 오랜만이다오랜만이라 감을 잃었다...큰일이로다ㅠㅠ
173일차 1 top coci_filip http://183.106.113.109/pool/coci_filip/coci_filip.php?pname=coci_filip 1234567891011121314151617181920212223242526272829303132333435#include int main(void){ char input_num[2][4] = { 0, }, temp; int i, j = 0; for (j = 0; j input_num[1][i]) { for (j = 2; j >= 0; j--) { printf("%c", input_num[0][j]); } return 0; } else if (input_num[0][i] == input_num[1][i]) { continue; } els..
dovelet 옥상 평균값 수열 (coci_prosjek) http://59.23.113.171/pool/coci_prosjek/coci_prosjek.php?pname=coci_prosjek 123456789101112131415161718192021#include int main(void){ int n; int in[2] = { 0, }; int output[110] = { 0, }; scanf("%d", &n); for (int i = 0; i