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

Compile Error

sniper.cpp: In function ‘int main()’:
sniper.cpp:10:5: error: ‘hi’ was not declared in this scope; did you mean ‘i’?
10 | if((hi-hj)*sj){
| ^~
| i
sniper.cpp:10:8: error: ‘hj’ was not declared in this scope; did you mean ‘j’?
10 | if((hi-hj)*sj){
| ^~
| j
sniper.cpp:10:12: error: ‘sj’ was not declared in this scope; did you mean ‘j’?
10 | if((hi-hj)*sj){
| ^~
| j
sniper.cpp:11:7: error: ‘si’ was not declared in this scope; did you mean ‘i’?
11 | cout<<si<<hi;
| ^~
| i