# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
777834 | Minindu206 | Grapevine (NOI22_grapevine) | C++14 | 0 ms | 0 KiB |
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 "grader.h"
#include "cluedo.h"
void Solve(){
int a = 1, b = 1, c = 1;
int x = Theory(a, b, c);
while(x)
{
if(x == 1)
a++;
if(x == 2)
b++;
if(x == 3)
c++;
x = Theory(a, b, c);
}
}