Problem laptop
User PrunJuice
Submission Time 2024-06-22 00:26:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laptop.cpp: In function ‘int main()’:
laptop.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
laptop.cpp:5:2: note: in expansion of macro ‘int’
5 | int n, m;
| ^~~
laptop.cpp:5:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | int n, m;
| ^
| yn
laptop.cpp:5:9: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
5 | int n, m;
| ^
| tm
laptop.cpp:3:18: error: wrong number of template arguments (1, should be 2)
3 | #define int long long;
| ^~~~
laptop.cpp:7:16: note: in expansion of macro ‘int’
7 | vector <pair <int, int> > Laptops(n);
| ^~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/specfun.h:45,