Submission #357753

#TimeUsernameProblemLanguageResultExecution timeMemory
357753idk321Cluedo (IOI10_cluedo)C++11
100 / 100
16 ms268 KiB
#include "grader.h" #include "cluedo.h" void Solve(){ bool bad = false; int ar[3] = {1, 1, 1}; for (int i = 0; i < 20; i++) { int r = Theory(ar[0], ar[1], ar[2]); if (r == 0) { return; } ar[r - 1]++; } return; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:5:10: warning: unused variable 'bad' [-Wunused-variable]
    5 |     bool bad = false;
      |          ^~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...