摘要: #include <cstdio> #include <cmath> using namespace std; void dg(int n) { int a; if(n==0) return; for(int i=0;i<=15;i++) //求出n以内2最大的a次方 { a=i; if(pow(2,a)>n) { a--; break; } } if(a==0) printf("2(0)"); 阅读全文
posted @ 2019-09-05 21:17 痞卡皮 阅读(260) 评论(0) 推荐(0) 编辑