실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:23:38: error: invalid suffix "s" on integer constant 23 | }if (ret.hour >= 24) ret.hour -= 24s; | ^~~ Main.c:10:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 10 | scanf("%d:%d:%d", ¤t.hour, ¤t.min, ¤t.sec); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Main.c:11:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 11 | scanf("%d:%d:%d", &goal.hour, &goal.min, &goal.sec); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.