yjjr's blog

Stay Hungry, Stay Foolish

Codeforces894d ralph and his tour in binary country

标签:二分,树 题目 题目传送门 Ralph is in the Binary Country. The Binary Country consists of n cities and (...

Codeforces894c marco and gcd sequence

标签:模拟,数学 题目 题目传送门 In a dream Marco met an elderly man with a pair of black glasses. The man to...

Codeforces894b ralph and his magic field

标签:数学,快速幂 题目 题目传送门 Ralph has a magic field which is divided into n × m blocks. That is to say,...

Codeforces894a qaq

标签:模拟 #题目 题目传送门 “QAQ” is a word to denote an expression of crying. Imagine “Q” as eyes with te...

Codeforces869e the untended antiquity

标签:模拟,标记法 Koyomi is helping Oshino, an acquaintanceof his, to take care of an open space aro...

Codeforces869c the intriguing obsession

标签:数学 — This is not playing but duty as allies ofjustice, Nii-chan! — Not allies but just...

Codeforces869b the eternal immortality

标签:模拟,数学 Even if the world is full of counterfeits,I still regard it as wonderful. Pile u...

Codeforces869a the artful expedient

标签:模拟 Rock... Paper! After Karen have found the deterministicwinning (losing?) strategy f...

Codeforces868f yet another minimizationproblem

标签:二分,DP You are given an array ofn integersa1... an. The cost of a subsegment is thenumber ...

Codeforces868d huge strings

标签:记忆化搜索,模拟,位运算 You are given n stringss1, s2, ..., sn consisting of characters 0 and 1.m op...


Page 27 / Total 46