/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int sanpai()':
/in/foo.cc:86:18: warning: iteration 13 invokes undefined behavior [-Waggressive-loop-optimizations]
         if(temp[i]==4) temp[i]-=4,ret++;
            ~~~~~~^
/in/foo.cc:85:18: note: within this loop
     for(int i=1;i<=14;i++){
                 ~^~~~
/in/foo.cc:71:18: warning: iteration 13 invokes undefined behavior [-Waggressive-loop-optimizations]
         if(temp[i]>=3){
            ~~~~~~^
/in/foo.cc:70:18: note: within this loop
     for(int i=1;i<=14;i++){
                 ~^~~~
/in/foo.cc:58:22: warning: iteration 13 invokes undefined behavior [-Waggressive-loop-optimizations]
             if(temp[i]==4){
                ~~~~~~^
/in/foo.cc:57:22: note: within this loop
         for(int i=1;i<=14;i++){
                     ~^~~~
/in/foo.cc:41:22: warning: iteration 13 invokes undefined behavior [-Waggressive-loop-optimizations]
             if(temp[i]==4){
                ~~~~~~^
/in/foo.cc:40:22: note: within this loop
         for(int i=1;i<=14;i++){
                     ~^~~~
/in/foo.cc:24:22: warning: iteration 13 invokes undefined behavior [-Waggressive-loop-optimizations]
             if(temp[i]==4){
                ~~~~~~^
/in/foo.cc:23:22: note: within this loop
         for(int i=1;i<=14;i++){
                     ~^~~~
/in/foo.cc:21:35: warning: iteration 13 invokes undefined behavior [-Waggressive-loop-optimizations]
     for(int i=1;i<=14;i++) temp[i]=card[i];
                            ~~~~~~~^~~~~~~~
/in/foo.cc:21:18: note: within this loop
     for(int i=1;i<=14;i++) temp[i]=card[i];
                 ~^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 216.0 KiB
#2 Wrong Answer 1ms 212.0 KiB
#3 Time Exceeded ≥1000ms ≥220.0 KiB
#4 Wrong Answer 1ms 208.0 KiB
#5 Time Exceeded ≥1000ms ≥208.0 KiB
#6 Wrong Answer 1ms 220.0 KiB
#7 Wrong Answer 1ms 212.0 KiB
#8 Time Exceeded ≥1001ms ≥220.0 KiB
#9 Wrong Answer 1ms 208.0 KiB
#10 Time Exceeded ≥1001ms ≥208.0 KiB

信息

递交者
类型
递交
题目
P1252 @.@斗地主
语言
C++
递交时间
2020-02-16 10:38:32
评测时间
2020-02-16 10:38:32
评测机
分数
0
总耗时
≥4012ms
峰值内存
≥220.0 KiB