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 <iostream>
#include <vector>
#include <cmath>
#include <algorithm>
#include <string>
#include <map>
#include <set>
using namespace std;
int Theory(int i, int j, int k);
void Solve(){
int corM = 1, corL = 1, corW = 1;
int m = Theory(1, 1, 1);
do {
if (m == 1) corM++;
if (m == 2) corL++;
if (m == 3) corW++;
m = Theory(corM, corL, corW);
}while(m != 0);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |