Submission #892822

# Submission time Handle Problem Language Result Execution time Memory
892822 2023-12-26T03:33:03 Z LCJLY Cluedo (IOI10_cluedo) C++14
0 / 100
1 ms 512 KB
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>
using namespace std;

void Solve(){

	//bool done=false;
	//bool done2=false;
	//bool done3=false;
	int ptr=1;
	int ptr2=1;
	int ptr3=1;

	while(1){
		int hold=Theory(ptr,ptr2,ptr3);
		if(hold==0) return;
		if(hold==1) ptr++;
		else if(hold==2) ptr2++;
		else ptr3++;
		cout << ptr << " " << ptr2 << " " << ptr3 << endl;
	}
}
# Verdict Execution time Memory Grader output
1 Failed 0 ms 344 KB wrong parameter
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Failed 1 ms 512 KB wrong parameter
2 Halted 0 ms 0 KB -