Problem zanesgift
User ThePwo
Submission Time 2023-12-23 10:18:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

zanesgift.cpp: In function ‘int32_t main()’:
zanesgift.cpp:17:12: error: invalid operands of types ‘long long int’ and ‘long long int*’ to binary ‘operator-’
17 | cout << n - max_element(dp, dp + n + 1);
| ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| long long int long long int*