摘要: 11916 Emoogle GridYou have to color an M  N (1  M;N  108) two dimensional grid. You will be provided K(2  K  108) different colors to do so. You 阅读全文
posted @ 2016-08-26 22:25 Yan_Bin 阅读(685) 评论(0) 推荐(0)
摘要: 10253 Series-Parallel NetworksIn this problem you are expected to count two-terminal series-parallel networks. These are electricnetworks considered t 阅读全文
posted @ 2016-08-26 11:48 Yan_Bin 阅读(640) 评论(0) 推荐(0)
摘要: 1 #include 2 #include 3 #include 4 #include 5 typedef long long LL; 6 int mul_mod(int a,int b,int n){ // a、b都小于n 7 return a * b % n; 8 } 9 int pow_mod(int a,int p,int n){ 10 if(p... 阅读全文
posted @ 2016-08-26 00:27 Yan_Bin 阅读(993) 评论(0) 推荐(0)