Skip to content

About

This is just a repository where i upload my Codeforces and Leetcode solutions (nothing serious)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

194 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Competitive Programming Practice

52 C++ practice solutions, kept at their existing paths. This is a learning archive, not a claim of current Codeforces acceptance or a general-purpose input-processing library.

Browse the live repository

Reproduce the checks

Requires Python 3 and GCC with C++20 support. No downloaded packages are needed.

python3 tests/check.py

The checker compiles all 52 sources, including four extensionless C++ files, and runs 109 input/output samples extracted from the problem statements already archived here. Four older extensionless files have no archived statement samples; those are compile-checked only. Token comparison ignores whitespace and allows a 1e-6 tolerance for numeric output. These checks are not exhaustive proofs, fresh judge submissions, or tests of malicious input outside contest constraints. Problem READMEs retain historical export metadata, including verdicts and ratings; those are not independently revalidated.

Repair notes

The archived source export contained non-breaking spaces that GCC rejected, and some quoted newlines were split across lines. Those transport defects are repaired without renaming or removing sources. The problem-solving algorithms are retained. Beautiful Matrix rejects truncated input or a missing target instead of using uninitialized coordinates; loop counters and character conversions are type-safe. CI runs the same checks on pushes and pull requests with read-only repository permissions. Programs read standard input and write standard output; there is no deployed server, account, or paid service.

Index

Problem Code Samples
4A: Watermelon Source 1
41A: Translation Source 3
50A: Domino piling Source 2
59A: Word Source 3
61A: Ultra-Fast Mathematician Source 4
71A: Way Too Long Words Source 1
110A: Nearly Lucky Number Source 3
112A: Petya and Strings Source 3
116A: Tram Source 1
136A: Presents Source 3
144A: Arrival of the General Source 2
148A: Insomnia cure Source 2
158A: Next Round Source 2
200B: Drinks Source 2
228A: Is your horseshoe on the other hoof Source 0
231A: Team Source 2
236A: Boy or Girl Source 3
263A: Beautiful Matrix Source 2
266A: Stones on the Table Source 3
266B: Queue at the School Source 3
268A: Games Source 3
271A: Beautiful Year Source 2
281A: Word Capitalization Source 2
282A: Bit++ Source 2
339A: Helpful Maths Source 3
344A: Magnets Source 2
381A: Sereja and Dima Source 2
443A: Anton and Letters Source 3
467A: George and Accommodation Source 2
469A: I Wanna Be the Guy Source 2
486A: Calculating Function Source 2
520A: Pangram Source 2
546A: Soldier and Bananas Source 1
581A: Vasya the Hipster Source 3
617A: Elephant Source 2
677A: Vanya and Fence Source 3
678A: Johny Likes Numbers Source 3
702A: Maximum Increase Source 3
705A: Hulk Source 3
734A: Anton and Danik Source 3
785A: Anton and Polyhedrons Source 2
791A: Bear and Big Brother Source 3
977A: Wrong Subtraction Source 2
996A: Hit the Lottery Source 3
1030A: In Search of an Easy Problem Source 2
1328A: Divisibility Problem Source 1
1669A: Division Source 0
1703A: YES or YES Source 0
1760A: Medium Number Source 1
1807A: Plus or Minus Source 1
1915A: Odd One Out Source 1
2167A: Square Source 0

Problem statements and sample inputs/outputs are attributed to Codeforces and their original authors. Historical imports used CFPusher. No license grant is implied for third-party statements.

About

This is just a repository where i upload my Codeforces and Leetcode solutions (nothing serious)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages