#include "stdafx.h"
#include <iostream>
using namespace std;
void findout() {
int a,b,c;
unsigned long long tot=0;
for(a=2;a<2000000;a++) {
c=0;
for(b=2;b<a;b++) {
if(a%b == 0) {
c++;
break;}
}
if(c==0) {
tot+=a;
}
}
cout << tot<< " efekanpulatli.blogspot.com " << endl;
}
int main()
{
findout();
system("pause");
return 0;
}
Hiç yorum yok:
Yorum Gönder