Educational Codeforces Round 95 (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
1418 Educational Codeforces Round 95 (Rated for Div. 2) FINISHED False 7200 131729099 Sept. 14, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 23449 ) A Buying Torches PROGRAMMING math

B"You are playing a very popular game called Cubecraft. Initially, you have one stick and want to craft k torches. One torch can be crafted using one stick and one coal. Hopefully, you've met a very handsome wandering trader who has two trade offers: During one trade, you can use only one of these two trade offers. You can use each trade offer any number of times you want to, in any order. Your task is to find the minimum number of trades you need to craft at least k torches. The answer always exists under the given constraints. You have to answer t independent test cases. The first line of the input contains one integer t ( 1 <= t <= 2 cdot 10^4 ) -- the number of test cases. Then t test cases follow. The only line of the test case contains three integers x , y and k ( 2 <= x <= 10^9 ; 1 <= y, k <= 10^9 ) -- the number of sticks you can buy with one stick, the number of sticks required to buy one coal and the number of torches you need, respectively. For each test case, print the answer: the minimum number of trades you need to craft at least k torches. The answer always exists under the given constraints. "...

Tutorials

Unofficial Editorial for Educational Round 95 (Div. 2)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
92837852 chowdhuryshashwoto A Sept. 14, 2020, 4:26 p.m. OK GNU C11 TESTS 2 93 0
92829256 Iizshit A Sept. 14, 2020, 3:51 p.m. OK GNU C11 TESTS 2 93 0
92829389 amanj5486 A Sept. 14, 2020, 3:52 p.m. OK GNU C11 TESTS 2 93 0
92831478 WalkingSticks6677 A Sept. 14, 2020, 3:59 p.m. OK GNU C11 TESTS 2 93 0
92833596 Bruce_he A Sept. 14, 2020, 4:08 p.m. OK GNU C11 TESTS 2 93 204800
92837425 babaiserror A Sept. 14, 2020, 4:24 p.m. OK GNU C11 TESTS 2 108 0
92867797 N.I.Nayeem A Sept. 15, 2020, 3 a.m. OK GNU C11 TESTS 3 108 0
92868071 fahimalhasan2019 A Sept. 15, 2020, 3:08 a.m. OK GNU C11 TESTS 3 108 0
92868673 Redoy_Kumar A Sept. 15, 2020, 3:25 a.m. OK GNU C11 TESTS 3 109 0
92866916 Wenbo888 A Sept. 15, 2020, 2:33 a.m. OK GNU C11 TESTS 3 109 0
92831262 _aether_ A Sept. 14, 2020, 3:59 p.m. OK GNU C++11 TESTS 2 15 0
92828319 WCLCNM A Sept. 14, 2020, 3:48 p.m. OK GNU C++11 TESTS 2 15 0
92835096 KilIerX A Sept. 14, 2020, 4:14 p.m. OK GNU C++11 TESTS 2 15 0
92831225 _PaRz1VaL A Sept. 14, 2020, 3:58 p.m. OK GNU C++11 TESTS 2 15 0
92832547 z26y25 A Sept. 14, 2020, 4:03 p.m. OK GNU C++11 TESTS 2 30 0
92830214 zhanglichen A Sept. 14, 2020, 3:55 p.m. OK GNU C++11 TESTS 2 30 0
92873186 _Backl1ght A Sept. 15, 2020, 5:16 a.m. OK GNU C++11 TESTS 3 30 1024000
92830266 hxfree A Sept. 14, 2020, 3:55 p.m. OK GNU C++11 TESTS 2 30 1638400
92873546 hnust_hourunlong A Sept. 15, 2020, 5:23 a.m. OK GNU C++11 TESTS 3 31 0
92875406 w_57 A Sept. 15, 2020, 5:58 a.m. OK GNU C++11 TESTS 3 31 0
92870591 fancyviper007 A Sept. 15, 2020, 4:15 a.m. OK GNU C++14 TESTS 3 15 0
92828331 rohit7s A Sept. 14, 2020, 3:48 p.m. OK GNU C++14 TESTS 2 15 0
92833251 bipinsingh061 A Sept. 14, 2020, 4:06 p.m. OK GNU C++14 TESTS 2 15 0
92840271 VCP_only A Sept. 14, 2020, 4:37 p.m. OK GNU C++14 TESTS 2 15 0
92843433 Kimo_227 A Sept. 14, 2020, 5:04 p.m. OK GNU C++14 TESTS 2 15 0
92844853 himanshu7524 A Sept. 14, 2020, 5:18 p.m. OK GNU C++14 TESTS 2 15 0
92845658 rishabhtyagi A Sept. 14, 2020, 5:26 p.m. OK GNU C++14 TESTS 2 15 0
92858336 bhavneet2000 A Sept. 14, 2020, 8:24 p.m. OK GNU C++14 TESTS 3 15 0
92844477 kyaryunha A Sept. 14, 2020, 5:14 p.m. OK GNU C++14 TESTS 2 15 1638400
92871619 ppwag A Sept. 15, 2020, 4:40 a.m. OK GNU C++14 TESTS 3 30 0
92847568 Dany20 A Sept. 14, 2020, 5:47 p.m. OK GNU C++17 TESTS 2 15 0
92846740 retr0coderxyz A Sept. 14, 2020, 5:37 p.m. OK GNU C++17 TESTS 2 15 0
92844276 Trouper_08 A Sept. 14, 2020, 5:12 p.m. OK GNU C++17 TESTS 2 15 0
92843478 Dextroxd A Sept. 14, 2020, 5:04 p.m. OK GNU C++17 TESTS 2 15 0
92842778 killing_mac01 A Sept. 14, 2020, 4:57 p.m. OK GNU C++17 TESTS 2 15 0
92835392 alaeddinesleimi A Sept. 14, 2020, 4:15 p.m. OK GNU C++17 TESTS 2 15 0
92831685 ravishekr7 A Sept. 14, 2020, 4 p.m. OK GNU C++17 TESTS 2 15 0
92830666 sherlight A Sept. 14, 2020, 3:56 p.m. OK GNU C++17 TESTS 2 15 0
92828152 Alpha_SCP014_ A Sept. 14, 2020, 3:48 p.m. OK GNU C++17 TESTS 2 15 0
92872694 MysteryEquation A Sept. 15, 2020, 5:06 a.m. OK GNU C++17 TESTS 3 30 0
92851058 shanks1 A Sept. 14, 2020, 6:27 p.m. OK GNU C++17 (64) TESTS 3 15 0
92839470 redhooded A Sept. 14, 2020, 4:33 p.m. OK GNU C++17 (64) TESTS 2 15 0
92845092 jaga__daku A Sept. 14, 2020, 5:20 p.m. OK GNU C++17 (64) TESTS 2 15 0
92829488 FuCkWa A Sept. 14, 2020, 3:52 p.m. OK GNU C++17 (64) TESTS 2 15 0
92838297 ZeroooIQ A Sept. 14, 2020, 4:28 p.m. OK GNU C++17 (64) TESTS 2 15 0
92838783 Bisht_ash A Sept. 14, 2020, 4:30 p.m. OK GNU C++17 (64) TESTS 2 15 0
92835172 _KMS_ A Sept. 14, 2020, 4:14 p.m. OK GNU C++17 (64) TESTS 2 15 2764800
92867562 samchen123 A Sept. 15, 2020, 2:53 a.m. OK GNU C++17 (64) TESTS 3 30 0
92870645 anishpathak121 A Sept. 15, 2020, 4:17 a.m. OK GNU C++17 (64) TESTS 3 30 0
92873536 WiwiHo A Sept. 15, 2020, 5:23 a.m. OK GNU C++17 (64) TESTS 3 30 0
92842520 bobbilyking A Sept. 14, 2020, 4:55 p.m. OK Java 11 TESTS 2 140 0
92832343 gsahil216 A Sept. 14, 2020, 4:03 p.m. OK Java 11 TESTS 2 171 0
92850568 gAyan17 A Sept. 14, 2020, 6:21 p.m. OK Java 11 TESTS 3 186 0
92866842 hocky A Sept. 15, 2020, 2:30 a.m. OK Java 11 TESTS 3 186 0
92853964 _prophet A Sept. 14, 2020, 7:07 p.m. OK Java 11 TESTS 3 186 0
92842128 Ste A Sept. 14, 2020, 4:51 p.m. OK Java 11 TESTS 2 186 0
92840799 singhdhanwant A Sept. 14, 2020, 4:41 p.m. OK Java 11 TESTS 2 186 0
92831155 saiprasadDuduka A Sept. 14, 2020, 3:58 p.m. OK Java 11 TESTS 2 186 0
92869648 Witless_Deer A Sept. 15, 2020, 3:51 a.m. OK Java 11 TESTS 3 187 0
92863974 liubenjamin A Sept. 15, 2020, 12:36 a.m. OK Java 11 TESTS 3 187 0
92856777 priyesh001 A Sept. 14, 2020, 7:50 p.m. OK Java 8 TESTS 3 93 0
92829789 kishankumar001122 A Sept. 14, 2020, 3:53 p.m. OK Java 8 TESTS 2 93 0
92870954 ShesMyNerd A Sept. 15, 2020, 4:24 a.m. OK Java 8 TESTS 3 108 0
92859347 TriumphantEggplant A Sept. 14, 2020, 8:52 p.m. OK Java 8 TESTS 3 108 0
92851655 sourav2999 A Sept. 14, 2020, 6:35 p.m. OK Java 8 TESTS 3 108 0
92837051 rdsaurabh97 A Sept. 14, 2020, 4:23 p.m. OK Java 8 TESTS 2 108 0
92836426 arun07 A Sept. 14, 2020, 4:20 p.m. OK Java 8 TESTS 2 108 0
92835997 rational_fool A Sept. 14, 2020, 4:18 p.m. OK Java 8 TESTS 2 109 0
92834359 fakhoury A Sept. 14, 2020, 4:11 p.m. OK Java 8 TESTS 2 109 0
92869387 2020akadaver A Sept. 15, 2020, 3:43 a.m. OK Java 8 TESTS 3 124 0
92865531 Spheniscine A Sept. 15, 2020, 1:43 a.m. OK Kotlin TESTS 3 109 0
92836335 hallel A Sept. 14, 2020, 4:19 p.m. OK MS C++ TESTS 2 15 0
92833266 mystic9.0 A Sept. 14, 2020, 4:06 p.m. OK MS C++ TESTS 2 108 0
92833483 mystic9.0 A Sept. 14, 2020, 4:07 p.m. OK MS C++ TESTS 2 140 0
92829853 Numbervan A Sept. 14, 2020, 3:53 p.m. OK MS C++ 2017 TESTS 2 78 0
92829602 Amit_123 A Sept. 14, 2020, 3:53 p.m. OK MS C++ 2017 TESTS 2 78 0
92857547 1onetwo2 A Sept. 14, 2020, 8:05 p.m. OK MS C++ 2017 TESTS 3 93 614400
92873959 dmitrymack A Sept. 15, 2020, 5:30 a.m. OK MS C++ 2017 TESTS 3 139 0
92838940 Arn_Step_1 A Sept. 14, 2020, 4:31 p.m. OK MS C++ 2017 TESTS 2 139 0
92831760 minecraft60701 A Sept. 14, 2020, 4 p.m. OK MS C++ 2017 TESTS 2 139 0
92850165 temp_snake A Sept. 14, 2020, 6:17 p.m. OK MS C++ 2017 TESTS 3 139 2457600
92830044 redphosphorus A Sept. 14, 2020, 3:54 p.m. OK MS C++ 2017 TESTS 2 140 0
92828670 evgen.pog A Sept. 14, 2020, 3:49 p.m. OK MS C++ 2017 TESTS 2 140 0
92857865 letshavesomefun A Sept. 14, 2020, 8:12 p.m. OK MS C++ 2017 TESTS 3 155 0
92842601 explorer_sifat A Sept. 14, 2020, 4:55 p.m. OK Node.js TESTS 2 249 6451200
92840407 Akhil_Rautela A Sept. 14, 2020, 4:38 p.m. OK PyPy 3 TESTS 2 186 4505600
92829241 apoorvwatsky A Sept. 14, 2020, 3:51 p.m. OK PyPy 3 TESTS 2 202 5222400
92843610 PratyaydeepG A Sept. 14, 2020, 5:05 p.m. OK PyPy 3 TESTS 2 217 5120000
92828254 SeongMenJeon A Sept. 14, 2020, 3:48 p.m. OK PyPy 3 TESTS 2 218 5120000
92842582 dopefresh A Sept. 14, 2020, 4:55 p.m. OK PyPy 3 TESTS 2 233 6963200
92843407 PratyaydeepG A Sept. 14, 2020, 5:03 p.m. OK PyPy 3 TESTS 2 233 7168000
92843107 PratyaydeepG A Sept. 14, 2020, 5:01 p.m. OK PyPy 3 TESTS 2 233 7270400
92844677 deepanshu_pali A Sept. 14, 2020, 5:16 p.m. OK PyPy 3 TESTS 2 248 7065600
92843172 PratyaydeepG A Sept. 14, 2020, 5:01 p.m. OK PyPy 3 TESTS 2 249 7168000
92842876 PratyaydeepG A Sept. 14, 2020, 4:58 p.m. OK PyPy 3 TESTS 2 249 7168000
92861892 asdsasd A Sept. 14, 2020, 10:38 p.m. OK Python 2 TESTS 3 202 307200
92847737 __kira__ A Sept. 14, 2020, 5:49 p.m. OK Python 3 TESTS 2 155 307200
92842681 Abrar_Hussain_Dar A Sept. 14, 2020, 4:56 p.m. OK Python 3 TESTS 2 156 1433600
92829694 perDAYTwo_A A Sept. 14, 2020, 3:53 p.m. OK Python 3 TESTS 2 170 307200
92840939 sajadzare A Sept. 14, 2020, 4:41 p.m. OK Python 3 TESTS 2 171 2048000
92840257 sajadzare A Sept. 14, 2020, 4:37 p.m. OK Python 3 TESTS 2 171 2048000
92854882 AAbdelmotalib A Sept. 14, 2020, 7:22 p.m. OK Python 3 TESTS 3 171 2560000
92860972 sovarka A Sept. 14, 2020, 9:52 p.m. OK Python 3 TESTS 3 186 716800
92843270 Gausstein A Sept. 14, 2020, 5:02 p.m. OK Python 3 TESTS 2 186 2150400
92861118 llllllll A Sept. 14, 2020, 9:59 p.m. OK Python 3 TESTS 3 187 307200
92859153 turas A Sept. 14, 2020, 8:46 p.m. OK Python 3 TESTS 3 187 1331200
92852238 BridgeBurner A Sept. 14, 2020, 6:43 p.m. OK Scala TESTS 3 530 0
92838092 nikitajegorovs A Sept. 14, 2020, 4:27 p.m. OK Scala TESTS 2 623 0
92838045 hfile A Sept. 14, 2020, 4:27 p.m. OK Scala TESTS 2 779 0

remove filters

Back to search problems