Submission #924623

# Submission time Handle Problem Language Result Execution time Memory
924623 2024-02-09T10:17:09 Z tosivanmak Game (IOI14_game) C++17
0 / 100
0 ms 348 KB
#include<bits/stdc++.h>
using namespace std;
#define ll long long
// #ifdef __cplusplus
// extern "C" {
// #endif
// void initialize(int n);
// int hasEdge(int u, int v);
// #ifdef __cplusplus
// }
// #endif

// TODO: global variables can be declared here
ll cnt[1505];
void initialize(int n) {
}

int hasEdge(int u, int v) {
  // TODO: implementation
   if(u>v) swap(u,v);
   return (++cnt[u]==u);
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -