실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:27:23: warning: the omitted middle operand in ‘?:’ will always be ‘true’, suggest explicit middle operand [-Wparentheses] 27 | ans = (t1<t2)?:t1:t2; | ^ Main.c:27:26: error: expected ‘;’ before ‘:’ token 27 | ans = (t1<t2)?:t1:t2; | ^ | ; Main.c:8:21: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | int x, y, d, t; scanf("%d %d %d %d", &x, &y, &d, &t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.