摘要: int add(long long &x,long long y) { x+=y; x%=MOD; } Matrix mutil(Matrix x,Matrix y) { Matrix z; memset(z.a,0,sizeof(z.a)); for(int i=0;i<X;i++) { for(int k=0;k<X;k++) ... 阅读全文
posted @ 2017-03-22 20:07 Heilce 阅读(176) 评论(0) 推荐(0) 编辑
摘要: There are b blocks of digits. Each one consisting of the same n digits, which are given to you in the input. Wet Shark must choose exactly one digit f 阅读全文
posted @ 2017-03-22 20:05 Heilce 阅读(951) 评论(0) 推荐(0) 编辑