| Problem | smallprimes_ex |
|---|---|
| User | shenshiqi |
| Submission Time | 2026-10-25 18:08:39 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
smallprimes_ex.cpp: In function ‘void genL(int, int, long long int)’:
smallprimes_ex.cpp:10:9: error: reference to ‘left’ is ambiguous
10 | left.push_back(cur);
| ^~~~
In file included from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from smallprimes_ex.cpp:1:
/usr/include/c++/9/bits/ios_base.h:1011:3: note: candidates are: ‘std::ios_base& std::left(std::ios_base&)’
1011 | left(ios_base& __base)
| ^~~~
smallprimes_ex.cpp:6:21: note: ‘std::vector<long long int> left’
6 | vector<ull> primes, left, right;
| ^~~~
smallprimes_ex.cpp:15:32: error: ‘out’ was not decl