Time Exceeded
foo.cc: In function ‘void asd(int, int)’: foo.cc:19:20: warning: array subscript 100005 is above array bounds of ‘int [100005]’ [-Warray-bounds=] 19 | sum+=c[maxn]; | ~~~~~~^ foo.cc:6:17: note: while referencing ‘c’ 6 | int sum=0,mid=0,c[maxn]; | ^ foo.cc:16:28: warning: array subscript 100005 is above array bounds of ‘int [100005]’ [-Warray-bounds=] 16 | a[i]=c[maxn]; | ~~~~~~^ foo.cc:6:17: note: while referencing ‘c’ 6 | int sum=0,mid=0,c[maxn]; | ^
信息
- 递交者
- 类型
- 递交
- 题目
- 1# 铺设道路(长郡数据)
- 比赛
- 2018-2019年上学期信息学奥赛期末测试
- 题目数据
- 下载
- 语言
- C++
- 递交时间
- 2019-01-03 21:03:55
- 评测时间
- 2025-09-23 07:23:06
- 评测机
- 分数
- 0
- 总耗时
- ≥3624ms
- 峰值内存
- ≥1.312 MiB