Problem telephone
User Yifei1234
Submission Time 2023-05-08 16:22:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

telephone.cpp: In function ‘int32_t main()’:
telephone.cpp:3:13: error: ‘as’ was not declared in this scope; did you mean ‘abs’?
3 | #define int as long long
| ^~
telephone.cpp:5:1: note: in expansion of macro ‘int’
5 | int s,x,y;
| ^~~
telephone.cpp:6:6: error: ‘s’ was not declared in this scope
6 | cin>>s>>x>>y;
| ^
telephone.cpp:6:9: error: ‘x’ was not declared in this scope
6 | cin>>s>>x>>y;
| ^
telephone.cpp:6:12: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
6 | cin>>s>>x>>y;
| ^
| yn
telephone.cpp:3:16: error: expected ‘;’ before ‘long’
3 | #define int as long long
| ^~~~
telephone.cpp:7:1: note: in expansion of macro ‘int’
7 | int min=s;
| ^~~
telephone.cpp:3:16: error: expected ‘;’ before ‘long’
3