Problem tourist_noi
User wahjsodhowasd
Submission Time 2026-02-15 16:12:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

tourist_noi.cpp:4:1: error: ‘cin’ does not name a type; did you mean ‘Min’?
4 | cin >>n>>x>>y;
| ^~~
| Min
tourist_noi.cpp:5:1: error: ‘Min’ does not name a type
5 | Min=y/x;
| ^~~
tourist_noi.cpp:6:1: error: expected unqualified-id before ‘for’
6 | for (int i=0;i<n;i++){
| ^~~
tourist_noi.cpp:6:14: error: ‘i’ does not name a type
6 | for (int i=0;i<n;i++){
| ^
tourist_noi.cpp:6:18: error: ‘i’ does not name a type
6 | for (int i=0;i<n;i++){
| ^
tourist_noi.cpp:12:1: error: ‘cout’ does not name a type
12 | cout<<Ans;}
| ^~~~
tourist_noi.cpp:12:11: error: expected declaration before ‘}’ token
12 | cout<<Ans;}
| ^