Logo
  • Home
  • Codeforces
  • Software
  • Home Page in Chinese
  • @xloypaypa
  • Search
Menu
Topic 175 Posts

codeforces

Solutions for Codeforce。Include Div2 and Div3. Include Div1 ABC(<2500) also.
Newer Posts Page 22 of 22

Codeforces Round #708 Genius - DP

By xloypaypa in codeforces on 28 Mar 2021

This problem remind you about the memory limitation at very begin. Normally, it's State compression DP.…

Codeforces Round #708 k-LCM - Construction

By xloypaypa in codeforces on 28 Mar 2021

When $k=3$, if n is a odd number, then the answer is: $a_0=1$, $a_1=\frac{n-1}{2}$, $a_2=\frac{n-1}{2}$ When $k>3$, we just fill up the array with 1 until last 3 elements.…

Codeforces Round #710 Div3 Solutions

By xloypaypa in codeforces on 27 Mar 2021

Solutions for all problems in Codeforces Round #710 Div3.…

Codeforces Round #709 Basic Diplomacy - Greedy

By xloypaypa in codeforces on 25 Mar 2021

Greedy. But the problem is how to prove. First of all, we have two different kinds of people. Type #1, the number of days they can join is not more than...…

Codeforces Round #705 K-beautiful Strings - implementation

By xloypaypa in codeforces on 21 Mar 2021

Of course greedy. But it's very clear. So more a implementation problem.…

Codeforces Round #706 Let's Go Hiking - Game

By xloypaypa in codeforces on 13 Mar 2021

Not hard, But need consider carefully. Still can be kind of game problem.…

Codeforces Round #706 Diamond Miner - Greedy

By xloypaypa in codeforces on 13 Mar 2021

Simple Greedy. Pair the points who have smaller absolute value as soon as we can.…

Newer Posts Page 22 of 22
xloypaypa's Blog © 2025 Published with Ghost • Theme Attila • System theme
DigitalOcean Referral Badge 蜀ICP备19018968号