2017年8月1日

hdu 6060 RXD and dividing

摘要: 思路:判断子树节点个数和k的最小值就好了,long long 阅读全文

posted @ 2017-08-01 18:13 hhhhx 阅读(151) 评论(0) 推荐(0)

hdu 6063 RXD and math

摘要: 1 #include 2 using namespace std; 3 typedef long long ll; 4 const ll mod=1e9+7; 5 6 ll hh(ll x,ll y){ 7 ll s=1; 8 while(y){ 9 if(y&1) s=s*x%mod; 10 x=x*x%mod; 11 ... 阅读全文

posted @ 2017-08-01 18:11 hhhhx 阅读(96) 评论(0) 推荐(0)

hdu 6066 RXD's date

摘要: 1 #include 2 using namespace std; 3 4 int main(){ 5 int n,x; 6 cin>>n; 7 int s=0; 8 while(n--){ 9 scanf("%d",&x); 10 if(x<=35) s++; 11 } 12 cout<<s<<... 阅读全文

posted @ 2017-08-01 18:10 hhhhx 阅读(97) 评论(0) 推荐(0)

导航