| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1369279 | Almonther | Game (IOI14_game) | C++20 | 0 ms | 0 KiB |
#include<bits/stdc++.h>
using namespace std;
#define ll long long
ll cnt[1505]={};
void initialize(int n);
int hasEdge(int u, int v){
if(u<v) swap(u,v);
cnt[u]++;
if(cnt[u]==u) return 1;
return 0;
}
// void solve(){
// }
// int main(){
// ios_base::sync_with_stdio(0);cin.tie(0);
// int _=1;
// // cin>>_;
// while(_--) solve();
// }