100 Accepted
foo.cc: In function 'int main()': foo.cc:57:60: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] 57 | if (beg[i]) beg[i] = tmp, flg = false; | ~~~~~~~^~~~~ foo.cc:53:37: note: 'tmp' was declared here 53 | int tmp; | ^~~ foo.cc:124:60: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] 124 | if (beg[i]) beg[i] = tmp, flg = false; | ~~~~~~~^~~~~ foo.cc:120:37: note: 'tmp' was declared here 120 | int tmp; | ^~~
# | 状态 分数 | 耗时 | 内存占用 |
---|
#1 | Accepted 5 | 19ms | 1.6 MiB |
#2 | Accepted 5 | 19ms | 1.5 MiB |
#3 | Accepted 5 | 19ms | 1.5 MiB |
#4 | Accepted 5 | 18ms | 1.5 MiB |
#5 | Accepted 5 | 21ms | 1.5 MiB |
#6 | Accepted 5 | 21ms | 1.5 MiB |
#7 | Accepted 5 | 276ms | 1.9 MiB |
#8 | Accepted 5 | 316ms | 1.9 MiB |
#9 | Accepted 5 | 22ms | 1.5 MiB |
#10 | Accepted 5 | 22ms | 1.5 MiB |
#11 | Accepted 5 | 388ms | 1.9 MiB |
#12 | Accepted 5 | 378ms | 1.9 MiB |
#13 | Accepted 5 | 21ms | 1.7 MiB |
#14 | Accepted 5 | 21ms | 1.5 MiB |
#15 | Accepted 5 | 258ms | 1.8 MiB |
#16 | Accepted 5 | 235ms | 1.9 MiB |
#17 | Accepted 5 | 21ms | 1.6 MiB |
#18 | Accepted 5 | 21ms | 1.5 MiB |
#19 | Accepted 5 | 403ms | 1.9 MiB |
#20 | Accepted 5 | 371ms | 1.9 MiB |
代码
信息
- 递交者
- 题目
- NOIP2024AGF NOIP2024AGF
- 比赛
- 【官方数据 SC】 NOIP2024 批量测试
- 语言
- C++ 14(O2)
- 代码长度
- 2.9 KiB
- 递交时间
- 2024-12-6 17:36:36
- 评测时间
- 2024-12-6 17:36:44
- 分数
- 100
- 总耗时
- 2870ms
- 峰值时间
- 403ms
- 峰值内存
- 1.9 MiB