Problem pairs
User Potato3218
Submission Time 2023-03-14 19:54:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pairs.cpp:7:1: error: expected initializer before ‘vector’
7 | vector<ll> all;
| ^~~~~~
pairs.cpp: In function ‘int main()’:
pairs.cpp:4:12: error: expected unqualified-id before ‘long’
4 | #define ll long long
| ^~~~
pairs.cpp:11:9: note: in expansion of macro ‘ll’
11 | int n, ll m; cin>>n>>m;
| ^~
pairs.cpp:11:23: error: ‘m’ was not declared in this scope
11 | int n, ll m; cin>>n>>m;
| ^
pairs.cpp:14:3: error: ‘E’ was not declared in this scope
14 | E.push_back(c);
| ^
pairs.cpp:19:9: error: ‘all’ was not declared in this scope; did you mean ‘std::filesystem::perms::all’?
19 | else all.push_back((ll)E[i] * (ll)E[j]);
| ^~~
| std::filesystem::perms::all
In file included from /usr/include/c++/9/filesystem:36,
from /usr/include/x86_64-linux-gnu/c++/9/bi