Problem tourist_noi
User Memeathon
Submission Time 2025-02-07 15:59:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

tourist_noi.cpp:5:1: error: ‘ll’ does not name a type
5 | ll n, x, y, inp, ans=0;
| ^~
tourist_noi.cpp: In function ‘int main()’:
tourist_noi.cpp:7:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | cin >> n, x, y;
| ^
| yn
tourist_noi.cpp:7:12: error: ‘x’ was not declared in this scope
7 | cin >> n, x, y;
| ^
tourist_noi.cpp:7:15: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
7 | cin >> n, x, y;
| ^
| yn
tourist_noi.cpp:9:10: error: ‘inp’ was not declared in this scope; did you mean ‘int’?
9 | cin >> inp;
| ^~~
| int
tourist_noi.cpp:10:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
10 | ans += min(x*inp, y);
| ^~~
| abs
tourist_noi.cpp:12:10: error: ‘ans’ was not declared in