QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#176588 | #6736. Alice and Bob | MaMengQi | Compile Error | / | / | C++20 | 303b | 2023-09-11 20:05:20 | 2023-09-11 20:05:20 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:6:19: error: ‘long long int dp(int)’ redeclared as different kind of entity 6 | long long dp(int n) { | ^ answer.code:4:11: note: previous declaration ‘long long int dp [1000001]’ 4 | long long dp[1000001]; | ^~ answer.code: In function ‘long long int dp(int)’: answer.code:15:13: error: ‘dp’ cannot be used as a function 15 | dp[n] = dp(n - 1) * (n - 1); | ~~^~~~~~~ answer.code: In function ‘int main()’: answer.code:23:13: error: ‘dp’ cannot be used as a function 23 | cout << dp(n) % 998244353 << endl; | ~~^~~