25 Wrong Answer
foo.cc: In function 'void solve()': foo.cc:66:14: warning: variable 'flag' set but not used [-Wunused-but-set-variable] 66 | bool flag = false; | ^~~~ foo.cc: In function 'int main()': foo.cc:121:37: warning: unused variable 'ans' [-Wunused-variable] 121 | int r0 = 0, r1 = 0, ans = 0; | ^~~ foo.cc: In function 'void solve()': foo.cc:75:41: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] 75 | for(int j = 1, l = 1; j <= k; j++){//j -> top l -> cnt | ~~^~~~ foo.cc:69:13: note: 'k' was declared here 69 | int k; | ^
# | 状态 分数 | 耗时 | 内存占用 |
---|
#1 | Wrong Answer 0 | 1ms | 404 KiB |
#2 | Wrong Answer 0 | 1ms | 320 KiB |
#3 | Wrong Answer 0 | 1ms | 404 KiB |
#4 | Wrong Answer 0 | 1ms | 404 KiB |
#5 | Accepted 5 | 2ms | 404 KiB |
#6 | Accepted 5 | 2ms | 404 KiB |
#7 | Accepted 5 | 45ms | 700 KiB |
#8 | Accepted 5 | 46ms | 788 KiB |
#9 | Accepted 5 | 2ms | 404 KiB |
#10 | Wrong Answer 0 | 2ms | 452 KiB |
#11 | Wrong Answer 0 | 53ms | 904 KiB |
#12 | Wrong Answer 0 | 53ms | 832 KiB |
#13 | Wrong Answer 0 | 2ms | 404 KiB |
#14 | Wrong Answer 0 | 2ms | 404 KiB |
#15 | Wrong Answer 0 | 47ms | 788 KiB |
#16 | Wrong Answer 0 | 47ms | 788 KiB |
#17 | Wrong Answer 0 | 2ms | 320 KiB |
#18 | Wrong Answer 0 | 2ms | 404 KiB |
#19 | Wrong Answer 0 | 47ms | 788 KiB |
#20 | Wrong Answer 0 | 47ms | 788 KiB |
代码
信息
- 递交者
- 题目
- NOIP2024AGF NOIP2024AGF
- 比赛
- 【官方数据 SC】 NOIP2024 批量测试
- 语言
- C++ 14(O2)
- 代码长度
- 2.8 KiB
- 递交时间
- 2024-12-6 17:38:53
- 评测时间
- 2024-12-6 17:38:56
- 分数
- 25
- 总耗时
- 403ms
- 峰值时间
- 53ms
- 峰值内存
- 904 KiB