Problem | swords |
---|---|
User | Duk168 |
Submission Time | 2025-02-17 17:13:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
swords.cpp: In function ‘int main()’:
swords.cpp:8:9: error: ‘pll’ was not declared in this scope; did you mean ‘ll’?
8 | vector<pll> v(n);
| ^~~
| ll
swords.cpp:8:12: error: template argument 1 is invalid
8 | vector<pll> v(n);
| ^
swords.cpp:8:12: error: template argument 2 is invalid
swords.cpp:12:15: error: ‘begin’ was not declared in this scope
12 | for(auto i : v){
| ^
swords.cpp:12:15: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:95,
from swords.cpp:1:
/usr/include/c++/9/valarray:1224:5: note: ‘std::begin’
1224 | begin(const valarray<_Tp>& __va)
| ^~~~~
In file included from /usr/include/c++/9/filesystem:38,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:129,
from swords.cpp:1:
/usr/include/c