/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:91:35: warning: iteration 1004 invokes undefined behavior [-Waggressive-loop-optimizations]
  for(int i = 1;i <= N;i ++) fa[i] = i;
                             ~~~~~~^~~
/in/foo.cc:91:18: note: within this loop
  for(int i = 1;i <= N;i ++) fa[i] = i;
                ~~^~~~
/in/foo.cc:90:37: warning: iteration 1004 invokes undefined behavior [-Waggressive-loop-optimizations]
  for(int i = 1;i <= N;i ++) head[i] = -1;
                             ~~~~~~~~^~~~
/in/foo.cc:90:18: note: within this loop
  for(int i = 1;i <= N;i ++) head[i] = -1;
                ~~^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 376.0 KiB
#2 Accepted 2ms 340.0 KiB
#3 Wrong Answer 1ms 360.0 KiB
#4 Accepted 14ms 2.637 MiB
#5 Accepted 34ms 4.711 MiB
#6 Accepted 117ms 1.812 MiB
#7 Accepted 27ms 1.598 MiB

信息

递交者
类型
递交
题目
P1053 Easy sssp
语言
C++
递交时间
2023-07-04 10:18:33
评测时间
2023-07-04 10:18:33
评测机
分数
85
总耗时
199ms
峰值内存
4.711 MiB