메뉴 건너뛰기

결과 (전체)

00a21 사칙연산 (피연산자 연산자 피연산자) / 윤서진

시간메모리제출올바른 답비율
1초64MB42761257
29.4%
이번 횟수이번 판정시도한 사람성공한 사람비율
3 컴파일 오류 12061055
87.5%
컴파일 결과
2:1: warning: return type defaults to 'int' [-Wimplicit-int]
In function 'main':
7:26: error: lvalue required as left operand of assignment
9:26: error: lvalue required as left operand of assignment
11:24: error: invalid operands to binary * (have 'int *' and 'int')
13:24: error: invalid operands to binary / (have 'int *' and 'int')
5:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
소스 정적 분석 결과
7: (portability) Assigning an integer to a pointer is not portable.
9: (portability) Assigning an integer to a pointer is not portable.
11: (portability) Assigning an integer to a pointer is not portable.
13: (portability) Assigning an integer to a pointer is not portable.
7: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'signed int *'.
9: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'signed int *'.
11: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'signed int *'.
13: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'signed int *'.
위로