/ Vijos /

记录详情

Accepted

/in/foo.c: In function 'sort':
/in/foo.c:10:24: warning: iteration 20000 invokes undefined behavior [-Waggressive-loop-optimizations]
         for(j=1;j<=tong[i];j++)
                    ~~~~^~~
/in/foo.c:9:5: note: within this loop
     for(i=1;i<=20001;i++)
     ^~~
/in/foo.c: In function 'main':
/in/foo.c:29:16: warning: iteration 20000 invokes undefined behavior [-Waggressive-loop-optimizations]
         tong[i]=0;
         ~~~~~~~^~
/in/foo.c:28:5: note: within this loop
     for(i=1;i<=20001;i++)
     ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 320.0 KiB
#2 Accepted 2ms 320.0 KiB
#3 Accepted 1ms 312.0 KiB
#4 Accepted 1ms 316.0 KiB
#5 Accepted 1ms 300.0 KiB
#6 Accepted 1ms 312.0 KiB
#7 Accepted 1ms 320.0 KiB
#8 Accepted 1ms 308.0 KiB
#9 Accepted 1ms 304.0 KiB
#10 Accepted 3ms 324.0 KiB
#11 Accepted 3ms 316.0 KiB

信息

递交者
类型
递交
题目
P1691 输油管道问题
语言
C
递交时间
2017-10-04 01:26:47
评测时间
2017-10-04 01:26:47
评测机
分数
110
总耗时
20ms
峰值内存
324.0 KiB