메뉴 건너뛰기

결과 (전체)

00a52 정수 2개를 라인 단위로 입력받아 덧셈하기 / 윤서진

시간메모리제출올바른 답비율
1초64MB51301415
27.6%
이번 횟수이번 판정시도한 사람성공한 사람비율
4 컴파일 오류 13341200
90.0%
컴파일 결과
In function 'main':
7:11: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int *' [-Wformat=]
8:19: error: expected ')' before 'a'
8:12: warning: format '%d' expects a matching 'int' argument [-Wformat=]
8:12: warning: format '%s' expects a matching 'char *' argument [-Wformat=]
6:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
7:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
소스 정적 분석 결과
7: (warning) %s in format string (no. 1) requires a 'char *' but the argument type is 'signed int *'.
7: (warning) scanf() without field width limits can crash with huge input data.
위로