Codeforces Round 898 (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
1873 Codeforces Round 898 (Div. 4) FINISHED False 9000 36516299 Sept. 21, 2023, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 41836 ) C Target Practice PROGRAMMING implementation math

B'A 10 x 10 target is made out of five "rings" as shown. Each ring has a different point value: the outermost ring -- 1 point, the next ring -- 2 points, ..., the center ring -- 5 points. Vlad fired several arrows at the target. Help him determine how many points he got. The input consists of multiple test cases. The first line of the input contains a single integer t ( 1 <= q t <= q 1000 ) -- the number of test cases. Each test case consists of 10 lines, each containing 10 characters. Each character in the grid is either texttt{X} (representing an arrow) or texttt{.} (representing no arrow). For each test case, output a single integer -- the total number of points of the arrows. In the first test case, there are three arrows on the outer ring worth 1 point each, two arrows on the ring worth 3 points each, and two arrows on the ring worth 4 points each. The total score is 3 x 1 + 2 x 3 + 2 x 4 = 17 . In the second test case, there aren 't any arrows, so the score is 0 . '...

Tutorials

120634

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
224536272 Morty_Coder C Sept. 21, 2023, 10:19 p.m. OK C# 10 TESTS 3 108 1740800
224536951 bluemegane C Sept. 21, 2023, 10:35 p.m. OK C# 8 TESTS 3 187 614400
224553181 SlowMagic C Sept. 22, 2023, 3:51 a.m. OK Clang++20 Diagnostics TESTS 3 62 0
224548454 qiaochu C Sept. 22, 2023, 2:40 a.m. OK Clang++20 Diagnostics TESTS 3 78 0
224532145 THK_is_dead C Sept. 21, 2023, 8:56 p.m. OK GNU C11 TESTS 3 15 0
224543691 IkezawaHanako C Sept. 22, 2023, 1:19 a.m. OK GNU C11 TESTS 3 15 0
224544398 Rajorshi_Das C Sept. 22, 2023, 1:32 a.m. OK GNU C11 TESTS 3 15 0
224557437 ahmedafeef C Sept. 22, 2023, 4:46 a.m. OK GNU C11 TESTS 3 15 0
224557813 ahmedafeef C Sept. 22, 2023, 4:51 a.m. OK GNU C11 TESTS 3 15 0
224561973 madhav4125 C Sept. 22, 2023, 5:39 a.m. OK GNU C11 TESTS 3 15 0
224523769 zigouris C Sept. 21, 2023, 7:13 p.m. OK GNU C11 TESTS 3 15 0
224548803 vjudge4 C Sept. 22, 2023, 2:46 a.m. OK GNU C11 TESTS 3 31 0
224559379 m_d_k_13 C Sept. 22, 2023, 5:10 a.m. OK GNU C11 TESTS 3 31 0
224554030 Rishi19 C Sept. 22, 2023, 3:57 a.m. OK GNU C11 TESTS 3 31 0
224525639 canuplsstfu C Sept. 21, 2023, 7:33 p.m. OK GNU C++14 TESTS 3 0 0
224524498 tamminaina_y C Sept. 21, 2023, 7:21 p.m. OK GNU C++14 TESTS 3 0 0
224555232 kuguadawang C Sept. 22, 2023, 4:15 a.m. OK GNU C++14 TESTS 3 0 0
224552837 JorbanS C Sept. 22, 2023, 3:47 a.m. OK GNU C++14 TESTS 3 0 0
224552060 r_q C Sept. 22, 2023, 3:36 a.m. OK GNU C++14 TESTS 3 0 0
224539731 anuraggoudlingala39312 C Sept. 21, 2023, 11:52 p.m. OK GNU C++14 TESTS 3 0 0
224539151 zltzlt C Sept. 21, 2023, 11:35 p.m. OK GNU C++14 TESTS 3 0 0
224545634 C1ANCYY C Sept. 22, 2023, 1:55 a.m. OK GNU C++14 TESTS 3 0 409600
224558007 Akct C Sept. 22, 2023, 4:53 a.m. OK GNU C++14 TESTS 3 0 100352000
224563931 hnust_wunengwu C Sept. 22, 2023, 5:59 a.m. OK GNU C++14 TESTS 3 15 0
224563056 MehradSh C Sept. 22, 2023, 5:50 a.m. OK GNU C++17 TESTS 3 0 0
224563350 tnakao C Sept. 22, 2023, 5:53 a.m. OK GNU C++17 TESTS 3 0 0
224562575 S.R._Mahee C Sept. 22, 2023, 5:45 a.m. OK GNU C++17 TESTS 3 0 0
224562487 kanu_2303 C Sept. 22, 2023, 5:44 a.m. OK GNU C++17 TESTS 3 0 0
224562167 cannizzarokun C Sept. 22, 2023, 5:41 a.m. OK GNU C++17 TESTS 3 0 0
224561623 Sally_Fakhreddine C Sept. 22, 2023, 5:35 a.m. OK GNU C++17 TESTS 3 0 0
224560328 zeq.drj C Sept. 22, 2023, 5:21 a.m. OK GNU C++17 TESTS 3 0 0
224561505 ThreeTB C Sept. 22, 2023, 5:34 a.m. OK GNU C++17 TESTS 3 0 0
224559508 itstanmaykumar C Sept. 22, 2023, 5:12 a.m. OK GNU C++17 TESTS 3 0 0
224557480 bit_kyopro C Sept. 22, 2023, 4:46 a.m. OK GNU C++17 TESTS 3 0 0
224545934 SugarT C Sept. 22, 2023, 2 a.m. OK GNU C++17 (64) TESTS 3 0 0
224559137 zhi_fan C Sept. 22, 2023, 5:07 a.m. OK GNU C++17 (64) TESTS 3 0 0
224552403 katie019326 C Sept. 22, 2023, 3:41 a.m. OK GNU C++17 (64) TESTS 3 0 0
224551958 Vionia C Sept. 22, 2023, 3:35 a.m. OK GNU C++17 (64) TESTS 3 0 0
224549568 Bhscer C Sept. 22, 2023, 2:58 a.m. OK GNU C++17 (64) TESTS 3 0 0
224549421 JJJD C Sept. 22, 2023, 2:56 a.m. OK GNU C++17 (64) TESTS 3 0 0
224544959 DGZwTrg C Sept. 22, 2023, 1:42 a.m. OK GNU C++17 (64) TESTS 3 0 0
224544858 vjudge2 C Sept. 22, 2023, 1:40 a.m. OK GNU C++17 (64) TESTS 3 0 0
224542841 takeyeldean C Sept. 22, 2023, 1:03 a.m. OK GNU C++17 (64) TESTS 3 0 0
224542083 Dianana C Sept. 22, 2023, 12:47 a.m. OK GNU C++17 (64) TESTS 3 0 0
224561600 david_magdy55 C Sept. 22, 2023, 5:35 a.m. OK GNU C++20 (64) TESTS 3 0 0
224561642 raghadnour05 C Sept. 22, 2023, 5:36 a.m. OK GNU C++20 (64) TESTS 3 0 0
224561699 Abo_Samrah C Sept. 22, 2023, 5:36 a.m. OK GNU C++20 (64) TESTS 3 0 0
224561926 haochenlyu C Sept. 22, 2023, 5:39 a.m. OK GNU C++20 (64) TESTS 3 0 0
224562257 mcuadros C Sept. 22, 2023, 5:42 a.m. OK GNU C++20 (64) TESTS 3 0 0
224562478 yyh1231 C Sept. 22, 2023, 5:44 a.m. OK GNU C++20 (64) TESTS 3 0 0
224563410 codewithvivi C Sept. 22, 2023, 5:54 a.m. OK GNU C++20 (64) TESTS 3 0 0
224563466 Re4p3r C Sept. 22, 2023, 5:54 a.m. OK GNU C++20 (64) TESTS 3 0 0
224563855 ak4907922 C Sept. 22, 2023, 5:59 a.m. OK GNU C++20 (64) TESTS 3 0 0
224563928 Eslam_Aymann22 C Sept. 22, 2023, 5:59 a.m. OK GNU C++20 (64) TESTS 3 0 0
224552558 79209748 C Sept. 22, 2023, 3:43 a.m. OK Go TESTS 3 0 307200
224522547 nanmenkaimak C Sept. 21, 2023, 7 p.m. OK Go TESTS 3 15 716800
224549952 katomasao C Sept. 22, 2023, 3:04 a.m. OK Haskell TESTS 3 30 0
224532463 dark_rays C Sept. 21, 2023, 9:01 p.m. OK Java 11 TESTS 3 155 0
224523618 kiranganji C Sept. 21, 2023, 7:11 p.m. OK Java 11 TESTS 3 186 0
224564032 ReS1 C Sept. 22, 2023, 6:01 a.m. OK Java 11 TESTS 3 187 0
224540103 karimkimo.amremam C Sept. 22, 2023, 12:03 a.m. OK Java 11 TESTS 3 202 0
224534238 abdalla_mmdouh C Sept. 21, 2023, 9:32 p.m. OK Java 11 TESTS 3 218 0
224540582 vikash_45 C Sept. 22, 2023, 12:15 a.m. OK Java 17 TESTS 3 124 204800
224519455 UBEK C Sept. 21, 2023, 6:32 p.m. OK Java 17 TESTS 3 187 716800
224563758 ShivamCoder09 C Sept. 22, 2023, 5:57 a.m. OK Java 17 TESTS 3 202 716800
224530797 i.e.Dhruv C Sept. 21, 2023, 8:35 p.m. OK Java 17 TESTS 3 202 716800
224544931 qingxiiiii C Sept. 22, 2023, 1:42 a.m. OK Java 17 TESTS 3 217 204800
224527101 polas_p20 C Sept. 21, 2023, 7:51 p.m. OK Java 17 TESTS 3 218 307200
224531380 jairgoh C Sept. 21, 2023, 8:44 p.m. OK Java 17 TESTS 3 249 307200
224549320 manojkumarsial2002 C Sept. 22, 2023, 2:54 a.m. OK Java 17 TESTS 3 249 409600
224556455 GuruCharan955 C Sept. 22, 2023, 4:33 a.m. OK Java 17 TESTS 3 249 614400
224516264 RyanLam C Sept. 21, 2023, 6:06 p.m. OK Java 17 TESTS 3 264 716800
224554169 prakhar_30 C Sept. 22, 2023, 3:59 a.m. OK Java 8 TESTS 3 93 0
224516760 Yousef_Badr C Sept. 21, 2023, 6:11 p.m. OK Java 8 TESTS 3 93 0
224545827 Autunomy C Sept. 22, 2023, 1:58 a.m. OK Java 8 TESTS 3 108 0
224529027 ZakiKurdya C Sept. 21, 2023, 8:12 p.m. OK Java 8 TESTS 3 108 0
224521165 Sumitsingh7 C Sept. 21, 2023, 6:46 p.m. OK Java 8 TESTS 3 108 5836800
224524153 Udayf C Sept. 21, 2023, 7:17 p.m. OK Java 8 TESTS 3 109 0
224529725 Prakhar_Mittal C Sept. 21, 2023, 8:21 p.m. OK Java 8 TESTS 3 124 0
224526067 Abood19 C Sept. 21, 2023, 7:39 p.m. OK Java 8 TESTS 3 124 0
224519376 Toosid C Sept. 21, 2023, 6:31 p.m. OK Java 8 TESTS 3 124 0
224552894 Jeank_016 C Sept. 22, 2023, 3:48 a.m. OK Java 8 TESTS 3 140 0
224549305 sk00 C Sept. 22, 2023, 2:54 a.m. OK MS C++ 2017 TESTS 3 15 0
224531640 Alexit C Sept. 21, 2023, 8:48 p.m. OK MS C++ 2017 TESTS 3 15 0
224561008 Ling_hui C Sept. 22, 2023, 5:29 a.m. OK MS C++ 2017 TESTS 3 31 0
224559757 Partik_Malasi C Sept. 22, 2023, 5:15 a.m. OK MS C++ 2017 TESTS 3 31 0
224518270 Saarth C Sept. 21, 2023, 6:22 p.m. OK MS C++ 2017 TESTS 3 31 0
224545501 YMSeah C Sept. 22, 2023, 1:52 a.m. OK PyPy 3 TESTS 3 77 2764800
224559458 YMSeah C Sept. 22, 2023, 5:11 a.m. OK PyPy 3 TESTS 3 108 2764800
224529392 buts C Sept. 21, 2023, 8:17 p.m. OK PyPy 3 TESTS 3 186 4915200
224516346 DRDIV C Sept. 21, 2023, 6:07 p.m. OK PyPy 3 TESTS 3 202 5836800
224540715 julondonor C Sept. 22, 2023, 12:18 a.m. OK PyPy 3 TESTS 3 218 5120000
224533194 samliu12 C Sept. 21, 2023, 9:14 p.m. OK PyPy 3 TESTS 3 233 5222400
224560204 abhipandey9315 C Sept. 22, 2023, 5:20 a.m. OK PyPy 3 TESTS 3 249 6246400
224541979 goh29932 C Sept. 22, 2023, 12:45 a.m. OK PyPy 3 TESTS 3 280 7372800
224525798 oneku16 C Sept. 21, 2023, 7:36 p.m. OK PyPy 3-64 TESTS 3 62 2048000
224543224 Solaca C Sept. 22, 2023, 1:10 a.m. OK PyPy 3-64 TESTS 3 62 3481600
224563245 bessarab C Sept. 22, 2023, 5:52 a.m. OK PyPy 3-64 TESTS 3 77 2969600
224559958 bailimice C Sept. 22, 2023, 5:17 a.m. OK PyPy 3-64 TESTS 3 77 3584000
224537748 HaonnoaH C Sept. 21, 2023, 10:55 p.m. OK PyPy 3-64 TESTS 3 77 3891200
224533053 Quick-One C Sept. 21, 2023, 9:11 p.m. OK PyPy 3-64 TESTS 3 77 4505600
224557247 bailimice C Sept. 22, 2023, 4:44 a.m. OK PyPy 3-64 TESTS 3 78 3686400
224559733 bailimice C Sept. 22, 2023, 5:15 a.m. OK PyPy 3-64 TESTS 3 93 3891200
224517976 gardengnome C Sept. 21, 2023, 6:20 p.m. OK PyPy 3-64 TESTS 3 93 4403200
224522570 stand_by C Sept. 21, 2023, 7 p.m. OK PyPy 3-64 TESTS 3 93 5017600
224549369 blueberry1001 C Sept. 22, 2023, 2:55 a.m. OK Python 3 TESTS 3 46 0
224548037 AhsanRandhawa C Sept. 22, 2023, 2:34 a.m. OK Python 3 TESTS 3 46 0
224534413 eugalt C Sept. 21, 2023, 9:36 p.m. OK Python 3 TESTS 3 46 0
224532839 arindamghosh20042002 C Sept. 21, 2023, 9:07 p.m. OK Python 3 TESTS 3 46 0
224519452 YIVI C Sept. 21, 2023, 6:32 p.m. OK Python 3 TESTS 3 46 0
224516707 AdSar C Sept. 21, 2023, 6:10 p.m. OK Python 3 TESTS 3 46 0
224551890 groodyr C Sept. 22, 2023, 3:33 a.m. OK Python 3 TESTS 3 46 102400
224562588 kashish.mahajan_comp21 C Sept. 22, 2023, 5:45 a.m. OK Python 3 TESTS 3 61 0
224560753 mdshadesh C Sept. 22, 2023, 5:26 a.m. OK Python 3 TESTS 3 61 0
224556772 Crimsonlethe C Sept. 22, 2023, 4:37 a.m. OK Python 3 TESTS 3 61 0
224554560 Spheniscine C Sept. 22, 2023, 4:05 a.m. OK Rust 2021 TESTS 3 0 102400

remove filters

Back to search problems