Accepted
foo.cc: In function ‘int isprime(int)’: foo.cc:13:9: warning: ‘k’ may be used uninitialized [-Wmaybe-uninitialized] 13 | if(k==n) return 1; | ^~ foo.cc:5:13: note: ‘k’ was declared here 5 | int k; | ^ In function ‘int isprime(int)’, inlined from ‘int main()’ at foo.cc:24:14: foo.cc:13:9: warning: ‘k’ may be used uninitialized [-Wmaybe-uninitialized] 13 | if(k==n) return 1; | ^~ foo.cc: In function ‘int main()’: foo.cc:5:13: note: ‘k’ was declared here 5 | int k; | ^
信息
- 递交者
- 类型
- 递交
- 比赛
- 2024程序设计与竞赛作业赛第一场(喜相逢)
- 语言
- C++
- 递交时间
- 2024-09-26 22:38:01
- 评测时间
- 2024-09-26 22:38:01
- 评测机
- 分数
- 100
- 总耗时
- 278ms
- 峰值内存
- 560.0 KiB