摘要: http://poj.org/problem?id=3734 Description Panda has received an assignment of painting a line of blocks. Since Panda is such an intelligent boy, he s 阅读全文
posted @ 2018-10-30 20:10 _Zlrrr 阅读(237) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=3268 Description One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party 阅读全文
posted @ 2018-10-30 20:07 _Zlrrr 阅读(238) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=2253 Description Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on 阅读全文
posted @ 2018-10-30 20:05 _Zlrrr 阅读(169) 评论(0) 推荐(0)
摘要: #include using namespace std; const int mod = 1e9 + 7; int N; struct Matrix{ long long m[2][2]; }; Matrix Mul(Matrix A, Matrix B) { Matrix ret; for(int i = 0; i < 2; i ++) { f... 阅读全文
posted @ 2018-10-30 14:22 _Zlrrr 阅读(236) 评论(0) 推荐(0)