/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:24:26: warning: iteration 10000 invokes undefined behavior [-Waggressive-loop-optimizations]
             len[j]&=fea[j];
                          ^
/in/foo.cc:23:22: note: within this loop
         for(int j=0;j<=10000;j++)
                     ~^~~~~~~
/in/foo.cc:10:16: warning: iteration 10000 invokes undefined behavior [-Waggressive-loop-optimizations]
         len[i] = 1;
         ~~~~~~~^~~
/in/foo.cc:9:18: note: within this loop
     for(int i=0;i<=10000;i++) {
                 ~^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 344.0 KiB
#2 Accepted 2ms 352.0 KiB
#3 Accepted 2ms 356.0 KiB
#4 Accepted 6ms 380.0 KiB
#5 Accepted 8ms 388.0 KiB
#6 Accepted 16ms 380.0 KiB
#7 Accepted 20ms 384.0 KiB
#8 Accepted 44ms 384.0 KiB
#9 Accepted 81ms 384.0 KiB
#10 Accepted 81ms 380.0 KiB

信息

递交者
类型
递交
题目
P1059 积木城堡
语言
C++
递交时间
2019-11-22 16:46:10
评测时间
2019-11-22 16:46:10
评测机
分数
100
总耗时
265ms
峰值内存
388.0 KiB