/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:22:13: warning: iteration 199 invokes undefined behavior [-Waggressive-loop-optimizations]
         a[k]*=2;
         ~~~~^~~
/in/foo.cc:21:22: note: within this loop
         for(int k=1;k<=200;k++)  
                     ~^~~~~
/in/foo.cc:24:15: warning: iteration 199 invokes undefined behavior [-Waggressive-loop-optimizations]
         if(a[k]>=10) 
            ~~~^
/in/foo.cc:23:22: note: within this loop
         for(int k=1;k<=200;k++)  
                     ~^~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 184.0 KiB
#2 Accepted 1ms 192.0 KiB
#3 Accepted 1ms 200.0 KiB
#4 Accepted 1ms 196.0 KiB
#5 Accepted 1ms 312.0 KiB
#6 Accepted 1ms 204.0 KiB
#7 Accepted 1ms 184.0 KiB
#8 Accepted 1ms 192.0 KiB
#9 Accepted 1ms 200.0 KiB
#10 Accepted 1ms 192.0 KiB

信息

递交者
类型
递交
题目
P1354 Hanoi双塔问题
语言
C++
递交时间
2018-11-23 21:18:02
评测时间
2018-11-23 21:18:02
评测机
分数
100
总耗时
17ms
峰值内存
312.0 KiB