Added std to cout because vscode was a lil' bitch
This commit is contained in:
@@ -118,8 +118,7 @@ vector<unordered_set<unsigned int>> aPriori(const vector<unordered_set<unsigned
|
||||
}
|
||||
|
||||
int main(){
|
||||
|
||||
cout << "Hello this is Patrick" << endl;
|
||||
std::cout << "Hello this is Patrick" << endl;
|
||||
auto start = chrono::high_resolution_clock::now();
|
||||
|
||||
auto primeVector = sieve(10000);
|
||||
@@ -151,7 +150,7 @@ int main(){
|
||||
|
||||
for(auto mt = candidateQuintets.begin(); mt != candidateQuintets.end(); ++mt){
|
||||
if(match(*it, *mt) && match(*jt, *mt) && match(*kt, *mt) && match(*lt, *mt)){
|
||||
cout << *it << " " << *jt << " " << *kt << " " << *lt << " " << *mt << " equals: " << *it + *jt + *kt + *lt + *mt << endl;
|
||||
std::cout << *it << " " << *jt << " " << *kt << " " << *lt << " " << *mt << " equals: " << *it + *jt + *kt + *lt + *mt << endl;
|
||||
|
||||
foundSum = true;
|
||||
break;
|
||||
@@ -169,7 +168,7 @@ int main(){
|
||||
}
|
||||
|
||||
auto duration = chrono::duration_cast<chrono::milliseconds>(chrono::high_resolution_clock::now() - start);
|
||||
cout << (float)duration.count()/1000 << endl;
|
||||
std::cout << (float)duration.count()/1000 << endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user