Educational Codeforces Round 133 (Rated for Div. 2)

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
1716 Educational Codeforces Round 133 (Rated for Div. 2) FINISHED False 7200 77642662 Aug. 4, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 33454 ) A 2-3 Moves PROGRAMMING greedy math

B'You are standing at the point 0 on a coordinate line. Your goal is to reach the point n . In one minute, you can move by 2 or by 3 to the left or to the right (i. xe2 x80 x89e., if your current coordinate is x , it can become x-3 , x-2 , x+2 or x+3 ). Note that the new coordinate can become negative. Your task is to find the minimum number of minutes required to get from the point 0 to the point n . You have to answer t independent test cases. The first line of the input contains one integer t ( 1 <= t <= 10^4 ) -- the number of test cases. Then t lines describing the test cases follow. The i -th of these lines contains one integer n ( 1 <= n <= 10^9 ) -- the goal of the i -th test case. For each test case, print one integer -- the minimum number of minutes required to get from the point 0 to the point n for the corresponding test case. '...

Tutorials

105653

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
167026720 rayhanulraj210 A Aug. 4, 2022, 7:28 p.m. OK C# 10 TESTS 2 77 512000
167014517 Muhammad.exe A Aug. 4, 2022, 5:15 p.m. OK C# 10 TESTS 2 77 512000
167013022 Labib444 A Aug. 4, 2022, 5:04 p.m. OK C# 10 TESTS 2 77 614400
167005766 alexbbell A Aug. 4, 2022, 4:31 p.m. OK C# 10 TESTS 2 77 819200
167021529 SP2003 A Aug. 4, 2022, 6:21 p.m. OK Clang++20 Diagnostics TESTS 2 31 0
167015823 AD_ A Aug. 4, 2022, 5:26 p.m. OK Clang++20 Diagnostics TESTS 2 139 0
167022213 alfezafarzine A Aug. 4, 2022, 6:29 p.m. OK GNU C11 TESTS 2 31 0
167024056 shootoon A Aug. 4, 2022, 6:52 p.m. OK GNU C11 TESTS 2 31 0
167059314 S34W33D_8R41N A Aug. 5, 2022, 5:14 a.m. OK GNU C11 TESTS 2 31 0
167002961 rajpraveen28 A Aug. 4, 2022, 4:23 p.m. OK GNU C11 TESTS 2 31 0
167003975 Sami_Khan07 A Aug. 4, 2022, 4:26 p.m. OK GNU C11 TESTS 2 31 0
167004033 EmonKhan A Aug. 4, 2022, 4:26 p.m. OK GNU C11 TESTS 2 31 0
167004755 sami_khald A Aug. 4, 2022, 4:29 p.m. OK GNU C11 TESTS 2 31 0
167021198 Aryan_2021023 A Aug. 4, 2022, 6:17 p.m. OK GNU C11 TESTS 2 31 0
167049012 Afzal_Hossan A Aug. 5, 2022, 2:33 a.m. OK GNU C11 TESTS 2 46 0
167052179 Jubair94 A Aug. 5, 2022, 3:22 a.m. OK GNU C11 TESTS 2 46 0
167043814 Zing24 A Aug. 5, 2022, 1:20 a.m. OK GNU C++14 TESTS 2 0 0
167061139 zhangky A Aug. 5, 2022, 5:37 a.m. OK GNU C++14 TESTS 2 0 0
167059947 YXHuang A Aug. 5, 2022, 5:22 a.m. OK GNU C++14 TESTS 2 0 0
167054691 jophyyjh A Aug. 5, 2022, 4:03 a.m. OK GNU C++14 TESTS 2 0 0
167054571 Heisenburg-120 A Aug. 5, 2022, 4:01 a.m. OK GNU C++14 TESTS 2 0 0
167053095 khanhlinhtran A Aug. 5, 2022, 3:37 a.m. OK GNU C++14 TESTS 2 0 0
167047539 simba919 A Aug. 5, 2022, 2:11 a.m. OK GNU C++14 TESTS 2 0 0
167045963 DKingluvQAnh A Aug. 5, 2022, 1:48 a.m. OK GNU C++14 TESTS 2 0 0
167043877 lll2 A Aug. 5, 2022, 1:21 a.m. OK GNU C++14 TESTS 2 0 0
167043333 quocdung2603 A Aug. 5, 2022, 1:12 a.m. OK GNU C++14 TESTS 2 0 0
167056402 farjum1309 A Aug. 5, 2022, 4:30 a.m. OK GNU C++17 TESTS 2 0 0
167056409 Moralizer_28 A Aug. 5, 2022, 4:31 a.m. OK GNU C++17 TESTS 2 0 0
167056909 Sayan_Jasu A Aug. 5, 2022, 4:38 a.m. OK GNU C++17 TESTS 2 0 0
167056975 zero-light-some A Aug. 5, 2022, 4:39 a.m. OK GNU C++17 TESTS 2 0 0
167059067 chanhchuong0702 A Aug. 5, 2022, 5:10 a.m. OK GNU C++17 TESTS 2 0 0
167060717 SkyWalkerPS A Aug. 5, 2022, 5:32 a.m. OK GNU C++17 TESTS 2 0 0
167060789 anshumanbehera9999 A Aug. 5, 2022, 5:33 a.m. OK GNU C++17 TESTS 2 0 0
167061074 ThinkingVincent A Aug. 5, 2022, 5:36 a.m. OK GNU C++17 TESTS 2 0 0
167061602 kvp1703 A Aug. 5, 2022, 5:42 a.m. OK GNU C++17 TESTS 2 0 0
167061923 freakin23 A Aug. 5, 2022, 5:47 a.m. OK GNU C++17 TESTS 2 0 0
167041406 Eter.nal A Aug. 5, 2022, 12:29 a.m. OK GNU C++17 (64) TESTS 2 0 0
167050402 SneiderQuintero A Aug. 5, 2022, 2:54 a.m. OK GNU C++17 (64) TESTS 2 0 0
167047930 baophuccqt A Aug. 5, 2022, 2:17 a.m. OK GNU C++17 (64) TESTS 2 0 0
167047893 Maxwell01 A Aug. 5, 2022, 2:16 a.m. OK GNU C++17 (64) TESTS 2 0 0
167047025 AntiArtAttachment A Aug. 5, 2022, 2:03 a.m. OK GNU C++17 (64) TESTS 2 0 0
167046009 A_Mann A Aug. 5, 2022, 1:48 a.m. OK GNU C++17 (64) TESTS 2 0 0
167045544 Sion_y A Aug. 5, 2022, 1:43 a.m. OK GNU C++17 (64) TESTS 2 0 0
167041537 lucasxia01 A Aug. 5, 2022, 12:32 a.m. OK GNU C++17 (64) TESTS 2 0 0
167051798 codeboycb A Aug. 5, 2022, 3:16 a.m. OK GNU C++17 (64) TESTS 2 0 0
167038899 govind9532pandey A Aug. 4, 2022, 11:16 p.m. OK GNU C++17 (64) TESTS 2 0 0
167059057 Aryan200902 A Aug. 5, 2022, 5:10 a.m. OK GNU C++20 (64) TESTS 2 0 0
167061975 sasung A Aug. 5, 2022, 5:47 a.m. OK GNU C++20 (64) TESTS 2 0 0
167061126 hedgehog.02 A Aug. 5, 2022, 5:37 a.m. OK GNU C++20 (64) TESTS 2 0 0
167060668 sleepinGiant A Aug. 5, 2022, 5:31 a.m. OK GNU C++20 (64) TESTS 2 0 0
167059799 sohamhumble A Aug. 5, 2022, 5:21 a.m. OK GNU C++20 (64) TESTS 2 0 0
167059718 Wint_x19 A Aug. 5, 2022, 5:19 a.m. OK GNU C++20 (64) TESTS 2 0 0
167059616 zuber_23 A Aug. 5, 2022, 5:18 a.m. OK GNU C++20 (64) TESTS 2 0 0
167059603 pxy_ A Aug. 5, 2022, 5:18 a.m. OK GNU C++20 (64) TESTS 2 0 0
167058896 Ash_Kt A Aug. 5, 2022, 5:08 a.m. OK GNU C++20 (64) TESTS 2 0 0
167057993 rkrupeshkumar345 A Aug. 5, 2022, 4:55 a.m. OK GNU C++20 (64) TESTS 2 0 0
167030486 markmoretto A Aug. 4, 2022, 8:23 p.m. OK Go TESTS 2 15 102400
167045930 graceoflives A Aug. 5, 2022, 1:47 a.m. OK Go TESTS 2 46 102400
167042582 gawsfbet A Aug. 5, 2022, 12:56 a.m. OK Java 11 TESTS 2 155 0
167041060 jhariharan99official A Aug. 5, 2022, 12:20 a.m. OK Java 11 TESTS 2 155 0
167017605 deepakjoshi6102 A Aug. 4, 2022, 5:42 p.m. OK Java 11 TESTS 2 155 0
167053736 parascoding1 A Aug. 5, 2022, 3:48 a.m. OK Java 11 TESTS 2 155 0
167011635 the_unseen A Aug. 4, 2022, 4:54 p.m. OK Java 11 TESTS 2 155 0
167012196 BucketOfNubbins A Aug. 4, 2022, 4:58 p.m. OK Java 11 TESTS 2 156 0
167015584 AtharvCS A Aug. 4, 2022, 5:23 p.m. OK Java 11 TESTS 2 156 0
167018745 yash13203 A Aug. 4, 2022, 5:52 p.m. OK Java 11 TESTS 2 171 0
167019870 suhas5979 A Aug. 4, 2022, 6:03 p.m. OK Java 11 TESTS 2 171 0
167061109 eshan18.09 A Aug. 5, 2022, 5:37 a.m. OK Java 11 TESTS 2 186 0
167008870 Eslam_Ahmed A Aug. 4, 2022, 4:39 p.m. OK Java 17 TESTS 2 139 819200
167015616 Raj_Aditya A Aug. 4, 2022, 5:24 p.m. OK Java 17 TESTS 2 202 204800
167011933 07_02 A Aug. 4, 2022, 4:56 p.m. OK Java 17 TESTS 2 202 512000
167015940 Vibhu09 A Aug. 4, 2022, 5:27 p.m. OK Java 17 TESTS 2 218 102400
167022814 ItsZaki A Aug. 4, 2022, 6:36 p.m. OK Java 17 TESTS 2 233 0
167003278 arpitk_16 A Aug. 4, 2022, 4:24 p.m. OK Java 17 TESTS 2 233 204800
167014228 khushaa12 A Aug. 4, 2022, 5:13 p.m. OK Java 17 TESTS 2 233 716800
167013334 khushaa12 A Aug. 4, 2022, 5:06 p.m. OK Java 17 TESTS 2 249 307200
167015229 Vibhu09 A Aug. 4, 2022, 5:21 p.m. OK Java 17 TESTS 2 264 512000
167002203 Akshansh_01 A Aug. 4, 2022, 4:21 p.m. OK Java 17 TESTS 2 264 512000
167020006 jkslyk A Aug. 4, 2022, 6:05 p.m. OK Java 8 TESTS 2 78 0
167051442 sarveshgr2 A Aug. 5, 2022, 3:10 a.m. OK Java 8 TESTS 2 93 0
167048869 wdq765497070 A Aug. 5, 2022, 2:31 a.m. OK Java 8 TESTS 2 93 0
167048030 rnss A Aug. 5, 2022, 2:18 a.m. OK Java 8 TESTS 2 93 0
167013695 dracula145 A Aug. 4, 2022, 5:09 p.m. OK Java 8 TESTS 2 93 0
167009236 Mohamed308 A Aug. 4, 2022, 4:41 p.m. OK Java 8 TESTS 2 93 0
167059857 Koka A Aug. 5, 2022, 5:21 a.m. OK Java 8 TESTS 2 108 0
167010898 Tac1337 A Aug. 4, 2022, 4:50 p.m. OK Java 8 TESTS 2 108 38195200
167058511 Hajan A Aug. 5, 2022, 5:03 a.m. OK Java 8 TESTS 2 139 0
167017255 Juhaied_nabid A Aug. 4, 2022, 5:39 p.m. OK Java 8 TESTS 2 139 0
167031469 junehop A Aug. 4, 2022, 8:41 p.m. OK JavaScript TESTS 2 46 1126400
167030982 whiteReboot A Aug. 4, 2022, 8:32 p.m. OK MS C++ 2017 TESTS 2 15 0
167023785 OmarRnr A Aug. 4, 2022, 6:49 p.m. OK MS C++ 2017 TESTS 2 15 0
167020652 M.N.W A Aug. 4, 2022, 6:12 p.m. OK MS C++ 2017 TESTS 2 30 0
167053046 wafla A Aug. 5, 2022, 3:36 a.m. OK MS C++ 2017 TESTS 2 31 0
167024256 OmarRnr A Aug. 4, 2022, 6:55 p.m. OK MS C++ 2017 TESTS 2 31 0
167043180 rttyuii A Aug. 5, 2022, 1:09 a.m. OK MS C++ 2017 TESTS 2 46 0
167050103 wawawawa1 A Aug. 5, 2022, 2:49 a.m. OK MS C++ 2017 TESTS 2 46 0
167049983 lyqhh88 A Aug. 5, 2022, 2:47 a.m. OK MS C++ 2017 TESTS 2 46 0
167046430 yzrovo A Aug. 5, 2022, 1:55 a.m. OK MS C++ 2017 TESTS 2 46 0
167033421 Programmer_15yo A Aug. 4, 2022, 9:12 p.m. OK MS C++ 2017 TESTS 2 46 0
167007886 jayesh_jha A Aug. 4, 2022, 4:34 p.m. OK PyPy 3 TESTS 2 217 6246400
167017861 DanielChang A Aug. 4, 2022, 5:44 p.m. OK PyPy 3 TESTS 2 233 5120000
167031980 Tizz1e A Aug. 4, 2022, 8:49 p.m. OK PyPy 3 TESTS 2 234 5529600
167004123 OElsh4 A Aug. 4, 2022, 4:26 p.m. OK PyPy 3 TESTS 2 248 5836800
167009911 Sovi_11 A Aug. 4, 2022, 4:45 p.m. OK PyPy 3 TESTS 2 249 5324800
167003803 Pranjallko A Aug. 4, 2022, 4:25 p.m. OK PyPy 3 TESTS 2 249 5324800
167017581 DanielChang A Aug. 4, 2022, 5:41 p.m. OK PyPy 3 TESTS 2 249 5427200
167019547 abrma A Aug. 4, 2022, 6 p.m. OK PyPy 3 TESTS 2 249 5529600
167025214 williamcz A Aug. 4, 2022, 7:08 p.m. OK PyPy 3 TESTS 2 264 5836800
167026192 shriom533 A Aug. 4, 2022, 7:21 p.m. OK PyPy 3 TESTS 2 264 6656000
167045851 penguin133 A Aug. 5, 2022, 1:46 a.m. OK PyPy 3-64 TESTS 2 46 2457600
167025212 Yusif A Aug. 4, 2022, 7:08 p.m. OK PyPy 3-64 TESTS 2 46 3788800
167029339 gesuta A Aug. 4, 2022, 8:05 p.m. OK PyPy 3-64 TESTS 2 61 5836800
167035019 toam A Aug. 4, 2022, 9:40 p.m. OK PyPy 3-64 TESTS 2 77 4915200
167051386 creative_name A Aug. 5, 2022, 3:09 a.m. OK PyPy 3-64 TESTS 2 77 5632000
167030628 dunkin_shepherd A Aug. 4, 2022, 8:26 p.m. OK PyPy 3-64 TESTS 2 77 5836800
167014896 wolfram_ A Aug. 4, 2022, 5:18 p.m. OK PyPy 3-64 TESTS 2 77 6348800
167009806 biglunchdude A Aug. 4, 2022, 4:44 p.m. OK PyPy 3-64 TESTS 2 77 8192000
167024000 tree.jhk A Aug. 4, 2022, 6:51 p.m. OK PyPy 3-64 TESTS 2 77 8601600
167043187 Youarenotgood A Aug. 5, 2022, 1:09 a.m. OK PyPy 3-64 TESTS 2 78 7987200
167018250 OG_Coding_Jesus A Aug. 4, 2022, 5:48 p.m. OK Python 3 TESTS 2 46 0
167011024 Ssneh A Aug. 4, 2022, 4:51 p.m. OK Python 3 TESTS 2 46 0
167001580 Zahim007 A Aug. 4, 2022, 4:19 p.m. OK Python 3 TESTS 2 46 0
167016244 Parkatark A Aug. 4, 2022, 5:29 p.m. OK Python 3 TESTS 2 46 102400
167018646 spade0211 A Aug. 4, 2022, 5:52 p.m. OK Python 3 TESTS 2 61 0
167033130 eugalt A Aug. 4, 2022, 9:07 p.m. OK Python 3 TESTS 2 62 0
167012665 SilverGodly A Aug. 4, 2022, 5:01 p.m. OK Python 3 TESTS 2 62 0
167016291 anvesh_saxena A Aug. 4, 2022, 5:30 p.m. OK Python 3 TESTS 2 77 0
167010436 AyuAnchor A Aug. 4, 2022, 4:47 p.m. OK Python 3 TESTS 2 77 0
167000527 Faizan.Khan A Aug. 4, 2022, 4:16 p.m. OK Python 3 TESTS 2 77 0
167057203 yhm7000_ A Aug. 5, 2022, 4:43 a.m. OK Scala TESTS 2 436 0

remove filters

Back to search problems