메뉴 건너뛰기

결과 (전체)

00a21 사칙연산 (피연산자 연산자 피연산자) / 박수진

시간메모리제출올바른 답비율
1초64MB42791258
29.4%
이번 횟수이번 판정시도한 사람성공한 사람비율
2 컴파일 오류 12071056
87.5%
컴파일 결과
In function 'main':
6:30: error: 'C' undeclared (first use in this function)
6:30: note: each undeclared identifier is reported only once for each function it appears in
7:9: warning: comparison between pointer and integer
7:9: warning: comparison with string literal results in unspecified behavior [-Waddress]
8:21: error: expected ')' before 'a'
8:16: warning: format '%d' expects a matching 'int' argument [-Wformat=]
9:14: warning: comparison between pointer and integer
9:14: warning: comparison with string literal results in unspecified behavior [-Waddress]
11:14: warning: comparison between pointer and integer
11:14: warning: comparison with string literal results in unspecified behavior [-Waddress]
소스 정적 분석 결과
7: (warning) String literal compared with variable 'c'. Did you intend to use strcmp() instead?
9: (warning) String literal compared with variable 'c'. Did you intend to use strcmp() instead?
11: (warning) String literal compared with variable 'c'. Did you intend to use strcmp() instead?
5: (style) Variable 'c' is not assigned a value.
7: (error) Uninitialized variable: c
위로