/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:65:35: warning: iteration 1004 invokes undefined behavior [-Waggressive-loop-optimizations]
  for(int i = 1;i <= N;i ++) fa[i] = i;
                             ~~~~~~^~~
/in/foo.cc:65:18: note: within this loop
  for(int i = 1;i <= N;i ++) fa[i] = i;
                ~~^~~~
/in/foo.cc:64:37: warning: iteration 1004 invokes undefined behavior [-Waggressive-loop-optimizations]
  for(int i = 1;i <= N;i ++) head[i] = -1;
                             ~~~~~~~~^~~~
/in/foo.cc:64:18: note: within this loop
  for(int i = 1;i <= N;i ++) head[i] = -1;
                ~~^~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 352.0 KiB
#2 Accepted 2ms 340.0 KiB
#3 Wrong Answer 2ms 356.0 KiB
#4 Accepted 15ms 2.621 MiB
#5 Accepted 38ms 4.719 MiB
#6 Accepted 117ms 1.859 MiB
#7 Accepted 28ms 1.602 MiB

信息

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