Codeforces Round 937 (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
1950 Codeforces Round 937 (Div. 4) FINISHED False 8100 25542863 March 28, 2024, 2:45 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 41456 ) C Clock Conversion PROGRAMMING implementation math

B'Given the time in 24-hour format, output the equivalent time in 12-hour format. The first line contains a single integer t ( 1 <= q t <= q 1440 ) -- the number of test cases. The only line of each test case contains a string s of length 5 with format hh:mm representing a valid time in the 24-hour format. hh represents the hour from 00 to 23 , and mm represents the minute from 00 to 59 . The input will always be a valid time in 24-hour format. For each test case, output two strings separated by a space ("hh:mm AM" or "hh:mm PM"), which are the 12-hour equivalent to the time provided in the test case (without quotes). You should output the time exactly as indicated; in particular, you should not remove leading zeroes. '...

Tutorials

Codeforces Round 937 (Div. 4) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
253869569 karamkontar C March 29, 2024, 12:57 a.m. OK C# 10 TESTS 2 31 614400
253869662 karamkontar C March 29, 2024, 12:59 a.m. OK C# 10 TESTS 2 46 102400
253856908 Anastasiya_Andreevna C March 28, 2024, 9:06 p.m. OK C# 10 TESTS 2 46 204800
253846242 crimsontea C March 28, 2024, 7:17 p.m. OK C# 10 TESTS 2 77 0
253854734 AQUA-CODE C March 28, 2024, 8:39 p.m. OK C# 10 TESTS 2 77 614400
253888782 Pirate9999999 C March 29, 2024, 5:32 a.m. OK C++14 (GCC 6-32) TESTS 2 0 0
253888248 Yaoyao0625 C March 29, 2024, 5:27 a.m. OK C++14 (GCC 6-32) TESTS 2 0 0
253885542 goldener C March 29, 2024, 4:59 a.m. OK C++14 (GCC 6-32) TESTS 2 0 0
253884729 Nebula0815 C March 29, 2024, 4:50 a.m. OK C++14 (GCC 6-32) TESTS 2 0 0
253883278 Realfalse C March 29, 2024, 4:33 a.m. OK C++14 (GCC 6-32) TESTS 2 0 0
253884027 Aryansh_kr_1 C March 29, 2024, 4:41 a.m. OK C++14 (GCC 6-32) TESTS 2 0 0
253882717 jiangxiangdoufupi C March 29, 2024, 4:27 a.m. OK C++14 (GCC 6-32) TESTS 2 0 0
253890950 N0V1CE C March 29, 2024, 5:51 a.m. OK C++14 (GCC 6-32) TESTS 2 0 0
253889161 QwQdsb C March 29, 2024, 5:35 a.m. OK C++14 (GCC 6-32) TESTS 2 0 0
253889105 Sarthak_03 C March 29, 2024, 5:35 a.m. OK C++14 (GCC 6-32) TESTS 2 0 0
253891540 _end C March 29, 2024, 5:56 a.m. OK C++17 (GCC 7-32) TESTS 2 0 0
253891893 Balispandan26 C March 29, 2024, 5:59 a.m. OK C++17 (GCC 7-32) TESTS 2 0 0
253891847 SAFY-2006 C March 29, 2024, 5:59 a.m. OK C++17 (GCC 7-32) TESTS 2 0 0
253891438 tamal_kanti123 C March 29, 2024, 5:55 a.m. OK C++17 (GCC 7-32) TESTS 2 0 0
253891211 tensor7 C March 29, 2024, 5:53 a.m. OK C++17 (GCC 7-32) TESTS 2 0 0
253891074 BinaryMonk C March 29, 2024, 5:52 a.m. OK C++17 (GCC 7-32) TESTS 2 0 0
253890946 8kaiju C March 29, 2024, 5:51 a.m. OK C++17 (GCC 7-32) TESTS 2 0 0
253890910 Vignan00 C March 29, 2024, 5:50 a.m. OK C++17 (GCC 7-32) TESTS 2 0 0
253890876 Kang_sj C March 29, 2024, 5:50 a.m. OK C++17 (GCC 7-32) TESTS 2 0 0
253890810 xiaole520 C March 29, 2024, 5:49 a.m. OK C++17 (GCC 7-32) TESTS 2 0 0
253887048 Mysterious109 C March 29, 2024, 5:15 a.m. OK C++20 (GCC 13-64) TESTS 2 0 0
253886345 frissky9 C March 29, 2024, 5:08 a.m. OK C++20 (GCC 13-64) TESTS 2 0 0
253891095 RaghadMusleh C March 29, 2024, 5:52 a.m. OK C++20 (GCC 13-64) TESTS 2 0 0
253890855 MashrafeBoss C March 29, 2024, 5:50 a.m. OK C++20 (GCC 13-64) TESTS 2 0 0
253890678 ravishah6403 C March 29, 2024, 5:48 a.m. OK C++20 (GCC 13-64) TESTS 2 0 0
253890483 _The_Coding_Son_ C March 29, 2024, 5:46 a.m. OK C++20 (GCC 13-64) TESTS 2 0 0
253888209 SCUTkk C March 29, 2024, 5:26 a.m. OK C++20 (GCC 13-64) TESTS 2 0 0
253888078 YukidarumaMello C March 29, 2024, 5:25 a.m. OK C++20 (GCC 13-64) TESTS 2 0 0
253887343 brokie C March 29, 2024, 5:18 a.m. OK C++20 (GCC 13-64) TESTS 2 0 0
253887246 the_fool C March 29, 2024, 5:17 a.m. OK C++20 (GCC 13-64) TESTS 2 0 0
253863878 bluemegane C March 28, 2024, 10:56 p.m. OK C# 8 TESTS 2 46 204800
253869250 Spideyy C March 29, 2024, 12:51 a.m. OK C# 8 TESTS 2 61 307200
253844335 NenadDapic C March 28, 2024, 7 p.m. OK FPC TESTS 2 31 102400
253861342 YahirGlez C March 28, 2024, 10:11 p.m. OK GNU C11 TESTS 2 15 0
253855460 Scyther_04 C March 28, 2024, 8:48 p.m. OK GNU C11 TESTS 2 15 0
253852574 amit220230 C March 28, 2024, 8:17 p.m. OK GNU C11 TESTS 2 15 0
253851436 MooNaz C March 28, 2024, 8:06 p.m. OK GNU C11 TESTS 2 15 0
253836673 zahid_jim C March 28, 2024, 6:02 p.m. OK GNU C11 TESTS 2 15 0
253882682 Varnika.17 C March 29, 2024, 4:26 a.m. OK GNU C11 TESTS 2 15 0
253863917 nafisaan_ C March 28, 2024, 10:57 p.m. OK GNU C11 TESTS 2 15 204800
253859177 code-l404b C March 28, 2024, 9:37 p.m. OK GNU C11 TESTS 2 15 307200
253891445 abdurrahimemon111 C March 29, 2024, 5:55 a.m. OK GNU C11 TESTS 2 15 307200
253861204 VINSENT_01 C March 28, 2024, 10:09 p.m. OK GNU C11 TESTS 2 15 307200
253869747 where_is_my_mind C March 29, 2024, 1 a.m. OK Go TESTS 2 15 102400
253835920 Rakesh_Kedia C March 28, 2024, 5:57 p.m. OK Java 21 TESTS 2 187 409600
253851013 Amrkollohm C March 28, 2024, 8:01 p.m. OK Java 21 TESTS 2 202 0
253837737 traveller27 C March 28, 2024, 6:10 p.m. OK Java 21 TESTS 2 217 0
253873200 kiranfartade C March 29, 2024, 2:07 a.m. OK Java 21 TESTS 2 217 409600
253836511 Tjha C March 28, 2024, 6:01 p.m. OK Java 21 TESTS 2 218 716800
253847991 Last-Huntsman C March 28, 2024, 7:32 p.m. OK Java 21 TESTS 2 233 0
253875228 dyh-is-last-one C March 29, 2024, 2:39 a.m. OK Java 21 TESTS 2 233 512000
253843665 SilentSunset C March 28, 2024, 6:54 p.m. OK Java 21 TESTS 2 234 102400
253884929 divyalaldinani C March 29, 2024, 4:52 a.m. OK Java 21 TESTS 2 248 204800
253872336 AlFuad C March 29, 2024, 1:52 a.m. OK Java 21 TESTS 2 249 0
253877634 NerfThis C March 29, 2024, 3:16 a.m. OK Java 8 TESTS 2 77 0
253842643 Sumitsingh7 C March 28, 2024, 6:45 p.m. OK Java 8 TESTS 2 93 5734400
253891208 faresbadr316 C March 29, 2024, 5:53 a.m. OK Java 8 TESTS 2 108 0
253842035 sathvikch C March 28, 2024, 6:42 p.m. OK Java 8 TESTS 2 109 0
253842798 Maxxi_24 C March 28, 2024, 6:47 p.m. OK Java 8 TESTS 2 124 0
253888422 Mohan999 C March 29, 2024, 5:28 a.m. OK Java 8 TESTS 2 139 0
253885841 Mr_ToXo C March 29, 2024, 5:03 a.m. OK Java 8 TESTS 2 139 0
253846337 madhu_07_kate C March 28, 2024, 7:18 p.m. OK Java 8 TESTS 2 139 0
253844844 bondchi C March 28, 2024, 7:04 p.m. OK Java 8 TESTS 2 139 0
253842669 sathvikch C March 28, 2024, 6:46 p.m. OK Java 8 TESTS 2 140 0
253876911 khanhsb C March 29, 2024, 3:06 a.m. OK Kotlin 1.9 TESTS 2 108 0
253861833 cryptickid91 C March 28, 2024, 10:19 p.m. OK Node.js TESTS 2 46 1228800
253846070 rsFalse C March 28, 2024, 7:16 p.m. OK Perl TESTS 2 15 0
253864467 crapcode C March 28, 2024, 11:09 p.m. OK PHP TESTS 2 15 0
253872633 rasheed_ashen_one C March 29, 2024, 1:57 a.m. OK PyPy 3 TESTS 2 109 2560000
253862694 EvGen1u5 C March 28, 2024, 10:34 p.m. OK PyPy 3 TESTS 2 139 4608000
253852916 savthe C March 28, 2024, 8:20 p.m. OK PyPy 3 TESTS 2 155 4608000
253842730 Arishafml C March 28, 2024, 6:46 p.m. OK PyPy 3 TESTS 2 170 5529600
253845262 detective...dots C March 28, 2024, 7:08 p.m. OK PyPy 3-64 TESTS 2 61 4505600
253878126 Youarenotgood C March 29, 2024, 3:24 a.m. OK PyPy 3-64 TESTS 2 62 4710400
253874088 Captainfly C March 29, 2024, 2:22 a.m. OK PyPy 3-64 TESTS 2 77 3481600
253848337 MaxValgen_ C March 28, 2024, 7:35 p.m. OK PyPy 3-64 TESTS 2 77 4096000
253851840 MassimoG C March 28, 2024, 8:10 p.m. OK PyPy 3-64 TESTS 2 77 4300800
253891450 N1664 C March 29, 2024, 5:55 a.m. OK PyPy 3-64 TESTS 2 77 4505600
253838889 voicon C March 28, 2024, 6:19 p.m. OK PyPy 3-64 TESTS 2 77 4608000
253853131 shadowcoder023 C March 28, 2024, 8:22 p.m. OK PyPy 3-64 TESTS 2 78 4505600
253837331 cybsbbb C March 28, 2024, 6:07 p.m. OK PyPy 3-64 TESTS 2 93 4915200
253867146 zlibigot C March 29, 2024, 12:03 a.m. OK PyPy 3-64 TESTS 2 108 5836800
253837669 OLOGY C March 28, 2024, 6:10 p.m. OK Python 2 TESTS 2 31 0
253867761 peacemr999 C March 29, 2024, 12:18 a.m. OK Python 3 TESTS 2 15 0
253882647 eugalt C March 29, 2024, 4:26 a.m. OK Python 3 TESTS 2 15 102400
253884232 thumulashashi C March 29, 2024, 4:44 a.m. OK Python 3 TESTS 2 30 0
253880018 zxk777 C March 29, 2024, 3:52 a.m. OK Python 3 TESTS 2 30 0
253879442 ss6xybr8in C March 29, 2024, 3:43 a.m. OK Python 3 TESTS 2 30 0
253871546 anonymous045 C March 29, 2024, 1:36 a.m. OK Python 3 TESTS 2 30 0
253870711 s.kuwari0707 C March 29, 2024, 1:19 a.m. OK Python 3 TESTS 2 30 0
253850824 REDGAR C March 28, 2024, 8 p.m. OK Python 3 TESTS 2 30 0
253845498 natnael_necho C March 28, 2024, 7:10 p.m. OK Python 3 TESTS 2 30 0
253870651 aditya_codes_iitp C March 29, 2024, 1:18 a.m. OK Python 3 TESTS 2 30 102400
253861397 savthe C March 28, 2024, 10:12 p.m. OK Rust 2021 TESTS 2 0 0
253861003 AZERTY_00 C March 28, 2024, 10:06 p.m. OK Rust 2021 TESTS 2 15 0

remove filters

Back to search problems