Problem sniper
User Yifei1234
Submission Time 2023-04-03 17:18:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sniper.cpp: In function ‘int main()’:
sniper.cpp:5:8: error: expected primary-expression before ‘.’ token
5 | cin>>n>.s>>h;
| ^
sniper.cpp:13:10: error: cannot resolve overloaded function ‘max’ based on conversion to type ‘int’
13 | location=max
| ^~~