/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void IO::print(char)':
/in/foo.cc:36:33: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         if(Output_Cur-Output_Ans+1>>20) output();
            ~~~~~~~~~~~~~~~~~~~~~^~
/in/foo.cc: In function 'void IO::print(i32)':
/in/foo.cc:41:33: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         if(Output_Cur-Output_Ans+sprintf(s,"%d",ans)>>20) output();
            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:89:69: warning: array subscript is below array bounds [-Warray-bounds]
     print( min(mt_d_Dp[ ar_d_Stk[d_Cur] ][0],mt_d_Dp[ ar_d_Stk[d_Cur] ][1]) );
                                                       ~~~~~~~~~~~~~~^
# 状态 耗时 内存占用
#1 Runtime Error 3ms 3.18 MiB
#2 Runtime Error 3ms 3.258 MiB
#3 Runtime Error 3ms 3.207 MiB

信息

递交者
类型
递交
题目
P2045 战略游戏
语言
C++
递交时间
2020-04-30 18:15:15
评测时间
2020-04-30 18:15:15
评测机
分数
0
总耗时
10ms
峰值内存
3.258 MiB