planet.cpp: In function 'int main()':
planet.cpp:94:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &K);
~~~~~^~~~~~~~~~~~~~~~
planet.cpp:96:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &D[i].first, &D[i].second);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
grader.c: In function 'void count_increment(const char*)':
grader.c:74:103: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'int' [-Wformat=]
printf("Incorrect\ncount_%s()를 %d회보다 많이 호출했습니다.\n", limit_count_calls, func);
^
grader.c:74:103: warning: format '%d' expects argument of type 'int', but argument 3 has type 'const char*' [-Wformat=]
grader.c: In function 'int main()':
grader.c:146:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &seed, &range);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/tmp/ccHAypSk.o: In function `main':
grader.c:(.text.startup+0x0): multiple definition of `main'
/tmp/ccgeZY0X.o:planet.cpp:(.text.startup+0x0): first defined here
/tmp/ccHAypSk.o: In function `main':
grader.c:(.text.startup+0x1a1): undefined reference to `ainta()'
grader.c:(.text.startup+0x1b0): undefined reference to `sangsoo()'
collect2: error: ld returned 1 exit status