메뉴 건너뛰기

결과 (전체)

00a90 1부터 N까지의 합계 구하기 (재귀, 수식 사용) / jingba

시간메모리제출올바른 답비율
1초64MB1084293
27.0%
이번 횟수이번 판정시도한 사람성공한 사람비율
4 컴파일 오류 298280
94.0%
컴파일 결과
In function 'void re(int)':
10:22: error: invalid operands of types 'int' and 'void' to binary 'operator+'
10:22: error: return-statement with a value, in function returning 'void' [-fpermissive]
In function 'int main()':
15:22: error: invalid use of void expression
14:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
소스 정적 분석 결과
15: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'void'.
위로