메뉴 건너뛰기

결과 (전체)

00a55 입력되는 숫자 1의 개수 구하기 (마지막 숫자는 0) / 신재은

시간메모리제출올바른 답비율
1초64MB1433463
32.3%
이번 횟수이번 판정시도한 사람성공한 사람비율
2 컴파일 오류 474406
85.7%
컴파일 결과
In function 'main':
5:12: warning: right-hand operand of comma expression has no effect [-Wunused-value]
5:23: error: expected ';' before ')' token
5:23: error: expected expression before ')' token
7:9: warning: implicit declaration of function 'scnaf' [-Wimplicit-function-declaration]
8:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
10:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Wformat=]
16:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Wformat=]
소스 정적 분석 결과
10: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'signed int *'.
16: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'signed int *'.
위로