실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:9:9: warning: ‘gets’ is deprecated [-Wdeprecated-declarations] 9 | gets(s, 100000); | ^~~~ In file included from /usr/include/stdio.h:894, from Main.c:2: /usr/include/aarch64-linux-gnu/bits/stdio2.h:240:1: note: declared here 240 | gets (char *__str) | ^~~~ Main.c:9:9: error: too many arguments to function ‘gets’ 9 | gets(s, 100000); | ^~~~ In file included from /usr/include/stdio.h:894, from Main.c:2: /usr/include/aarch64-linux-gnu/bits/stdio2.h:240:1: note: declared here 240 | gets (char *__str) | ^~~~ Main.c:18:17: warning: implicit declaration of function ‘gets_s’; did you mean ‘gets’? [-Wimplicit-function-declaration] 18 | gets_s(order, 4); | ^~~~~~ | gets Main.c:9:9: warning: ignoring return value of ‘gets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 9 | gets(s, 100000); | ^~~~~~~~~~~~~~~ Main.c:11:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 11 | scanf("%d", &m); | ^~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.