QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#125582 | #90. Fishing Game | Qwerty1232 | Compile Error | / | / | C++20 | 208b | 2023-07-16 22:27:55 | 2023-07-16 22:27:57 |
Judging History
你现在查看的是最新测评结果
- [2023-08-10 23:21:45]
- System Update: QOJ starts to keep a history of the judgings of all the submissions.
- [2023-07-16 22:27:57]
- 评测
- 测评结果:Compile Error
- 用时:0ms
- 内存:0kb
- [2023-07-16 22:27:55]
- 提交
answer
#include <bits/stdc++.h>
//#include "permutation.h"
std::mt19937 rnd(2086);
int main() {
n = 7;
std::vector<int> vec(n);
std::shuffle(vec.begin(), vec.begin() + 4, rnd);
return;
}
详细
answer.code: In function ‘int main()’: answer.code:8:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’? 8 | n = 7; | ^ | yn answer.code:11:5: error: return-statement with no value, in function returning ‘int’ [-fpermissive] 11 | return; | ^~~~~~