Submission #632559

#TimeUsernameProblemLanguageResultExecution timeMemory
632559mansurKoala Game (APIO17_koala)C++17
4 / 100
6 ms316 KiB
#include "koala.h" #include<bits/stdc++.h> using namespace std; #define all(a) a.begin(), a.end() #define rall(a) a.rbegin(), a.rend() #define sz(a) a.size() #define pb push_back #define vt vector #define s second #define f first #define nl '\n' using ll = long long; using pii = pair<int, int>; vt<pii> dir = {{1, 0}, {-1, 0}, {0, 1}, {0, -1}}; const int N = 1e5 + 5, mod = 1e9 + 7; const int inf = 2e9; double eps = 1e-6; int minValue(int n, int w) { int a[n], b[n]; a[0] = 1; for (int i = 1; i < n; i++) a[i] = 0; playRound(a, b); for (int i = 0; i < n; i++) { if (!b[i]) return i; } return 0; } int maxValue(int n, int w) { return 0; } int greaterValue(int n, int w) { return 0; } void allValues(int n, int w, int *p) { if (w == 2*n) { } else { } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...