Submission #1011273

#TimeUsernameProblemLanguageResultExecution timeMemory
1011273ereringCluedo (IOI10_cluedo)C++17
100 / 100
7 ms596 KiB
#include <bits/stdc++.h> #include "cluedo.h" #include "grader.h" using namespace std; void Solve(){ int r; int l1=1,l2=1,l3=1; for(int i=0;i<20;i++){ int x=Theory(l1,l2,l3); if(x==0)return; if(x==1)l1++; if(x==2)l2++; if(x==3)l3++; } }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:6:9: warning: unused variable 'r' [-Wunused-variable]
    6 |     int r;
      |         ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...