Problem potatosalad
User chinesewarcriminal
Submission Time 2024-03-17 13:02:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:11:17: error: ‘begin’ was not declared in this scope
11 | for (auto i:N) {
| ^
potatosalad.cpp:11:17: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:95,
from potatosalad.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 potatosalad.cpp:1:
/usr/include/c++/9/bits/fs_dir.h:516:3: note: ‘std::filesystem::__cxx11::begin’
516 | begin(recursive_directory_iterator __iter) noexcept
| ^~~~~
potatosalad.cpp:11:17: error: ‘end’ was not declared in this scope
11 | for (auto i:N) {
| ^
potatosalad.cpp:11:17: n