Codeforces Round 944 (Div. 4)

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
1971 Codeforces Round 944 (Div. 4) FINISHED False 8100 21828263 May 10, 2024, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 34683 ) C Clock and Strings PROGRAMMING implementation 900

B'There is a clock labeled with the numbers 1 through 12 in clockwise order, as shown below. In this example, (a,b,c,d)=(2,9,10,6) , and the strings intersect. Alice and Bob have four distinct integers a , b , c , d not more than 12 . Alice ties a red string connecting a and b , and Bob ties a blue string connecting c and d . Do the strings intersect? (The strings are straight line segments.) The first line contains a single integer t ( 1 <= q t <= q 5940 ) -- the number of test cases. The only line of each test case contains four distinct integers a , b , c , d ( 1 <= q a, b, c, d <= q 12 ). For each test case, output "YES" (without quotes) if the strings intersect, and "NO" (without quotes) otherwise. You can output "YES" and "NO" in any case (for example, strings "yEs", "yes", and "Yes" will be recognized as a positive response). The first test case is pictured in the statement. In the second test case, the strings do not intersect, as shown below. '...

Tutorials

Codeforces Round 944 (Div. 4) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
263220496 Osamaeslam C May 30, 2024, 10:13 a.m. OK C# 10 TESTS 3 77 1945600 900
263442611 Bad_Kpot C May 31, 2024, 9:28 a.m. OK C# 10 TESTS 3 93 1843200 900
263362467 justunderdog C May 30, 2024, 4:46 p.m. OK C# 10 TESTS 3 108 4096000 900
262468142 _998244353 C May 25, 2024, 6:27 a.m. OK C++14 (GCC 6-32) TESTS 3 30 0 900
262703945 why_0210 C May 26, 2024, 12:34 p.m. OK C++14 (GCC 6-32) TESTS 3 31 0 900
263677557 --aarchi C June 1, 2024, 8:03 p.m. OK C++14 (GCC 6-32) TESTS 3 46 0 900
263633174 Ant1K C June 1, 2024, 1:08 p.m. OK C++14 (GCC 6-32) TESTS 3 46 0 900
263565052 vjudge.5 C June 1, 2024, 2:39 a.m. OK C++14 (GCC 6-32) TESTS 3 46 0 900
263564024 luogu_bot2 C June 1, 2024, 2:23 a.m. OK C++14 (GCC 6-32) TESTS 3 46 0 900
263538520 kulungRAI C May 31, 2024, 6:18 p.m. OK C++14 (GCC 6-32) TESTS 3 46 0 900
263513404 Hatem25 C May 31, 2024, 2:38 p.m. OK C++14 (GCC 6-32) TESTS 3 46 0 900
263431444 Prerak_V C May 31, 2024, 7:45 a.m. OK C++14 (GCC 6-32) TESTS 3 46 0 900
263227179 Nitin_kansal C May 30, 2024, 11:07 a.m. OK C++14 (GCC 6-32) TESTS 3 46 0 900
262306930 mdkhaledmhamud220 C May 23, 2024, 7:36 p.m. OK C++17 (GCC 7-32) TESTS 3 15 0 900
263594613 Viee C June 1, 2024, 7:53 a.m. OK C++17 (GCC 7-32) TESTS 3 30 0 900
263374532 SubhaM_Giri C May 30, 2024, 6:18 p.m. OK C++17 (GCC 7-32) TESTS 3 30 0 900
263215661 xiaocongdan C May 30, 2024, 9:13 a.m. OK C++17 (GCC 7-32) TESTS 3 30 0 900
262454014 pineapple19 C May 25, 2024, 3:47 a.m. OK C++17 (GCC 7-32) TESTS 3 30 0 900
262427824 villash_992 C May 24, 2024, 6:50 p.m. OK C++17 (GCC 7-32) TESTS 3 30 0 900
262396443 skipp C May 24, 2024, 2:03 p.m. OK C++17 (GCC 7-32) TESTS 3 30 0 900
263404547 Jodemvel C May 31, 2024, 3:36 a.m. OK C++17 (GCC 7-32) TESTS 3 31 0 900
263195624 running_Turtle C May 30, 2024, 3:06 a.m. OK C++17 (GCC 7-32) TESTS 3 31 0 900
263179318 Murinh0 C May 29, 2024, 7:41 p.m. OK C++17 (GCC 7-32) TESTS 3 31 0 900
262228571 MOSSJD C May 23, 2024, 8:39 a.m. OK C++20 (GCC 13-64) TESTS 3 30 0 900
263170409 _PomPom C May 29, 2024, 5:02 p.m. OK C++20 (GCC 13-64) TESTS 3 30 0 900
263071695 MuhammedMagdy C May 28, 2024, 11:50 p.m. OK C++20 (GCC 13-64) TESTS 3 30 0 900
263069856 rim_guenidez C May 28, 2024, 10:55 p.m. OK C++20 (GCC 13-64) TESTS 3 30 0 900
262975024 joshuaChoi C May 28, 2024, 7:35 a.m. OK C++20 (GCC 13-64) TESTS 3 30 0 900
262960479 the.shadow_21 C May 28, 2024, 5:20 a.m. OK C++20 (GCC 13-64) TESTS 3 30 0 900
262519837 Para_D_ox C May 25, 2024, 2:22 p.m. OK C++20 (GCC 13-64) TESTS 3 30 0 900
262362361 raresh30 C May 24, 2024, 9:27 a.m. OK C++20 (GCC 13-64) TESTS 3 30 0 900
263195958 vjudge.3 C May 30, 2024, 3:17 a.m. OK C++20 (GCC 13-64) TESTS 3 31 0 900
263647729 hamadismail C June 1, 2024, 3:14 p.m. OK C++20 (GCC 13-64) TESTS 3 31 0 900
263164307 ritesh.230103033 C May 29, 2024, 3:45 p.m. OK GNU C11 TESTS 3 46 0 900
262989683 hackerbhaiya122 C May 28, 2024, 9:40 a.m. OK GNU C11 TESTS 3 46 102400 900
262657811 abir_just_cse C May 26, 2024, 6:22 a.m. OK GNU C11 TESTS 3 46 102400 900
262490506 truncatedsamosa C May 25, 2024, 9:42 a.m. OK GNU C11 TESTS 3 61 0 900
263431804 npayya C May 31, 2024, 7:48 a.m. OK GNU C11 TESTS 3 61 0 900
263601417 Brajeshpai C June 1, 2024, 8:49 a.m. OK GNU C11 TESTS 3 62 0 900
263602048 npayya C June 1, 2024, 8:54 a.m. OK GNU C11 TESTS 3 62 0 900
263354577 praneethgarre C May 30, 2024, 4:26 p.m. OK GNU C11 TESTS 3 62 0 900
262616301 7emerka C May 25, 2024, 6:29 p.m. OK GNU C11 TESTS 3 62 102400 900
263526370 swetasachan777 C May 31, 2024, 4:29 p.m. OK GNU C11 TESTS 3 62 102400 900
262793050 immortalfox C May 26, 2024, 6:57 p.m. OK Go TESTS 3 46 204800 900
262789986 immortalfox C May 26, 2024, 6:22 p.m. OK Go TESTS 3 62 204800 900
263502656 Abdurauf_Isokjonov C May 31, 2024, 1:09 p.m. OK Go TESTS 3 108 512000 900
262792450 XJaryd C May 26, 2024, 6:50 p.m. OK Go TESTS 3 108 1331200 900
263599478 YeWeiQiang C June 1, 2024, 8:33 a.m. OK Go TESTS 3 124 512000 900
263189880 epicplayer12346 C May 29, 2024, 10:57 p.m. OK Java 21 TESTS 3 171 307200 900
262353096 pratikscfr C May 24, 2024, 8:09 a.m. OK Java 21 TESTS 3 202 614400 900
263589466 debu_27 C June 1, 2024, 7:09 a.m. OK Java 21 TESTS 3 203 512000 900
263053002 bhavya_boda C May 28, 2024, 6:27 p.m. OK Java 21 TESTS 3 217 921600 900
262619648 orangetnt8 C May 25, 2024, 7:43 p.m. OK Java 21 TESTS 3 218 0 900
262975155 erreze C May 28, 2024, 7:36 a.m. OK Java 21 TESTS 3 218 307200 900
262335384 Hrushi_2006 C May 24, 2024, 5:06 a.m. OK Java 21 TESTS 3 218 1024000 900
263222655 anshpatel2434 C May 30, 2024, 10:33 a.m. OK Java 21 TESTS 3 233 0 900
263422949 Chelick_pjvpjvpjv1 C May 31, 2024, 6:39 a.m. OK Java 21 TESTS 3 233 921600 900
262420186 Johnes_01 C May 24, 2024, 5:32 p.m. OK Java 21 TESTS 3 234 921600 900
263569410 thrasher C June 1, 2024, 3:42 a.m. OK Java 8 TESTS 3 139 0 900
263408976 lavender_me C May 31, 2024, 4:30 a.m. OK Java 8 TESTS 3 140 0 900
262306270 UniversalAdmin C May 23, 2024, 7:27 p.m. OK Java 8 TESTS 3 155 0 900
263613167 aparna_nagpal C June 1, 2024, 10:27 a.m. OK Java 8 TESTS 3 171 0 900
263405772 soze22 C May 31, 2024, 3:51 a.m. OK Java 8 TESTS 3 171 0 900
263434478 trimoyee_ghosh C May 31, 2024, 8:10 a.m. OK Java 8 TESTS 3 187 0 900
263622573 Dhyanam2005 C June 1, 2024, 11:37 a.m. OK Java 8 TESTS 3 202 0 900
263507289 _z_ZZ C May 31, 2024, 1:49 p.m. OK Java 8 TESTS 3 202 0 900
262910111 arpit.mishra C May 27, 2024, 4:31 p.m. OK Java 8 TESTS 3 202 0 900
262922604 MrunalrajRedij C May 27, 2024, 6:30 p.m. OK Java 8 TESTS 3 203 0 900
262182744 smilegupta C May 22, 2024, 6:25 p.m. OK JavaScript TESTS 3 77 1536000 900
262428454 housni C May 24, 2024, 6:57 p.m. OK Kotlin 1.7 TESTS 3 390 13926400 900
263396491 timmyfeng C May 31, 2024, 1:11 a.m. OK OCaml TESTS 3 46 0 900
263396440 timmyfeng C May 31, 2024, 1:10 a.m. OK OCaml TESTS 3 46 0 900
263160621 Ashutosh352 C May 29, 2024, 3:10 p.m. OK PyPy 3 TESTS 3 140 3891200 900
262486963 klu-2100030642 C May 25, 2024, 9:17 a.m. OK PyPy 3 TESTS 3 171 6451200 900
262641397 kumikooumae C May 26, 2024, 3:22 a.m. OK PyPy 3 TESTS 3 233 9216000 900
262870319 austrianpainter C May 27, 2024, 11:19 a.m. OK PyPy 3 TESTS 3 249 6656000 900
263255256 zorosu C May 30, 2024, 1:24 p.m. OK PyPy 3 TESTS 3 281 9113600 900
262832839 _Buzin_ C May 27, 2024, 6:01 a.m. OK PyPy 3 TESTS 3 343 9625600 900
262443085 NitroSpear C May 24, 2024, 11:12 p.m. OK PyPy 3-64 TESTS 3 109 3379200 900
263054333 _Alan_Turing_ C May 28, 2024, 6:40 p.m. OK PyPy 3-64 TESTS 3 124 2969600 900
263171391 bkifhr8 C May 29, 2024, 5:17 p.m. OK PyPy 3-64 TESTS 3 124 3379200 900
262422958 Kirill736 C May 24, 2024, 5:59 p.m. OK PyPy 3-64 TESTS 3 139 4812800 900
263379718 DaniilBarmin C May 30, 2024, 7:14 p.m. OK PyPy 3-64 TESTS 3 140 4300800 900
263703554 darkHorse0410 C June 2, 2024, 5:40 a.m. OK PyPy 3-64 TESTS 3 140 4403200 900
262339775 cperkkk C May 24, 2024, 5:58 a.m. OK PyPy 3-64 TESTS 3 140 5222400 900
262510792 Yuvraj_2004 C May 25, 2024, 12:47 p.m. OK PyPy 3-64 TESTS 3 140 5632000 900
262368389 Tar12341 C May 24, 2024, 10:19 a.m. OK PyPy 3-64 TESTS 3 155 2969600 900
262663591 gian10 C May 26, 2024, 7:09 a.m. OK PyPy 3-64 TESTS 3 155 3891200 900
263098550 klu2100031976 C May 29, 2024, 6:52 a.m. OK Python 3 TESTS 3 62 0 900
263087919 prattaydey C May 29, 2024, 5:05 a.m. OK Python 3 TESTS 3 62 0 900
263073448 darkcodeemohammed C May 29, 2024, 12:41 a.m. OK Python 3 TESTS 3 62 0 900
262926716 satyajit_comder C May 27, 2024, 7:17 p.m. OK Python 3 TESTS 3 62 0 900
262427208 darsiov C May 24, 2024, 6:42 p.m. OK Python 3 TESTS 3 62 0 900
262352384 2210080018 C May 24, 2024, 8:03 a.m. OK Python 3 TESTS 3 62 0 900
263697325 Jenish.V C June 2, 2024, 4:07 a.m. OK Python 3 TESTS 3 77 0 900
263630782 yasseinhamdy15 C June 1, 2024, 12:46 p.m. OK Python 3 TESTS 3 77 0 900
263525225 menna02 C May 31, 2024, 4:19 p.m. OK Python 3 TESTS 3 77 0 900
263248027 CEasonK C May 30, 2024, 12:32 p.m. OK Python 3 TESTS 3 77 0 900
262631430 SnowballSH C May 25, 2024, 11:36 p.m. OK Rust 2021 TESTS 3 46 0 900
262491715 Qubut C May 25, 2024, 9:52 a.m. OK Rust 2021 TESTS 3 61 0 900
262750167 kokatsu C May 26, 2024, 3:12 p.m. OK Rust 2021 TESTS 3 62 0 900

remove filters

Back to search problems