QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#855758 | #8629. 寻宝 | tree | Compile Error | / | / | C++14 | 301b | 2025-01-13 10:27:15 | 2025-01-13 10:27:17 |
Judging History
answer
void Alice(const int testid, const int n, const int m, const int x, const int u[], const int v[], bool dir[])
{
dir[0] = true;
for(int i = 1; i < m; ++i)
dir[i] = false;
}
int Bob(const int testid, const int n)
{
vector<pair<int,bool>> e = discover(0);
return 0;
}
Details
answer.code: In function ‘int Bob(int, int)’: answer.code:10:5: error: ‘vector’ was not declared in this scope 10 | vector<pair<int,bool>> e = discover(0); | ^~~~~~ answer.code:10:12: error: ‘pair’ was not declared in this scope 10 | vector<pair<int,bool>> e = discover(0); | ^~~~ answer.code:10:17: error: expected primary-expression before ‘int’ 10 | vector<pair<int,bool>> e = discover(0); | ^~~