摘要: xheartbeat.top 阅读全文
posted @ 2018-08-28 17:23 小可爱的小可爱 阅读(105) 评论(0) 推荐(0) 编辑
摘要: — This is not playing but duty as allies of justice, Nii-chan! — Not allies but justice itself, Onii-chan! With hands joined, go everywhere at a speed 阅读全文
posted @ 2017-12-06 15:59 小可爱的小可爱 阅读(157) 评论(0) 推荐(0) 编辑
摘要: C. Mike and gcd problem time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit per t 阅读全文
posted @ 2017-11-18 20:34 小可爱的小可爱 阅读(184) 评论(0) 推荐(0) 编辑
摘要: D. Almost Identity Permutations Description D. Almost Identity Permutations Description Description A permutation p of size n is an array such that ev 阅读全文
posted @ 2017-11-18 20:22 小可爱的小可爱 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 先来引入求余概念 (a + b) % p = (a%p + b%p) %p (对) (a - b) % p = (a%p - b%p) %p (对) (a * b) % p = (a%p * b%p) %p (对) (a / b) % p = (a%p / b%p) %p (错) 为什么除法错的 证 阅读全文
posted @ 2017-11-09 15:30 小可爱的小可爱 阅读(365) 评论(0) 推荐(0) 编辑
摘要: Problem Description F(x,m) 代表一个全是由数字x组成的m位数字。请计算,以下式子是否成立:F(x,m) mod k ≡ c Input 第一行一个整数T,表示T组数据。每组测试数据占一行,包含四个数字x,m,k,c1≤x≤9 1≤m≤10100≤c<k≤10,000 Out 阅读全文
posted @ 2017-11-09 15:17 小可爱的小可爱 阅读(137) 评论(0) 推荐(0) 编辑
摘要: D. Ratings and Reality Shows time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Ratings 阅读全文
posted @ 2017-11-08 14:39 小可爱的小可爱 阅读(385) 评论(0) 推荐(0) 编辑
摘要: B. Cubes for Masha time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Cubes for Masha tim 阅读全文
posted @ 2017-11-08 13:42 小可爱的小可爱 阅读(257) 评论(0) 推荐(0) 编辑
摘要: A. Div. 64 time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Top-model Izabella participate 阅读全文
posted @ 2017-11-08 13:32 小可爱的小可爱 阅读(350) 评论(0) 推荐(0) 编辑
摘要: C. Solution for Cube time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output During the breaks b 阅读全文
posted @ 2017-11-08 13:25 小可爱的小可爱 阅读(347) 评论(0) 推荐(0) 编辑