/ 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 11ms 4.152 MiB
#2 Accepted 10ms 4.168 MiB
#3 Accepted 10ms 4.152 MiB
#4 Accepted 10ms 4.195 MiB
#5 Accepted 10ms 4.148 MiB
#6 Wrong Answer Read 100, expect 4950. 9ms 4.195 MiB
#7 Accepted 20ms 4.402 MiB
#8 Accepted 9ms 4.152 MiB
#9 Accepted 14ms 4.277 MiB
#10 Wrong Answer Read 796, expect 4501. 12ms 4.277 MiB

信息

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