Compile Error
/in/foo.cc: In function 'void dfs(int, int)': /in/foo.cc:11:29: error: 'memset' was not declared in this scope memset(d,10000,sizeof(d)); ^ /in/foo.cc:21:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(d[i]>n) break;sum=max(sum,i); ^~ /in/foo.cc:21:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(d[i]>n) break;sum=max(sum,i); ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1179 邮票面值设计
- 语言
- C++
- 递交时间
- 2019-12-10 08:13:50
- 评测时间
- 2019-12-10 08:13:50
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes