Wrong Answer
/in/foo.c: In function 'noco': /in/foo.c:21:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;j<num;i=i+2) ^~~ /in/foo.c:23:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return num; ^~~~~~ /in/foo.c:17:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k,num; ^ /in/foo.c:18:25: warning: 'num' is used uninitialized in this function [-Wuninitialized] for(i=1;n*n*n==(2*i+num-1)*num/2;i++) ~~~~~~~~^~~
信息
- 递交者
- 类型
- 递交
- 题目
- 3-2 编程题
- 语言
- C
- 递交时间
- 2019-10-19 13:12:50
- 评测时间
- 2019-10-19 13:12:50
- 评测机
- 分数
- 0
- 总耗时
- 4ms
- 峰值内存
- 212.0 KiB