Submission #1267030

#TimeUsernameProblemLanguageResultExecution timeMemory
1267030ti24dung_ntCluedo (IOI10_cluedo)C++20
0 / 100
0 ms440 KiB
#include<bits/stdc++.h> using namespace std; void Solve() { ios::sync_with_stdio(false); cin.tie(0); int murd = 1, loca = 1, weap = 1; while(true) { cout << "Theory(" << murd << ", " << loca << ", " << weap << ")" << endl; cout.flush(); int type; cin >> type; if(type == 0) return; else if(type == 1) ++murd; else if(type == 2) ++loca; else if(type == 3) ++weap; if (murd > 6 || loca > 10 || weap > 6) return; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...