40 Wrong Answer
foo.cc: In function 'void solve3()': foo.cc:45:9: warning: 'pos1' may be used uninitialized [-Wmaybe-uninitialized] 45 | if(pos1>pos2){ | ^~ foo.cc:30:13: note: 'pos1' was declared here 30 | int pos1,pos2,cnt1=0,cnt2=0,c1=0,c2=0,flag1=0,flag2=0; | ^~~~ foo.cc:45:9: warning: 'pos2' may be used uninitialized [-Wmaybe-uninitialized] 45 | if(pos1>pos2){ | ^~ foo.cc:30:18: note: 'pos2' was declared here 30 | int pos1,pos2,cnt1=0,cnt2=0,c1=0,c2=0,flag1=0,flag2=0; | ^~~~
# | 状态 分数 | 耗时 | 内存占用 |
---|
#1 | Wrong Answer 0 | 1ms | 324 KiB |
#2 | Wrong Answer 0 | 1ms | 400 KiB |
#3 | Wrong Answer 0 | 1ms | 408 KiB |
#4 | Wrong Answer 0 | 2ms | 404 KiB |
#5 | Accepted 5 | 2ms | 404 KiB |
#6 | Accepted 5 | 2ms | 508 KiB |
#7 | Accepted 5 | 53ms | 916 KiB |
#8 | Accepted 5 | 56ms | 916 KiB |
#9 | Accepted 5 | 2ms | 404 KiB |
#10 | Accepted 5 | 2ms | 320 KiB |
#11 | Accepted 5 | 50ms | 916 KiB |
#12 | Accepted 5 | 51ms | 920 KiB |
#13 | Wrong Answer 0 | 2ms | 404 KiB |
#14 | Wrong Answer 0 | 2ms | 404 KiB |
#15 | Wrong Answer 0 | 52ms | 968 KiB |
#16 | Wrong Answer 0 | 49ms | 916 KiB |
#17 | Wrong Answer 0 | 2ms | 404 KiB |
#18 | Wrong Answer 0 | 2ms | 404 KiB |
#19 | Wrong Answer 0 | 50ms | 960 KiB |
#20 | Wrong Answer 0 | 50ms | 964 KiB |
代码
信息
- 递交者
- 题目
- NOIP2024AGF NOIP2024AGF
- 比赛
- 【官方数据 JS】 NOIP2024 批量测试
- 语言
- C++ 14(O2)
- 代码长度
- 2.5 KiB
- 递交时间
- 2024-12-6 17:46:14
- 评测时间
- 2024-12-6 17:46:16
- 分数
- 40
- 总耗时
- 433ms
- 峰值时间
- 56ms
- 峰值内存
- 968 KiB