메뉴 건너뛰기

결과 (전체)

00a46 공백있는 1개의 문자열을 N개 라인에 걸쳐 출력하기 / 관리자

시간메모리제출올바른 답비율
1초64MB1345388
28.8%
이번 횟수이번 판정시도한 사람성공한 사람비율
18 컴파일 오류 375309
82.4%
컴파일 결과
In function 'int main()':
8:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
15:21: warning: comparison with string literal results in unspecified behaviour [-Waddress]
15:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
19:26: warning: comparison with string literal results in unspecified behaviour [-Waddress]
19:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
7:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
8:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
9:12: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result [-Wunused-result]
소스 정적 분석 결과
19: (style) Condition 'p[i]==" "' is always true
8: (warning) %d in format string (no. 1) requires 'int *' but the argument type is 'signed int'.
9: (warning) Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead.
위로