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

Compile Error

pairs.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #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:3:18: error: declaration does not declare anything [-fpermissive]
3 | #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:3:18: error: template argument 1 is invalid
3 | #define int long long;
| ^~~~
pairs.cpp:7:9: note: in expansion of macro ‘int’
7 | vector<int> V(N);
| ^~~
pairs.cpp:3:18: error: template argument 2 is inv