실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:10:19: warning: implicit declaration of function ‘itoa’ [-Wimplicit-function-declaration] 10 | if(strstr(itoa(j,c,10),"666")){ | ^~~~ Main.c:10:19: warning: passing argument 1 of ‘strstr’ makes pointer from integer without a cast [-Wint-conversion] 10 | if(strstr(itoa(j,c,10),"666")){ | ^~~~~~~~~~~~ | | | int In file included from Main.c:3: /usr/include/string.h:350:34: note: expected ‘const char *’ but argument is of type ‘int’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ Main.c:8:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | scanf("%d",&t); | ^~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccdJNltG.o: in function `main': Main.c:(.text.startup+0x6c): undefined reference to `itoa' collect2: error: ld returned 1 exit status
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.