Submission #311837

#TimeUsernameProblemLanguageResultExecution timeMemory
311837zakaFCluedo (IOI10_cluedo)C++14
100 / 100
12 ms256 KiB
#include <iostream> #include <cstdlib> #include <algorithm> #include <cmath> #include <vector> #include <set> #include <map> #include <unordered_set> #include <unordered_map> #include <cstring> using namespace std; using ll = long long; using ld = long double; using uint = unsigned int; using ull = unsigned long long; #define pb push_back #define mp make_pair #define all(x) (x).begin(),(x).end() #define rall(x) (x).rbegin(),(x).rend() #define fi first #define se second #ifdef LOCAL #include </home/linux/debug.h> #define dbg(...) cout << "LINE(" << __LINE__ << ") -> [" << #__VA_ARGS__ << "]: [", _print(__VA_ARGS__) #else #define dbg(...) #endif #include "grader.h" #include "cluedo.h" void Solve() { int i = 1,j =1,k = 1; while(1) { int x = Theory(i,j,k); if(!x)break; if(x == 1) i++; else if(x == 2) j++; else k++; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...