Submission #768280

# Submission time Handle Problem Language Result Execution time Memory
768280 2023-06-27T21:05:38 Z simene Cluedo (IOI10_cluedo) C++14
0 / 100
1 ms 208 KB
#include "grader.h"
void Solve(){int m[4];int a;while(a=Theory(m[1],m[2],m[3]))m[a]++;}

Compilation message

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:2:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    2 | void Solve(){int m[4];int a;while(a=Theory(m[1],m[2],m[3]))m[a]++;}
      |                                   ~^~~~~~~~~~~~~~~~~~~~~~~
# Verdict Execution time Memory Grader output
1 Failed 0 ms 208 KB wrong parameter
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Failed 1 ms 208 KB wrong parameter
2 Halted 0 ms 0 KB -