Cod sursa(job #326482)
| Utilizator | Data | 25 iunie 2009 12:49:12 | |
|---|---|---|---|
| Problema | Ciurul lui Eratosthenes | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva educationala | Marime | 0.18 kb |
#include<stdio.h>
#include<math.h>
long n;
int main()
{
freopen("ciur.in","r",stdin);
freopen("ciur.out","w",stdout);
scanf("%ld",&n);
n/=log(n);
printf("%ld",n);
return 0;
}
