Submission #1200459

#TimeUsernameProblemLanguageResultExecution timeMemory
1200459tralalero_tralalaCluedo (IOI10_cluedo)C++20
100 / 100
3 ms408 KiB
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>
#define _ ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define fore(i,a,b) for(lli i = (a), abcdxd = (b); i < abcdxd; i++)
#define f first
#define s second
#define ENDL '\n'
#define pb push_back
#define sz(s) lli((s).size())
#define all(v) (v).begin(), (v).end()
#define rall(v) (v).rbegin(), (v).rend()
using namespace std;
typedef long long lli;
// typedef long long LLI;
typedef pair<lli,lli> ii;
typedef vector<lli> vi;
typedef vector<ii> vii;
typedef long double ld;
#define deb(x) cout << #x << ": " << x << endl;
#define BIGLLI __int128
typedef vector<vi> mtrx;

void Solve(){
   lli a = 1, b = 1, c = 1;
   lli r;
   while ((r = Theory(a, b, c))){
      if (r == 1) a++;
      if (r == 2) b++;
      if (r == 3) c++;
   }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...