실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:84:19: warning: implicit declaration of function ‘strtok_s’; did you mean ‘strtok_r’? [-Wimplicit-function-declaration] 84 | char* token = strtok_s(input, ".", &context); // strtok_s 사용 | ^~~~~~~~ | strtok_r Main.c:84:19: warning: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] Main.c:88:15: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 88 | token = strtok_s(NULL, ".", &context); // 다음 문장 찾기 | ^ Main.c:78:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 78 | fgets(input, MAX_SIZE, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccSSoxdW.o: in function `main': Main.c:(.text.startup+0x78): undefined reference to `strtok_s' /usr/bin/ld: Main.c:(.text.startup+0xb4): undefined reference to `strtok_s' collect2: error: ld returned 1 exit status
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.