qwexd's blog

By qwexd, 32 hours ago, In English

Codeforces Round 1121 — Editorial

Thanks for participating!

2264A - Rumb Needs a Hand

Problem by qwexd.

Hint
Solution
Code (GNU C++17)

2264B - Knife's Pill Farm

Problem by qwexd.

Hint 1
Hint 2
Solution
Code (GNU C++17)

2264C - Madamant's Skating Dynasty

Problem by qwexd.

Hint 1
Hint 2
Solution
Code (GNU C++17)

2264D - Dr. Agos's Dark Mode

Problem by qwexd.

Hint 1
Hint 2
Hint 3
Solution
Code (GNU C++17)

2264E1 - A Prime Flood (Easy Version)

Problem by qwexd.

Hint 1
Hint 2
Hint 3
Solution
Code (GNU C++17)

2264E2 - A Prime Flood (Hard Version)

Problem by qwexd and solved for bigger constraints by jeroenodb.

Hint 1
Hint 2
Hint 3
Solution
Code (GNU C++17)

2264F - Deranged Calculator

Problem by jeroenodb. Testing tool created by turska

Hint 1
Hint 2
Hint 3
Solution
Code (PyPy 3)
Code (PyPy 3) simplified and golfed
  • Vote: I like it
  • +34
  • Vote: I do not like it

»
2 hours ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

F can be solved in 1661 characters

Solution by ChatGPT: 390658725

»
2 hours ago, hide # |
Rev. 2  
Vote: I like it -13 Vote: I do not like it

Deleted

»
114 minutes ago, hide # |
Rev. 5  
Vote: I like it 0 Vote: I do not like it

Got it

»
106 minutes ago, hide # |
 
Vote: I like it +8 Vote: I do not like it

As an author, thanks for participating! I am pretty curious how small expressions for problem F you can get. The editorial is in no way the best approach, but it was the original way I solved the problem. Testers already found some different approaches.

»
8 minutes ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Sleepforces