메뉴 건너뛰기

결과 (전체)

00a23 정수 2개를 1개 라인으로 입력받아 뺄셈하기 / 20715

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

컴파일 결과
In function 'int main()':
19:27: warning: format '%d' expects a matching 'int*' argument [-Wformat=]
12:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
15:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
19:28: 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]
8:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
In function 'int main()':
10:23: warning: array subscript is above array bounds [-Warray-bounds]
1:2: error: invalid preprocessing directive #inciude
In function 'main':
6:5: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
6:5: warning: incompatible implicit declaration of built-in function 'scanf'
6:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
6:5: error: too few arguments to function 'scanf'
7:1: error: expected ';' before '}' token
5:12: warning: unused variable 'b' [-Wunused-variable]
5:9: warning: unused variable 'a' [-Wunused-variable]
In function 'main':
7:5: error: too few arguments to function 'printf'
8:1: error: expected ';' before '}' token
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]
In function 'main':
6:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
In function 'main':
5:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
1:2: error: invalid preprocessing directive #inculde
In function 'main':
6:5: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
6:5: warning: incompatible implicit declaration of built-in function 'scanf'
6:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
7:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
7:5: warning: incompatible implicit declaration of built-in function 'printf'
7:5: note: include '<stdio.h>' or provide a declaration of 'printf'
7:12: warning: too many arguments for format [-Wformat-extra-args]
In function 'main':
4:9: warning: unused variable 'a' [-Wunused-variable]
In function 'main':
5:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
In function 'main':
5:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
소스 정적 분석 결과
이상 없음
위로