제출 #768289

#제출 시각아이디문제언어결과실행 시간메모리
768289simeneCluedo (IOI10_cluedo)C++14
0 / 100
0 ms208 KiB
#include "grader.h" void Solve(){int m[4],a;while(a=Theory(m[1]+1,m[2]+1,m[3]+1))m[a]++;}

컴파일 시 표준 에러 (stderr) 메시지

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:2:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    2 | void Solve(){int m[4],a;while(a=Theory(m[1]+1,m[2]+1,m[3]+1))m[a]++;}
      |                               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...