Submission #83853

#TimeUsernameProblemLanguageResultExecution timeMemory
83853aminraQuestion (Grader is different from the original contest) (CEOI14_question_grader)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef double ld; const int MAXN = (int)1e5 + 7; const int infint = (int)1e9; const int MOD = (int)1e9 + 9; const ll inf = (ll)2e18 + 2; int encode(int n, int x, int y) { int bt = -1; for (int i = 0; i < 10; i++) if(((x >> i) & 1) != ((y >> i) & 1)) bt = i; if(x > y) return bt + 11; else return bt + 1; }

Compilation message (stderr)

/tmp/ccoqe7Zh.o: In function `main':
grader_decode.c:(.text.startup+0x19f): undefined reference to `decode(int, int, int)'
collect2: error: ld returned 1 exit status