메뉴 건너뛰기

결과 (전체)

00a27 Hello KOI를 주어진 정수 N회 출력하기 /

시간메모리제출올바른 답비율
1초64MB44541347
30.2%
이번 횟수이번 판정시도한 사람성공한 사람비율
2 정상 실행 11811116
94.5%
판정 세부 내용
케이스 # 소요시간 메모리 판정
0011ms1088kBOK

컴파일 결과
In function 'main':
7:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
In function 'main':
14:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
In function 'int main()':
15:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
In function 'int main()':
15:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
In function 'main':
15:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
In function 'int main()':
8:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
In function 'int main()':
5:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
In function 'int main()':
5:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
In function 'main':
6:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
In function 'main':
6:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
2:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
In function 'int main()':
6:9: error: expected primary-expression before ')' token
6:9: error: expected primary-expression at end of input
6:9: error: expected ';' at end of input
6:9: error: expected primary-expression at end of input
6:9: error: expected ')' at end of input
6:9: error: expected statement at end of input
4:11: warning: unused variable 'b' [-Wunused-variable]
6:9: error: expected '}' at end of input
5:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
In function 'int main()':
5:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
7:14: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
In function 'main':
5:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
2:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
In function 'int main()':
5:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
2:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
In function 'int main()':
7:29: warning: too many arguments for format [-Wformat-extra-args]
5:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
소스 정적 분석 결과
2: (error) syntax error
위로