Added std to cout because vscode was a lil' bitch

This commit is contained in:
2021-04-20 23:23:56 +02:00
parent bfb2a5fe85
commit 462b7138a0

View File

@@ -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;
}