Submission #884647

#TimeUsernameProblemLanguageResultExecution timeMemory
884647vjudge1Cluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#include "grader.h" #include "cluedo.h" #include<bits/stdc++.h> #define fastio ios_base::sync_with_stdio(0); cin.tie(0); #define sz(x) ll(x.size()) #define all(x) x.begin(),x.end() #define pb push_back #define ff first #define ss second using namespace std; typedef long long ll; const ll MAX=1000000; const ll mod=1e9+7; map<int,int> pos; int A[MAX]; void Solve(){ A[1]=1; A[2]=1; A[3]=1; int x=0; do{ x=Theory(A[1],A[2],A[3]); A[x]++; }while(x) return; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:24:13: error: expected ';' before 'return'
   24 |    }while(x)
      |             ^
      |             ;
   25 |    return;
      |    ~~~~~~