QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#855758 | #8629. 寻宝 | tree | Compile Error | / | / | C++14 | 301b | 2025-01-13 10:27:15 | 2025-01-13 10:27:17 |
Judging History
This is the latest submission verdict.
- [2025-01-13 10:27:17]
- Judged
- Verdict: Compile Error
- Time: 0ms
- Memory: 0kb
- [2025-01-13 10:27:15]
- Submitted
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;
}
詳細信息
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); | ^~~