/ Vijos /

记录详情

Compile Error

/in/foo.cc:2:21: error: expected unqualified-id before '!' token
 using namespace std;![](http://)
                     ^
/in/foo.cc: In function 'bool dfs(int)':
/in/foo.cc:15:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int j = 0; j < edges[i].size(); j++) {
                     ~~^~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:31:21: error: 'n' was not declared in this scope
     scanf("%d %d", &n, &m);
                     ^
/in/foo.cc:31:25: error: 'm' was not declared in this scope
     scanf("%d %d", &n, &m);
                         ^
/in/foo.cc:43:27: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
             if (arr[i][j] == 1 ^ (((i + j) & 1) == ((x + y) & 1)))
                 ~~~~~~~~~~^~~~

信息

递交者
类型
递交
题目
P1718 兔兔和蛋蛋
语言
C++
递交时间
2018-02-11 22:02:57
评测时间
2018-02-11 22:02:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes