uva
StoolMonster
这个作者很懒,什么都没留下…
展开
-
Uva 11752 The Super Powers
#include #include #include #include #include using namespace std; #define ULL unsigned long long #define del(a,b) memset(a,b,sizeof(a)) int p[65]; bool isp(int x){ for(int i=2;i*i<=x;i++){ if(原创 2015-09-11 12:23:59 · 377 阅读 · 0 评论 -
UVA 11636 Hello World!
#include #include #include using namespace std; int N,ans,cas,x; int main(){ cas=1; while(scanf("%d",&N)){ if(N<0) break; ans=0;x=1; while(x<N){ x*=2; ans++; } printf("Case %原创 2015-09-09 18:34:10 · 309 阅读 · 0 评论