Problem | eescapism |
---|---|
User | Henries |
Submission Time | 2024-10-21 21:51:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eescapism.cpp: In function ‘int main()’:
eescapism.cpp:23:27: error: expected initializer before ‘-’ token
23 | long long secondhighest - pq.top();
| ^
eescapism.cpp:24:20: error: ‘secondhighest’ was not declared in this scope
24 | diff = highest - secondhighest;
| ^~~~~~~~~~~~~
eescapism.cpp:27:43: error: expression cannot be used as a function
27 | ans += (diff/2)((2*start) + (diff-1)* 1);
| ^