记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:23:14: warning: statement has no effect [-Wunused-value]
       c[i][0]=='R';
       ~~~~~~~^~~~~
/in/foo.cc:32:14: warning: statement has no effect [-Wunused-value]
       c[i][0]=='L';
       ~~~~~~~^~~~~
/in/foo.cc:41:14: warning: statement has no effect [-Wunused-value]
       c[i][0]=='D';
       ~~~~~~~^~~~~
/in/foo.cc:50:14: warning: statement has no effect [-Wunused-value]
       c[i][0]=='U';
       ~~~~~~~^~~~~
/in/foo.cc:56:23: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  if(s[3]==0&&((c[2][0]=='L'&c[3][0]=='R')||(c[2][0]=='R'&c[3][0]=='L')||(c[2][0]=='U'&c[3][0]=='D')||(c[2][0]=='D'&c[3][0]=='U'))){
                ~~~~~~~^~~~~
/in/foo.cc:56:52: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  if(s[3]==0&&((c[2][0]=='L'&c[3][0]=='R')||(c[2][0]=='R'&c[3][0]=='L')||(c[2][0]=='U'&c[3][0]=='D')||(c[2][0]=='D'&c[3][0]=='U'))){
                                             ~~~~~~~^~~~~
/in/foo.cc:56:81: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  if(s[3]==0&&((c[2][0]=='L'&c[3][0]=='R')||(c[2][0]=='R'&c[3][0]=='L')||(c[2][0]=='U'&c[3][0]=='D')||(c[2][0]=='D'&c[3][0]=='U'))){
                                                                          ~~~~~~~^~~~~
/in/foo.cc:56:110: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  if(s[3]==0&&((c[2][0]=='L'&c[3][0]=='R')||(c[2][0]=='R'&c[3][0]=='L')||(c[2][0]=='U'&c[3][0]=='D')||(c[2][0]=='D'&c[3][0]=='U'))){
                                                                                                       ~~~~~~~^~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 224.0 KiB
#2 Wrong Answer 1ms 220.0 KiB
#3 Wrong Answer 1ms 228.0 KiB
#4 Wrong Answer 1ms 220.0 KiB
#5 Runtime Error 1ms 228.0 KiB
#6 Runtime Error 1ms 224.0 KiB
#7 Runtime Error 1ms 232.0 KiB
#8 Runtime Error 1ms 228.0 KiB
#9 Runtime Error 1ms 228.0 KiB
#10 Wrong Answer 0ms 224.0 KiB

信息

递交者
类型
递交
题目
甲虫入侵 beetle
语言
C++
递交时间
2019-07-15 14:37:43
评测时间
2019-07-15 14:37:43
评测机
分数
0
总耗时
11ms
峰值内存
232.0 KiB