0 Memory Exceeded
foo.cc: In function 'bool Check()': foo.cc:17:45: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds=] 17 | if(A[i+1]!=Func[i][2] && A[i+1]!=0) return false; | ~~~~~~~~~^ foo.cc:12:5: note: while referencing 'Func' 12 | int Func[10000000][2]; | ^~~~ foo.cc: In function 'void dfs(int)': foo.cc:29:37: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds=] 29 | Func[step][2]=j; | ~~~~~~~~~~~~^ foo.cc:12:5: note: while referencing 'Func' 12 | int Func[10000000][2]; | ^~~~
# | 状态 分数 | 耗时 | 内存占用 |
---|
#1 | Wrong Answer 0 | 1ms | 404 KiB |
#2 | Wrong Answer 0 | 1ms | 404 KiB |
#3 | Wrong Answer 0 | 8ms | 404 KiB |
#4 | Wrong Answer 0 | 541ms | 404 KiB |
#5 | Wrong Answer 0 | 853ms | 404 KiB |
#6 | Time Exceeded 0 | ≥1101ms | ≥408 KiB |
#7 | Time Exceeded 0 | ≥1001ms | ≥6.1 MiB |
#8 | Memory Exceeded 0 | ≥295ms | ≥512 MiB |
#9 | Memory Exceeded 0 | ≥291ms | ≥512 MiB |
#10 | Time Exceeded 0 | ≥1101ms | ≥404 KiB |
#11 | Time Exceeded 0 | ≥1101ms | ≥1.1 MiB |
#12 | Time Exceeded 0 | ≥1001ms | ≥10 MiB |
#13 | Time Exceeded 0 | ≥1101ms | ≥1 MiB |
#14 | Time Exceeded 0 | ≥1103ms | ≥28.4 MiB |
#15 | Memory Exceeded 0 | ≥330ms | ≥512 MiB |
#16 | Memory Exceeded 0 | ≥294ms | ≥512 MiB |
#17 | Time Exceeded 0 | ≥1101ms | ≥1.1 MiB |
#18 | Time Exceeded 0 | ≥1103ms | ≥36.6 MiB |
#19 | Memory Exceeded 0 | ≥299ms | ≥512 MiB |
#20 | Memory Exceeded 0 | ≥293ms | ≥512 MiB |
代码
信息
- 递交者
- 题目
- NOIP2024BGF NOIP2024BGF
- 比赛
- 【官方数据 HL】 NOIP2024 批量测试
- 语言
- C++ 14(O2)
- 代码长度
- 953 Bytes
- 递交时间
- 2024-12-6 20:10:41
- 评测时间
- 2024-12-6 20:10:59
- 分数
- 0
- 总耗时
- ≥12921ms
- 峰值时间
- ≥1103ms
- 峰值内存
- ≥512 MiB