00a74 임수의 갯수로 입력되는 정수의 합 구하기 (마지막 숫자는 -1) / 심형준 | |||||||||||||||||||||||
|
판정 세부 내용 |
---|
케이스 # | 소요시간 | 메모리 | 판정 | |
001 | 1ms | 1088kB | OK | |
컴파일 결과 |
---|
2:1: warning: return type defaults to 'int' [-Wimplicit-int] | |
In function 'main': | |
5:10: warning: passing argument 1 of 'gets' from incompatible pointer type [-Wincompatible-pointer-types] | |
934:0, | |
1: | |
226:1: note: expected 'char *' but argument is of type 'int *' | |
6:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Wformat=] | |
5:5: warning: ignoring return value of 'gets', declared with attribute warn_unused_result [-Wunused-result] | |
In function `main': | |
(.text.startup+0x10): warning: the `gets' function is dangerous and should not be used. | |
소스 정적 분석 결과 |
---|
6: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'int *'. | |
5: (warning) Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. |