Problem sniper
User guru1396
Submission Time 2024-12-04 15:36:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sniper.cpp: In function ‘int main()’:
sniper.cpp:23:35: error: request for member ‘begin’ in ‘total_adv’, which is of non-class type ‘int’
23 | cout << max_element(total_adv.begin(), total_adv.end())*;
| ^~~~~
sniper.cpp:23:54: error: request for member ‘end’ in ‘total_adv’, which is of non-class type ‘int’
23 | cout << max_element(total_adv.begin(), total_adv.end())*;
| ^~~
sniper.cpp:23:61: error: expected primary-expression before ‘;’ token
23 | cout << max_element(total_adv.begin(), total_adv.end())*;
| ^