This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
#include "grader.h"
using namespace std;
void Solve() {
int m = 1, l = 1, w = 1, c = -1;
while (true) {
c = Theory(m, l, w);
if (c == 0) break;
if (c == 1) m++;
else if (c == 2) l++;
else w++;
}
return;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |