Submission #1011581

#TimeUsernameProblemLanguageResultExecution timeMemory
1011581SulACluedo (IOI10_cluedo)C++17
0 / 100
1 ms344 KiB
#include "grader.h" #include "cluedo.h" unsigned char a[3] = {1,1,1}, x = 0; void Solve() { while (x = Theory(a[0], a[1], a[2])) a[x-1]++; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:6:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    6 |     while (x = Theory(a[0], a[1], a[2]))
      |            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...