Problem smallprimes_ex
User LCJLY
Submission Time 2023-02-24 00:02:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

smallprimes_ex.cpp:5:26: error: stray ‘#’ in program
5 | typedef pair<int,int> pii#include <bits/stdc++.h>
| ^
smallprimes_ex.cpp:5:27: error: expected initializer before ‘include’
5 | typedef pair<int,int> pii#include <bits/stdc++.h>
| ^~~~~~~
smallprimes_ex.cpp:94:5: error: redefinition of ‘long long int prime [18]’
94 | int prime[18]={2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61};
| ^~~~~
smallprimes_ex.cpp:11:5: note: ‘long long int prime [18]’ previously defined here
11 | int prime[18]={2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61};
| ^~~~~
smallprimes_ex.cpp:96:12: error: redefinition of ‘std::vector<long long int> small’
96 | vector<int>small;
| ^~~~~
smallprimes_ex.cpp:13:12: note: ‘std::vector<long long int> small’ previously declare