FuelStation.cpp: In function 'void process()':
FuelStation.cpp:61:31: error: expected primary-expression before 'void'
61 | if (check(S[1].x)) return void(cout << S[1].x;)
| ^~~~
FuelStation.cpp:61:30: error: expected ';' before 'void'
61 | if (check(S[1].x)) return void(cout << S[1].x;)
| ^~~~~
| ;
FuelStation.cpp:61:31: error: expected primary-expression before 'void'
61 | if (check(S[1].x)) return void(cout << S[1].x;)
| ^~~~
FuelStation.cpp:61:51: error: expected primary-expression before ')' token
61 | if (check(S[1].x)) return void(cout << S[1].x;)
| ^
FuelStation.cpp:63:27: error: 'high' was not declared in this scope
63 | FOR(i, 1, n) maximize(high, S[i].r);
| ^~~~
FuelStation.cpp:64:11: error: 'low' was not declared in this scope; did you mean 'pow'?
64 | while(low <= high) {
| ^~~
| pow
FuelStation.cpp:64:18: error: 'high' was not declared in this scope
64 | while(low <= high) {
| ^~~~
FuelStation.cpp:66:25: error: 'res' was not declared in this scope
66 | if (check(mid)) res = mid, high = mid - 1;
| ^~~
FuelStation.cpp:69:14: error: 'res' was not declared in this scope
69 | cout << (res == -1 ? H : res);
| ^~~
FuelStation.cpp: In function 'int main()':
FuelStation.cpp:76:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
76 | freopen(task".inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
FuelStation.cpp:77:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
77 | freopen(task".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~