Submission #1009526

#TimeUsernameProblemLanguageResultExecution timeMemory
1009526salmonCity (JOI17_city)C++14
Compilation error
0 ms0 KiB
#include "Device.h" void InitDevice(){ } int Answer(long long S, long long T){ long long int s1 = S % (1LL<<22); long long int e1 = (S>>22); e1 += s1; long long int s2 = T % (1LL<<22); long long int e2 = (T>>22); e2 += s2; if(s1 <= s2 && e2 <= e1){ return 1; } if(s2 <= s1 && e1 <= e2){ return 0; } return 2; }

Compilation message (stderr)

/usr/bin/ld: /tmp/cc2cD0lU.o: in function `main':
grader_encoder.cpp:(.text.startup+0xd1): undefined reference to `Encode(int, int*, int*)'
collect2: error: ld returned 1 exit status