/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int sanpai()':
/in/foo.cc:85:18: warning: iteration 13 invokes undefined behavior [-Waggressive-loop-optimizations]
         if(temp[i]==4) temp[i]-=4,ret++;
            ~~~~~~^
/in/foo.cc:84:27: note: within this loop
     for(register int i=1;i<=14;i++){
                          ~^~~~
/in/foo.cc:70:18: warning: iteration 13 invokes undefined behavior [-Waggressive-loop-optimizations]
         if(temp[i]>=3){
            ~~~~~~^
/in/foo.cc:69:27: note: within this loop
     for(register int i=1;i<=14;i++){
                          ~^~~~
/in/foo.cc:57:22: warning: iteration 13 invokes undefined behavior [-Waggressive-loop-optimizations]
             if(temp[i]==4){
                ~~~~~~^
/in/foo.cc:56:31: note: within this loop
         for(register int i=1;i<=14;i++){
                              ~^~~~
/in/foo.cc:40:22: warning: iteration 13 invokes undefined behavior [-Waggressive-loop-optimizations]
             if(temp[i]==4){
                ~~~~~~^
/in/foo.cc:39:31: note: within this loop
         for(register int i=1;i<=14;i++){
                              ~^~~~
/in/foo.cc:23:22: warning: iteration 13 invokes undefined behavior [-Waggressive-loop-optimizations]
             if(temp[i]==4){
                ~~~~~~^
/in/foo.cc:22:31: note: within this loop
         for(register int i=1;i<=14;i++){
                              ~^~~~
/in/foo.cc:20:44: warning: iteration 13 invokes undefined behavior [-Waggressive-loop-optimizations]
     for(register int i=1;i<=14;i++) temp[i]=card[i];
                                     ~~~~~~~^~~~~~~~
/in/foo.cc:20:27: note: within this loop
     for(register int i=1;i<=14;i++) temp[i]=card[i];
                          ~^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Accepted 1ms 224.0 KiB
#4 Accepted 1ms 228.0 KiB
#5 Accepted 1ms 220.0 KiB
#6 Accepted 1ms 228.0 KiB
#7 Accepted 1ms 220.0 KiB
#8 Accepted 1ms 224.0 KiB
#9 Accepted 1ms 224.0 KiB
#10 Accepted 1ms 228.0 KiB
#11 Accepted 1ms 224.0 KiB
#12 Accepted 1ms 228.0 KiB
#13 Accepted 1ms 220.0 KiB
#14 Accepted 1ms 224.0 KiB
#15 Accepted 1ms 220.0 KiB
#16 Accepted 1ms 228.0 KiB
#17 Accepted 1ms 220.0 KiB
#18 Accepted 1ms 228.0 KiB
#19 Accepted 1ms 224.0 KiB
#20 Accepted 1ms 224.0 KiB
#21 Accepted 1ms 228.0 KiB
#22 Accepted 1ms 228.0 KiB
#23 Accepted 1ms 224.0 KiB
#24 Accepted 1ms 228.0 KiB
#25 Accepted 1ms 224.0 KiB
#26 Accepted 1ms 224.0 KiB
#27 Accepted 1ms 224.0 KiB
#28 Accepted 1ms 228.0 KiB
#29 Accepted 1ms 220.0 KiB
#30 Accepted 1ms 228.0 KiB
#31 Accepted 1ms 220.0 KiB
#32 Accepted 1ms 224.0 KiB
#33 Accepted 1ms 220.0 KiB
#34 Accepted 1ms 228.0 KiB
#35 Accepted 1ms 224.0 KiB
#36 Accepted 1ms 228.0 KiB
#37 Accepted 1ms 224.0 KiB
#38 Accepted 1ms 224.0 KiB
#39 Accepted 1ms 220.0 KiB
#40 Accepted 1ms 228.0 KiB
#41 Accepted 1ms 220.0 KiB
#42 Accepted 1ms 228.0 KiB
#43 Accepted 1ms 220.0 KiB
#44 Accepted 1ms 224.0 KiB
#45 Accepted 1ms 224.0 KiB
#46 Accepted 1ms 228.0 KiB
#47 Accepted 1ms 228.0 KiB
#48 Accepted 1ms 228.0 KiB
#49 Accepted 1ms 224.0 KiB
#50 Accepted 1ms 224.0 KiB
#51 Accepted 1ms 224.0 KiB
#52 Accepted 1ms 228.0 KiB
#53 Accepted 1ms 220.0 KiB
#54 Accepted 1ms 228.0 KiB
#55 Accepted 1ms 224.0 KiB
#56 Accepted 1ms 224.0 KiB
#57 Accepted 1ms 220.0 KiB
#58 Accepted 1ms 228.0 KiB
#59 Accepted 1ms 220.0 KiB
#60 Accepted 1ms 228.0 KiB
#61 Accepted 1ms 224.0 KiB
#62 Accepted 1ms 224.0 KiB
#63 Accepted 1ms 224.0 KiB
#64 Accepted 1ms 228.0 KiB
#65 Accepted 1ms 220.0 KiB
#66 Accepted 1ms 228.0 KiB
#67 Accepted 1ms 220.0 KiB
#68 Accepted 1ms 224.0 KiB
#69 Accepted 1ms 220.0 KiB
#70 Accepted 1ms 228.0 KiB
#71 Accepted 1ms 224.0 KiB
#72 Accepted 1ms 228.0 KiB
#73 Accepted 1ms 228.0 KiB
#74 Accepted 1ms 224.0 KiB
#75 Accepted 1ms 224.0 KiB
#76 Accepted 1ms 228.0 KiB
#77 Accepted 1ms 220.0 KiB
#78 Accepted 1ms 228.0 KiB
#79 Accepted 1ms 224.0 KiB
#80 Accepted 1ms 224.0 KiB
#81 Accepted 1ms 224.0 KiB
#82 Accepted 1ms 228.0 KiB
#83 Accepted 1ms 220.0 KiB
#84 Accepted 1ms 228.0 KiB
#85 Accepted 1ms 220.0 KiB
#86 Accepted 1ms 224.0 KiB
#87 Accepted 1ms 224.0 KiB
#88 Accepted 1ms 228.0 KiB
#89 Accepted 1ms 224.0 KiB
#90 Accepted 1ms 228.0 KiB
#91 Accepted 1ms 220.0 KiB
#92 Accepted 1ms 224.0 KiB
#93 Accepted 1ms 220.0 KiB
#94 Accepted 1ms 228.0 KiB
#95 Wrong Answer 1ms 220.0 KiB
#96 Accepted 1ms 228.0 KiB
#97 Accepted 1ms 224.0 KiB
#98 Accepted 1ms 224.0 KiB
#99 Accepted 1ms 228.0 KiB
#100 Accepted 1ms 228.0 KiB

信息

递交者
类型
递交
题目
P1980 斗地主
语言
C++
递交时间
2019-07-19 09:38:42
评测时间
2019-07-19 09:38:42
评测机
分数
99
总耗时
121ms
峰值内存
228.0 KiB