pinball.cpp:4:14: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+10' to '2147483647' [-Woverflow]
4 | int n,m,cena=10e9;
| ^~~~
pinball.cpp: In function 'int rek(int, int, int, int)':
pinball.cpp:10:28: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+10' to '2147483647' [-Woverflow]
10 | else if(i==-1) return 10e9;
| ^~~~
pinball.cpp:12:18: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+10' to '2147483647' [-Woverflow]
12 | int rez1=10e9,rez2=10e9;
| ^~~~
pinball.cpp:12:28: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+10' to '2147483647' [-Woverflow]
12 | int rez1=10e9,rez2=10e9;
| ^~~~
pinball.cpp: In function 'int main()':
pinball.cpp:30:9: warning: unused variable 'l' [-Wunused-variable]
30 | int l=0,r=0,rez=0;
| ^
pinball.cpp:30:13: warning: unused variable 'r' [-Wunused-variable]
30 | int l=0,r=0,rez=0;
| ^
pinball.cpp:30:17: warning: unused variable 'rez' [-Wunused-variable]
30 | int l=0,r=0,rez=0;
| ^~~