Problem | lineup |
---|---|
User | kaien |
Submission Time | 2024-10-07 09:27:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lineup.cpp: In function ‘int main()’:
lineup.cpp:25:10: error: expected initializer before ‘==’ token
25 | int ans == LLONG_MAX
| ^~
lineup.cpp:38:4: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
38 | ans = min(ans, vect[end].first - vect[start].first);
| ^~~
| abs
lineup.cpp:45:5: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
45 | if(ans == 0) cout << 1;
| ^~~
| abs