摘要:
xheartbeat.top 阅读全文
摘要:
— 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 阅读全文
摘要:
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 阅读全文
摘要:
D. Almost Identity Permutations Description D. Almost Identity Permutations Description Description A permutation p of size n is an array such that ev 阅读全文
摘要:
先来引入求余概念 (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 (错) 为什么除法错的 证 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文