메뉴 건너뛰기

결과 (전체)

00a01 가로 세로를 1개 라인으로 입력받아 사각형의 넓이 구하기 / 3311윤시현

시간메모리제출올바른 답비율
1초64MB58152794
48.0%
이번 횟수이번 판정시도한 사람성공한 사람비율
12 정상 실행 22892163
94.5%
판정 세부 내용
케이스 # 소요시간 메모리 판정
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]
In function 'int main()':
5:11: error: expected primary-expression before '%' token
5:12: error: 'd' was not declared in this scope
6:16: warning: format '%d' expects a matching 'int' argument [-Wformat=]
7:5: error: expected ';' before 'return'
In function 'int main()':
7:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
In function 'int main()':
19:31: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10]' [-Wformat=]
15:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
19:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
24:43: warning: 'jew' may be used uninitialized in this function [-Wmaybe-uninitialized]
23:44: warning: 'pai' may be used uninitialized in this function [-Wmaybe-uninitialized]
20:20: warning: 'all' may be used uninitialized in this function [-Wmaybe-uninitialized]
In function 'int main()':
19:31: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10]' [-Wformat=]
15:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
19:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
In function 'main':
6:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
6:11: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
6:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
6:5: warning: 'a' is used uninitialized in this function [-Wuninitialized]
6:5: warning: 'b' is used uninitialized in this function [-Wuninitialized]
소스 정적 분석 결과
6: (warning) %d in format string (no. 1) requires 'int *' but the argument type is 'signed int'.
6: (warning) %d in format string (no. 2) requires 'int *' but the argument type is 'signed int'.
위로