/ Vijos /

记录详情

Wrong Answer

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 10ms 4.152 MiB
#2 Accepted 10ms 4.152 MiB
#3 Accepted 10ms 4.199 MiB
#4 Accepted 9ms 4.195 MiB
#5 Accepted 10ms 4.152 MiB
#6 Wrong Answer Read 198, expect 4950. 10ms 4.152 MiB
#7 Accepted 21ms 4.449 MiB
#8 Accepted 10ms 4.152 MiB
#9 Accepted 13ms 4.277 MiB
#10 Wrong Answer Read 754, expect 4501. 12ms 4.277 MiB

信息

递交者
类型
递交
题目
P1112 小胖的奇偶
语言
C++
递交时间
2023-06-08 14:11:03
评测时间
2023-06-08 14:11:03
评测机
分数
80
总耗时
120ms
峰值内存
4.449 MiB