Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.
ContestId |
Name |
Phase |
Frozen |
Duration (Seconds) |
Relative Time |
Start Time |
|---|---|---|---|---|---|---|
| 2227 | Codeforces Round 1096 (Div. 3) | FINISHED | False | 9000 | 2820287 | April 30, 2026, 2:35 p.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 26030 ) | A | Koshary | PROGRAMMING | implementation math |
Yousef is at the coordinates ((0, 0)) and wants to reach a plate of Koshary at ((x, y)). To get there, Yousef takes long steps. From any point ((a, b)), a long step moves him to: ((a + 2, b)) or ((a, b + 2)) However, Yousef is allowed to take at most one short step during his entire journey. A short step moves him to: ((a + 1, b)) or ((a, b + 1)) Can Yousef reach the exact coordinates ((x, y)) of the Koshary plate? The first line contains an integer (t) ((1 \le t \le 100)) — the number of test cases. Each test case contains two integers (x) and (y) ((1 \le x, y \le 10)) — the coordinates of the Koshary plate. For each test case, output " YES " if Yousef can reach the Koshary plate and " NO " otherwise. You can output the answer in any case (upper or lower). For example, the strings " yEs ", " yes ", " Yes ", and " YES " will be recognized as positive responses. In the first test case, it is impossible to reach ((1, 1)) using the mentioned steps. In the second test case, an optimal sequence of steps would be: ()(0, 0) \xrightarrow{long} (0, 2) \xrightarrow{short} (1, 2)() In the third test case, an optimal sequence of steps would be: ()(0, 0) \xrightarrow{long} (0, 2) \xrightarrow{long} (2, 2) \xrightarrow{long} (2, 4) \xrightarrow{long} (4, 4) \xrightarrow{long} (4, 6)() |
| Codeforces Round 1096 (Div. 3) — Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 373197887 | Alt-Suchit | A | May 1, 2026, 5:35 a.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 0 | 0 | ||
| 373169787 | patolevedant11 | A | April 30, 2026, 6:36 p.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 0 | 0 | ||
| 373166145 | Gononajontro_Biggani | A | April 30, 2026, 5:53 p.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 0 | 0 | ||
| 373165344 | sidcodeforces_22 | A | April 30, 2026, 5:44 p.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 0 | 0 | ||
| 373162031 | GuarnerosGA | A | April 30, 2026, 5:11 p.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 0 | 0 | ||
| 373160634 | Songggggggy | A | April 30, 2026, 5:03 p.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 0 | 0 | ||
| 373155895 | Mahmudul00 | A | April 30, 2026, 4:48 p.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 0 | 0 | ||
| 373152541 | yousufali123 | A | April 30, 2026, 4:37 p.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 0 | 0 | ||
| 373199975 | Akash_Thakur | A | May 1, 2026, 6:06 a.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 15 | 0 | ||
| 373199829 | tanmaychauhan__ | A | May 1, 2026, 6:04 a.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 15 | 0 |
Back to search problems