6 Şubat 2013 Çarşamba

Fifth solution of Project Euler








#include "stdafx.h"
#include <iostream>
using namespace std;  
void findout() {  
int c=0,i=10000;
for(;;i++) {
c=0;
for(int a=1;a<21;a++) {

if(i%a!=0) {
c++;
};
}
if(c==0) {
break;
}
}
cout << "Sonuc :" << i  << " efekanpulatli.blogspot.com" << endl;
}

int main()
{
 findout();
system("pause");
return 0;
}

Hiç yorum yok:

Yorum Gönder