QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#765540#9628. 骰子ucup-team3537#Compile Error//C++141016b2024-11-20 14:35:412024-11-20 14:35:45

Details

answer.code:28:2: error: stray ‘#’ in program
   28 | }#include <iostream>
      |  ^
answer.code:28:3: error: ‘include’ does not name a type
   28 | }#include <iostream>
      |   ^~~~~~~
answer.code:40:11: error: redefinition of ‘const int N’
   40 | const int N = 4e5 + 10;
      |           ^
answer.code:13:11: note: ‘const int N’ previously defined here
   13 | const int N = 4e5 + 10;
      |           ^
answer.code:41:11: error: redefinition of ‘const int MOD’
   41 | const int MOD = 998244353;
      |           ^~~
answer.code:14:11: note: ‘const int MOD’ previously defined here
   14 | const int MOD = 998244353;
      |           ^~~
answer.code:43:6: error: redefinition of ‘void solve()’
   43 | void solve() {
      |      ^~~~~
answer.code:16:6: note: ‘void solve()’ previously defined here
   16 | void solve() {
      |      ^~~~~
answer.code:48:8: error: redefinition of ‘int main()’
   48 | signed main() {
      |        ^~~~
answer.code:21:8: note: ‘int main()’ previously defined here
   21 | signed main() {
      |        ^~~~