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 6 of 22 Older Posts

Educational Codeforces Round 116 ABCE Solutions (Java/C++)

By xloypaypa in codeforces on 02 Nov 2021

A. AB Balance Solution: Obviously, if the beginning and ending letters are the same letter, AB(s) must be equal to BA(s). Code: Java C++…

Educational Codeforces Round 116 Arena Solution (Java/C++)

By xloypaypa in codeforces on 02 Nov 2021

Solution: Based on the size of the data, we can almost infer that the final complexity should be $n\cdot x$.…

Codeforces Round #751 (Div. 2) ABCD Solutions (Java/C++)

By xloypaypa in codeforces on 30 Oct 2021

A. Two Subsequences Solution: Obviously the string a will only have one letter. We only need to find the smallest letter in the original string. Code: Java C++…

Codeforces Round #751 (Div. 2) Frog Traveler Solution (Java/C++)

By xloypaypa in codeforces on 30 Oct 2021

Solution: First of all, because after reaching 0, there will be no slip. Therefore, we consider slip as part of the ability to jump.…

Codeforces Round #750 ABCDE Solutions (Java/C++)

By xloypaypa in codeforces on 27 Oct 2021

A. Luntik and Concerts It's easy to guess the result: just look at the parity of the total time. But the proof of this topic is still a bit interesting.…

Codeforces Round #750 Pchelyonok and Segments Solution (Java/C++)

By xloypaypa in codeforces on 27 Oct 2021

Solution: Let's take k=3, n=10 as an example, consider the choice of [l1, r1], consider the following two choices: [4, 6] and [3, 5].…

Codeforces Round #750 Luntik and Concerts Solution (Java/C++)

By xloypaypa in codeforces on 26 Oct 2021

Solution: Let me show the conclusion first. The conclusion is that if the total time is an even number, output 0, otherwise output 1.…

Codeforces Round #748 ABCDEFG ​Solutions (Java/C++)

By xloypaypa in codeforces on 17 Oct 2021

A. Elections Solution: Calculate the difference between the maximum number of votes of the other two people and add one. Code: Java C++…

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