Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

segmentedSieveR

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.33 sec, absolute service time: 0,48 sec 
edit mode |  history  | discussion
Error(s):
source_file.cpp: In function ‘void simpleSieve(int, std::vector<int>)’:
source_file.cpp:19:38: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
                    primes.push_back[i];
                                      ^
source_file.cpp: At global scope:
source_file.cpp:23:21: error: variable or field ‘segmentedSieve’ declared void
 void segmentedSieve(ll n){
                     ^
source_file.cpp:23:21: error: ‘ll’ was not declared in this scope

        

    
                
λ
.NET NoSQL database for rapid development