/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:36:38: warning: iteration 29999 invokes undefined behavior [-Waggressive-loop-optimizations]
   36 |     for(int i = 1;i <= N;i ++) fa[i] = i,cnt[i] = 1;
      |                                ~~~~~~^~~
foo.cc:36:21: note: within this loop
   36 |     for(int i = 1;i <= N;i ++) fa[i] = i,cnt[i] = 1;
      |                   ~~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 0. 41ms 628.0 KiB
#2 Wrong Answer Read 1, expect 0. 41ms 640.0 KiB
#3 Wrong Answer Read 58, expect 7. 48ms 640.0 KiB
#4 Wrong Answer Read 0, expect 18. 72ms 512.0 KiB
#5 Wrong Answer Read 1, expect 0. 86ms 768.0 KiB
#6 Wrong Answer Read 0, expect 26195. 107ms 768.0 KiB
#7 Wrong Answer 24180a24181,170001 > -1 > -1 63ms 640.0 KiB
#8 Wrong Answer 23408a23409,170001 > -1 > -1 80ms 768.0 KiB
#9 Wrong Answer Read 1, expect 0. 118ms 768.0 KiB
#10 Wrong Answer 29802a29803,470001 > -1 > -1 94ms 640.0 KiB

信息

递交者
类型
递交
题目
P1443 银河英雄传说
语言
C++
递交时间
2022-02-07 18:48:24
评测时间
2022-02-07 18:48:24
评测机
分数
0
总耗时
754ms
峰值内存
768.0 KiB