실행 실패 (제출 코드 컴파일 에러)
Main.c:17:17: note: ‘#pragma message: Info: Compiling with C11 support. Using _Generic for the best type-generic fucnction.’ 17 | #pragma message("Info: Compiling with C11 support. Using _Generic for the best type-generic fucnction.") | ^~~~~~~ Main.c: In function ‘solve’: Main.c:221:35: warning: implicit declaration of function ‘swap’ [-Wimplicit-function-declaration] 221 | if(arr1[i].x > arr1[i].y) swap(arr1[i].x, arr1[i].y); | ^~~~ Main.c:215:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 215 | scanf("%lld", &n); | ^~~~~~~~~~~~~~~~~ Main.c:220:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 220 | scanf("%lld %lld", &(arr1[i].x), &(arr1[i].y)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Main.c:223:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 223 | scanf("%lld", &d); | ^~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/cco1co7F.o: in function `solve': Main.c:(.text+0x304): undefined reference to `swap' collect2: error: ld returned 1 exit status
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.