Problem | weddingcoins |
---|---|
User | Henries |
Submission Time | 2024-10-02 10:09:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
weddingcoins.cpp: In function ‘void solve(long long int)’:
weddingcoins.cpp:8:39: error: overloaded function with no contextual type information
8 | max = *max_element(v.begin(),v.end());
| ^
weddingcoins.cpp:9:8: error: invalid operands of types ‘long long int’ and ‘<unresolved overloaded function type>’ to binary ‘operator<’
9 | if (n<max){
| ~^~~~
weddingcoins.cpp:12:10: error: expected ‘(’ before ‘{’ token
12 | else if{
| ^
| (