标签:blog io ar os sp div log amp ef
/* n 她的素数有n/ln(n)个。 */ #include<iostream> #include<cstdio> #include<cstring> #include<string> #include<cmath> #include<cstdlib> #include<algorithm> #include<queue> #include<vector> #include<set> using namespace std; int n; int main() { while(scanf("%d",&n)!=EOF) { int res; res=n-log10(n*log(10)); printf("%d",res+1); } return 0; } 未完,继续阅读
标签:blog io ar os sp div log amp ef
原文地址:http://www.cnblogs.com/a972290869/p/4099529.html