Warning
I don't excel in CP, so some of the solutions might not be an AC one.
Here I store some CP solutions I've written in C++ on multiple platforms.
CP, standing for competitive programming, is a kind of sport. CP questions look pretty similar to programming interview questions.
Warning
Some problem descriptions are provided in Japanese only.
| ID | Difficulty | Title | File |
|---|---|---|---|
| averageshard | Easy | Paradox With Averages (Hard) | kattis_averageshard.cpp |
| joinstrings | Medium | Join Strings | kattis_joinstrings.cpp |
| lyklagangriti | Medium | Lyklagangriti | kattis_lyklagangriti.cpp |
| thanos | Easy | Thanos | kattis_thanos.cpp |
| treirad | Easy | Three in a Row | kattis_treirad.cpp |
| ID | Difficulty | Title | File |
|---|---|---|---|
| 1 | Easy | Two Sum | leetcode_1.cpp |
| 3 | Medium | Longest Substring Without Repeating Character | leetcode_3.cpp |
| 9 | Easy | Palindrome Number | leetcode_9.cpp |
| 13 | Easy | Roman to Integer | leetcode_13.cpp |
| 14 | Easy | Longest Common Prefix | leetcode_14.cpp |
| 70 | Easy | Climbing Stairs | leetcode_70.cpp |
Warning
Problem descriptions are provided in Traditional Chinese Mandarin only.
| ID | Title | File |
|---|---|---|
| 400 | 羅馬數字 | ntoj_400.cpp |
| 401 | 封印解除 | ntoj_401.cpp |
| 404 | 連號或不連號 | ntoj_404.cpp |
| 405 | 自戀數 | ntoj_405.cpp |
| 406 | 軍隊部署 | ntoj_406.cpp |
| 417 | 好狗狗 | ntoj_417.cpp |
| 418 | 樓梯間 | ntoj_418.cpp |
| 514 | 姊姊陪我玩 | ntoj_514.cpp |
| 1077 | 超水魔導術 | ntoj_1077.cpp |
| 1089 | 巴比倫之鑰 | ntoj_1089.cpp |
- AtCoder: https://atcoder.jp/
- Kattis: https://open.kattis.com/
- LeetCode: https://leetcode.com/
- NTOJ (aka New TNFSH Online Judge): https://toj.tfcis.org/oj/
MIT License