Submission #20247

#TimeUsernameProblemLanguageResultExecution timeMemory
20247AngelosGame (IOI14_game)C++98
Compilation error
0 ms0 KiB
#include "game.h" #include <bits/stdc++.h> void initialize(int n) { // DO NOTHING! } int c[1500],N; int hasEdge(int u, int v) { return ++c[u > v ? u : v] == (u > v ? u : v); } int main(){ std::cin >> N; for(int i=0; i<N*(N+1)/2; i++){ int u,v; std::cin >> u >> v; std::cout << hasEdge(u,v) << '\n'; } return 0; }

Compilation message (stderr)

/tmp/ccTyvnJT.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccJ8kbN0.o:game.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status