/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:36:43: warning: iteration 1000004 invokes undefined behavior [-Waggressive-loop-optimizations]
   36 |     for (int i = 1;i <= MAX;i++)father[i] = i;
      |                                 ~~~~~~~~~~^~~
foo.cc:36:22: note: within this loop
   36 |     for (int i = 1;i <= MAX;i++)father[i] = i;
      |                      ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 9ms 4.152 MiB
#2 Accepted 10ms 4.152 MiB
#3 Accepted 10ms 4.195 MiB
#4 Accepted 9ms 4.227 MiB
#5 Accepted 9ms 4.152 MiB
#6 Accepted 18ms 4.293 MiB
#7 Accepted 19ms 4.398 MiB
#8 Accepted 10ms 4.152 MiB
#9 Accepted 13ms 4.277 MiB
#10 Accepted 22ms 4.285 MiB

信息

递交者
类型
递交
题目
P1112 小胖的奇偶
语言
C++
递交时间
2023-06-08 14:12:02
评测时间
2023-06-08 14:12:02
评测机
分数
100
总耗时
134ms
峰值内存
4.398 MiB