Submission #370225

#TimeUsernameProblemLanguageResultExecution timeMemory
370225NachoLibreCluedo (IOI10_cluedo)C++98
100 / 100
15 ms268 KiB
#include"grader.h" void Solve(){ for(int x=1,y=1,z=1,a;a=Theory(x,y,z);++(a^1?a^2?z:y:x)); }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:3:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    3 |  for(int x=1,y=1,z=1,a;a=Theory(x,y,z);++(a^1?a^2?z:y:x));
      |                        ~^~~~~~~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...