/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:28:41: warning: iteration 5000 invokes undefined behavior [-Waggressive-loop-optimizations]
     for (i=1;i<=5001;i++) node[i].father=i;//把并查集初始化
                           ~~~~~~~~~~~~~~^~
/in/foo.cc:28:15: note: within this loop
     for (i=1;i<=5001;i++) node[i].father=i;//把并查集初始化
              ~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 332.0 KiB
#2 Accepted 3ms 376.0 KiB
#3 Accepted 3ms 344.0 KiB
#4 Accepted 3ms 356.0 KiB
#5 Accepted 4ms 372.0 KiB
#6 Accepted 5ms 364.0 KiB
#7 Accepted 6ms 384.0 KiB
#8 Accepted 7ms 360.0 KiB
#9 Accepted 8ms 384.0 KiB
#10 Accepted 7ms 364.0 KiB

信息

递交者
类型
递交
题目
P1034 家族
语言
C++
递交时间
2017-10-23 16:03:22
评测时间
2017-10-23 16:03:22
评测机
分数
100
总耗时
55ms
峰值内存
384.0 KiB