실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:9:25: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long long int *’ [-Wformat=] 9 | scanf("%d",&a); | ~^ ~~ | | | | | long long int * | int * | %lld Main.c:13:11: error: expected expression before ‘int’ 13 | x=int(round(n*0.15)); | ^~~ Main.c:40:21: error: expected expression before ‘int’ 40 | printf("%d",int(round(float(m)/float(n-2*x)))); | ^~~ Main.c:7:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7 | scanf("%lld",&n); | ^~~~~~~~~~~~~~~~ Main.c:9:17: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 9 | scanf("%d",&a); | ^~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.