Problem pairs
User Elwinthenerd
Submission Time 2024-11-14 09:10:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pairs.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
pairs.cpp:4:1: note: in expansion of macro ‘int’
4 | int main() {
| ^~~
pairs.cpp: In function ‘int main()’:
pairs.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
pairs.cpp:5:2: note: in expansion of macro ‘int’
5 | int N, M;
| ^~~
pairs.cpp:5:6: error: ‘N’ was not declared in this scope
5 | int N, M;
| ^
pairs.cpp:5:9: error: ‘M’ was not declared in this scope
5 | int N, M;
| ^
pairs.cpp:2:18: error: template argument 1 is invalid
2 | #define int long long;
| ^~~~
pairs.cpp:7:9: note: in expansion of macro ‘int’
7 | vector<int> V(N);
| ^~~
pairs.cpp:2:18: error: template argument 2 is inv