记录详情

Compile Error

/in/foo.cc:28:33: error: stray '\357' in program
             int ty = a.y + dy[i];
                                 ^
/in/foo.cc:28:34: error: stray '\274' in program
             int ty = a.y + dy[i];
                                  ^
/in/foo.cc:28:35: error: stray '\233' in program
             int ty = a.y + dy[i];
                                   ^
/in/foo.cc: In function 'int bfs()':
/in/foo.cc:29:13: error: expected ',' or ';' before 'while'
             while (tx >= 0 && tx <= h+1 && ty >= 0 && ty <= w+1 && (segnumber[tx][ty] == 0 || segnumber[tx][ty] == a.depth+1)) {
             ^~~~~
/in/foo.cc:71:1: error: expected '}' at end of input
 }
 ^
/in/foo.cc:27:17: warning: unused variable 'tx' [-Wunused-variable]
             int tx = a.x + dx[i];
                 ^~
/in/foo.cc:28:17: warning: unused variable 'ty' [-Wunused-variable]
             int ty = a.y + dy[i];
                 ^~
/in/foo.cc:71:1: error: expected '}' at end of input
 }
 ^
/in/foo.cc:71:1: error: expected '}' at end of input
/in/foo.cc:71:1: warning: no return statement in function returning non-void [-Wreturn-type]

信息

递交者
类型
递交
题目
麻将游戏
题目数据
下载
语言
C++
递交时间
2018-01-04 19:54:41
评测时间
2018-01-04 19:54:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes