Problem restaurant
User YSH2020
Submission Time 2023-10-31 11:00:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

restaurant.cpp: In function ‘int main()’:
restaurant.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
restaurant.cpp:5:5: note: in expansion of macro ‘int’
5 | int n, m, s; cin >> n >> m >> s;
| ^~~
restaurant.cpp:5:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | int n, m, s; cin >> n >> m >> s;
| ^
| yn
restaurant.cpp:5:12: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
5 | int n, m, s; cin >> n >> m >> s;
| ^
| tm
restaurant.cpp:5:15: error: ‘s’ was not declared in this scope
5 | int n, m, s; cin >> n >> m >> s;
| ^
restaurant.cpp:3:18: error: template argument 1 is invalid
3 | #define int long long;
|