/usr/bin/ld: /tmp/cc5AAsqL.o: in function `main':
grader_encoder.cpp:(.text.startup+0xd1): undefined reference to `Encode(int, int*, int*)'
collect2: error: ld returned 1 exit status
Device.cpp: In function 'int Answer(long long int, long long int)':
Device.cpp:10:2: error: 'll' was not declared in this scope
10 | ll szs = S / 262144;
| ^~
Device.cpp:11:4: error: expected ';' before 'szt'
11 | ll szt = T / 262144;
| ^~~~
| ;
Device.cpp:12:4: error: expected ';' before 'cs'
12 | ll cs = S % 262144;
| ^~~
| ;
Device.cpp:13:4: error: expected ';' before 'ct'
13 | ll ct = T % 262144;
| ^~~
| ;
Device.cpp:15:5: error: 'cs' was not declared in this scope
15 | if(cs + szs > ct && ct > cs)return 1;
| ^~
Device.cpp:15:10: error: 'szs' was not declared in this scope
15 | if(cs + szs > ct && ct > cs)return 1;
| ^~~
Device.cpp:15:16: error: 'ct' was not declared in this scope
15 | if(cs + szs > ct && ct > cs)return 1;
| ^~
Device.cpp:16:5: error: 'ct' was not declared in this scope
16 | if(ct + szt > cs && cs > ct)return 0;
| ^~
Device.cpp:16:10: error: 'szt' was not declared in this scope
16 | if(ct + szt > cs && cs > ct)return 0;
| ^~~
Device.cpp:16:16: error: 'cs' was not declared in this scope
16 | if(ct + szt > cs && cs > ct)return 0;
| ^~