/ Vijos /

记录详情

Wrong Answer

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

信息

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