| Problem | 0405 |
|---|---|
| User | howdoicode |
| Submission Time | 2026-05-04 17:12:39 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
0405.cpp:3:1: error: ‘vector’ does not name a type
3 | vector<int> sieve(int n) {
| ^~~~~~
0405.cpp: In function ‘int main()’:
0405.cpp:27:2: error: ‘cin’ was not declared in this scope
27 | cin >> n;
| ^~~
0405.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
0405.cpp:28:5: error: ‘vector’ was not declared in this scope
28 | vector<int> res = sieve(n);
| ^~~~~~
0405.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | using namespace std;
0405.cpp:28:12: error: expected primary-expression before ‘int’
28 | vector<int> res = sieve(n);
| ^~~
0405.cpp:29:20: error: ‘res’ was not declared in this scope
29 | for(aut