ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#213437 | #2355. Digit | ZzhAllen | Compile Error | / | / | C++ | 195b | 2024-11-11 22:46:00 | 2024-11-11 23:11:46 |
answer
// 30pts, 会赢的!
#include <bits/stdc++.h>
using namespace std;
const int N = 1E5 + 10;
int n;
int main()
{
mt19937 rnd((unsigned long long)(new char));
cout << rnd() %4 + 1;
}
详细
answer.code: In function 'int main()': answer.code:9:2: error: 'mt19937' was not declared in this scope mt19937 rnd((unsigned long long)(new char));\x0d ^ answer.code:9:10: error: expected ';' before 'rnd' mt19937 rnd((unsigned long long)(new char));\x0d ^ answer.code:10:14: error: 'rnd' was not declared in this scope cout << rnd() %4 + 1;\x0d ^