Submission #982783

#TimeUsernameProblemLanguageResultExecution timeMemory
982783vjudge1Game (APIO22_game)C++17
2 / 100
1 ms596 KiB
#include "game.h" // #pragma GCC optimize("Ofast,no-stack-protector,unroll-loops,fast-math") // #pragma GCC target("avx,avx2,fma") #include <bits/stdc++.h> #define f first #define s second #define fore(i,a,b) for(int i = (a), ThxMK = (b); i < ThxMK; ++i) #define pb push_back #define all(s) begin(s), end(s) #define _ ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define sz(s) int(s.size()) #define ENDL '\n' using namespace std; typedef long double ld; typedef long long lli; typedef pair<lli,lli> ii; typedef vector<lli> vi; typedef vector<ii> vii; #define deb(x) cout << #x": " << (x) << endl; lli N, K; void init(int n, int k){ N = n, K = k; } int add_teleporter(int u, int v){ if (v <= u) return 1; return 0; } // int main(){ _ // // freopen("file.in","r",stdin); // // freopen("file.out","w",stdout); // lli n, m, k; cin >> n >> m >> k; // init(n, k); // fore(i,0,m){ // lli a, b; cin >> a >> b; // cout << a << ' ' << b << ' '; // if (add_teleporter(a, b)) {cout << 1 << ENDL; return 0; } // else cout << 0 << ENDL; // } // return 0; // }
#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...