제출 #1007171

#제출 시각아이디문제언어결과실행 시간메모리
1007171phoenixCluedo (IOI10_cluedo)C++17
100 / 100
8 ms600 KiB
#include "grader.h"
#include "cluedo.h"

void Solve() {
   int a[3] = {1, 1, 1};
   int p = Theory(a[0], a[1], a[2]) - 1;
   while (p != -1) {
      a[p]++;
      p = Theory(a[0], a[1], a[2]) - 1;
   }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...