/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void operate(int)':
/in/foo.cc:25:41: warning: iteration 199 invokes undefined behavior [-Waggressive-loop-optimizations]
   for(int i=1;i<=200;i++)c[i]=d[i]=tem[i];
                                    ~~~~~^
/in/foo.cc:25:16: note: within this loop
   for(int i=1;i<=200;i++)c[i]=d[i]=tem[i];
               ~^~~~~
/in/foo.cc:19:35: warning: iteration 199 invokes undefined behavior [-Waggressive-loop-optimizations]
    for(int i=1;i<=200;i++)c[i]=r[i],d[i]=tem[i];
                                ~~~^
/in/foo.cc:19:17: note: within this loop
    for(int i=1;i<=200;i++)c[i]=r[i],d[i]=tem[i];
                ~^~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 192.0 KiB
#2 Wrong Answer 1ms 208.0 KiB
#3 Wrong Answer 1ms 208.0 KiB
#4 Wrong Answer 1ms 212.0 KiB
#5 Wrong Answer 1ms 204.0 KiB
#6 Wrong Answer 1ms 204.0 KiB
#7 Wrong Answer 1ms 204.0 KiB
#8 Wrong Answer 1ms 212.0 KiB
#9 Wrong Answer 1ms 200.0 KiB
#10 Wrong Answer 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1010 清帝之惑之乾隆
语言
C++
递交时间
2019-11-02 23:46:45
评测时间
2019-11-02 23:46:45
评测机
分数
0
总耗时
13ms
峰值内存
212.0 KiB