Codeforces Round 780 (Div. 3)

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
1660 Codeforces Round 780 (Div. 3) FINISHED False 8100 88529063 March 31, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 36568 ) A Vasya and Coins PROGRAMMING math

B'Vasya decided to go to the grocery store. He found in his wallet a coins of 1 burle and b coins of 2 burles. He does not yet know the total cost of all goods, so help him find out s ( s > 0 ): the minimum positive integer amount of money he cannot pay without change or pay at all using only his coins. For example, if a=1 and b=1 (he has one 1 -burle coin and one 2 -burle coin), then: So for a=1 and b=1 the answer is s=4 . The first line of the input contains an integer t ( 1 <= t <= 10^4 ) -- the number of test cases in the test. The description of each test case consists of one line containing two integers a_i and b_i ( 0 <= a_i, b_i <= 10^8 ) -- the number of 1 -burle coins and 2 -burles coins Vasya has respectively. For each test case, on a separate line print one integer s ( s > 0 ): the minimum positive integer amount of money that Vasya cannot pay without change or pay at all. '...

Tutorials

Codeforces Round #780 (Div. 3) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
151590960 vikash_maurya A March 31, 2022, 5 p.m. OK Clang++17 Diagnostics TESTS 2 140 0
151592563 iit2021084 A March 31, 2022, 5:12 p.m. OK Clang++17 Diagnostics TESTS 2 140 0
151602536 mbharati A March 31, 2022, 7:02 p.m. OK Clang++17 Diagnostics TESTS 8 155 14848000
151623626 Agssdfgs A April 1, 2022, 4:02 a.m. OK FPC TESTS 10 15 0
151586368 69.420 A March 31, 2022, 4:44 p.m. OK FPC TESTS 2 31 102400
151590667 ridi348 A March 31, 2022, 4:58 p.m. OK GNU C11 TESTS 2 31 0
151591331 ridi348 A March 31, 2022, 5:02 p.m. OK GNU C11 TESTS 2 31 0
151591431 Akbar_23 A March 31, 2022, 5:03 p.m. OK GNU C11 TESTS 2 31 0
151620345 tanvirakon A April 1, 2022, 2:47 a.m. OK GNU C11 TESTS 10 31 0
151624060 Avinashreddy17 A April 1, 2022, 4:10 a.m. OK GNU C11 TESTS 10 31 0
151624011 vimal_sonagara A April 1, 2022, 4:10 a.m. OK GNU C11 TESTS 10 31 0
151628382 lilruike A April 1, 2022, 5:19 a.m. OK GNU C11 TESTS 10 31 0
151589847 yzdv1 A March 31, 2022, 4:53 p.m. OK GNU C11 TESTS 2 31 0
151629021 bnurgeldiyev514 A April 1, 2022, 5:28 a.m. OK GNU C11 TESTS 10 31 0
151630932 Foysal_3841 A April 1, 2022, 5:54 a.m. OK GNU C11 TESTS 10 31 0
151620607 xiaohuzcl A April 1, 2022, 2:54 a.m. OK GNU C++14 TESTS 10 0 0
151619111 suxuaner A April 1, 2022, 2:19 a.m. OK GNU C++14 TESTS 10 0 0
151618800 Remilia0231 A April 1, 2022, 2:12 a.m. OK GNU C++14 TESTS 10 0 0
151618097 1884613kjh A April 1, 2022, 1:51 a.m. OK GNU C++14 TESTS 10 0 0
151617343 hiragana A April 1, 2022, 1:29 a.m. OK GNU C++14 TESTS 10 0 0
151615613 adriancm A April 1, 2022, 12:28 a.m. OK GNU C++14 TESTS 10 0 0
151614375 BuptIDMG A March 31, 2022, 11:37 p.m. OK GNU C++14 TESTS 10 0 0
151607837 _wheezie_ A March 31, 2022, 8:23 p.m. OK GNU C++14 TESTS 8 0 0
151607287 Adi_Max A March 31, 2022, 8:13 p.m. OK GNU C++14 TESTS 8 0 0
151624303 Suffocating A April 1, 2022, 4:15 a.m. OK GNU C++14 TESTS 10 0 0
151623373 silent_decoder A April 1, 2022, 3:57 a.m. OK GNU C++17 TESTS 10 0 0
151622245 bpdolson A April 1, 2022, 3:33 a.m. OK GNU C++17 TESTS 10 0 0
151630680 _armin A April 1, 2022, 5:50 a.m. OK GNU C++17 TESTS 10 0 0
151626068 Manav992810 A April 1, 2022, 4:45 a.m. OK GNU C++17 TESTS 10 0 0
151626402 kira0777 A April 1, 2022, 4:50 a.m. OK GNU C++17 TESTS 10 0 0
151627168 AnandAbhi A April 1, 2022, 5 a.m. OK GNU C++17 TESTS 10 0 0
151627504 OneBit1024 A April 1, 2022, 5:06 a.m. OK GNU C++17 TESTS 10 0 0
151630143 abhi_8923 A April 1, 2022, 5:43 a.m. OK GNU C++17 TESTS 10 0 0
151624123 manusingh5oct A April 1, 2022, 4:12 a.m. OK GNU C++17 TESTS 10 0 0
151623791 codeowsum-19 A April 1, 2022, 4:05 a.m. OK GNU C++17 TESTS 10 0 0
151593787 spartanes A March 31, 2022, 5:22 p.m. OK GNU C++17 (64) TESTS 2 0 0
151628733 devlash A April 1, 2022, 5:24 a.m. OK GNU C++17 (64) TESTS 10 0 0
151627767 Jorge213 A April 1, 2022, 5:10 a.m. OK GNU C++17 (64) TESTS 10 0 0
151624972 Sourabh-Choudhary A April 1, 2022, 4:28 a.m. OK GNU C++17 (64) TESTS 10 0 0
151621171 f20190766 A April 1, 2022, 3:09 a.m. OK GNU C++17 (64) TESTS 10 0 0
151619846 linxd A April 1, 2022, 2:37 a.m. OK GNU C++17 (64) TESTS 10 0 0
151614654 bunny1024 A March 31, 2022, 11:50 p.m. OK GNU C++17 (64) TESTS 10 0 0
151605473 _anujkirodia A March 31, 2022, 7:45 p.m. OK GNU C++17 (64) TESTS 8 0 0
151598183 TAM A March 31, 2022, 6:09 p.m. OK GNU C++17 (64) TESTS 8 0 0
151597681 pcms2 A March 31, 2022, 6:04 p.m. OK GNU C++17 (64) TESTS 8 0 0
151614958 EastGod A April 1, 2022, 12:03 a.m. OK GNU C++20 (64) TESTS 10 0 0
151613966 armish2.0 A March 31, 2022, 11 p.m. OK GNU C++20 (64) TESTS 10 0 0
151616307 Yousry_Essam A April 1, 2022, 12:53 a.m. OK GNU C++20 (64) TESTS 10 0 0
151618667 XLS_A A April 1, 2022, 2:08 a.m. OK GNU C++20 (64) TESTS 10 0 0
151622338 shiba_908 A April 1, 2022, 3:35 a.m. OK GNU C++20 (64) TESTS 10 0 0
151622914 ankeet A April 1, 2022, 3:47 a.m. OK GNU C++20 (64) TESTS 10 0 0
151624237 omsgunjal2003 A April 1, 2022, 4:14 a.m. OK GNU C++20 (64) TESTS 10 0 0
151627491 L1ngYu233 A April 1, 2022, 5:05 a.m. OK GNU C++20 (64) TESTS 10 0 0
151627850 Theo830 A April 1, 2022, 5:11 a.m. OK GNU C++20 (64) TESTS 10 0 0
151629931 decoder_0712 A April 1, 2022, 5:40 a.m. OK GNU C++20 (64) TESTS 10 0 0
151604913 ssvb A March 31, 2022, 7:36 p.m. OK Go TESTS 8 31 204800
151612018 professo A March 31, 2022, 9:58 p.m. OK Go TESTS 10 280 409600
151619269 MrBruh420 A April 1, 2022, 2:24 a.m. OK Java 11 TESTS 10 155 0
151598392 MrOtter A March 31, 2022, 6:12 p.m. OK Java 11 TESTS 8 155 0
151597039 Bluffish A March 31, 2022, 5:57 p.m. OK Java 11 TESTS 8 156 0
151630435 aniket2002 A April 1, 2022, 5:47 a.m. OK Java 11 TESTS 10 156 0
151625835 __Serendipity A April 1, 2022, 4:42 a.m. OK Java 11 TESTS 10 170 0
151591369 samitdas03 A March 31, 2022, 5:03 p.m. OK Java 11 TESTS 2 171 0
151603452 eshan18.09 A March 31, 2022, 7:15 p.m. OK Java 11 TESTS 8 202 0
151610449 applejuicewue A March 31, 2022, 9:18 p.m. OK Java 11 TESTS 10 217 0
151626455 Darsh_102 A April 1, 2022, 4:51 a.m. OK Java 11 TESTS 10 217 0
151591553 MindSlayer A March 31, 2022, 5:04 p.m. OK Java 11 TESTS 2 218 0
151589921 Bhaskar13 A March 31, 2022, 4:53 p.m. OK Java 8 TESTS 2 93 0
151595762 adeon A March 31, 2022, 5:42 p.m. OK Java 8 TESTS 8 93 0
151590044 Jason_Is_Here A March 31, 2022, 4:54 p.m. OK Java 8 TESTS 2 93 0
151609293 Koka A March 31, 2022, 8:52 p.m. OK Java 8 TESTS 10 93 0
151604399 Karakurik A March 31, 2022, 7:29 p.m. OK Java 8 TESTS 8 93 0
151602960 NatInTheHat A March 31, 2022, 7:09 p.m. OK Java 8 TESTS 8 93 0
151620611 Allinonyou A April 1, 2022, 2:54 a.m. OK Java 8 TESTS 10 108 0
151605293 Shemo A March 31, 2022, 7:42 p.m. OK Java 8 TESTS 8 140 0
151600473 notAvishek A March 31, 2022, 6:35 p.m. OK Java 8 TESTS 8 170 0
151629763 hamzahmdan79 A April 1, 2022, 5:38 a.m. OK Java 8 TESTS 10 186 0
151614304 hanel1164 A March 31, 2022, 11:35 p.m. OK Kotlin 1.4 TESTS 10 93 0
151628704 Sarievo A April 1, 2022, 5:24 a.m. OK Kotlin 1.4 TESTS 10 202 0
151621898 korniltsev.anatoly A April 1, 2022, 3:25 a.m. OK Kotlin 1.5 TESTS 10 264 0
151599656 wbars A March 31, 2022, 6:26 p.m. OK Kotlin 1.5 TESTS 8 311 0
151609679 Yanchiik A March 31, 2022, 8:59 p.m. OK MS C++ 2017 TESTS 10 15 0
151591990 hiking9 A March 31, 2022, 5:07 p.m. OK MS C++ 2017 TESTS 2 15 0
151621047 vmffotltka A April 1, 2022, 3:06 a.m. OK MS C++ 2017 TESTS 10 15 0
151605030 Gadi A March 31, 2022, 7:38 p.m. OK MS C++ 2017 TESTS 8 15 0
151599970 Ammar_Dahhan A March 31, 2022, 6:29 p.m. OK MS C++ 2017 TESTS 8 30 0
151584425 r0mashka A March 31, 2022, 4:39 p.m. OK MS C++ 2017 TESTS 2 30 0
151588891 kanhaiya8628 A March 31, 2022, 4:49 p.m. OK MS C++ 2017 TESTS 2 30 0
151593432 1_shivam A March 31, 2022, 5:19 p.m. OK MS C++ 2017 TESTS 2 31 0
151624688 huyn1602 A April 1, 2022, 4:23 a.m. OK MS C++ 2017 TESTS 10 31 0
151593982 Tangerine A March 31, 2022, 5:24 p.m. OK MS C++ 2017 TESTS 2 31 0
151602962 tobis A March 31, 2022, 7:09 p.m. OK .NET Core C# TESTS 8 93 2355200
151627998 Suvorova_YuS A April 1, 2022, 5:13 a.m. OK .NET Core C# TESTS 10 109 2867200
151598352 grawlixes A March 31, 2022, 6:11 p.m. OK PyPy 3 TESTS 8 124 4505600
151623728 HelloWorld2002 A April 1, 2022, 4:04 a.m. OK PyPy 3 TESTS 10 124 4812800
151617786 fiblonaria A April 1, 2022, 1:42 a.m. OK PyPy 3 TESTS 10 124 4812800
151593641 crapcode A March 31, 2022, 5:21 p.m. OK PyPy 3 TESTS 2 155 6656000
151624244 alantian2018 A April 1, 2022, 4:14 a.m. OK PyPy 3 TESTS 10 218 5632000
151631052 59ri A April 1, 2022, 5:56 a.m. OK PyPy 3 TESTS 10 233 5529600
151592303 parth..mittal A March 31, 2022, 5:10 p.m. OK PyPy 3 TESTS 2 233 5529600
151623438 anonymous_777 A April 1, 2022, 3:59 a.m. OK PyPy 3 TESTS 10 233 5836800
151587943 HIT_Cyclone317 A March 31, 2022, 4:47 p.m. OK PyPy 3 TESTS 2 233 6553600
151621299 Mannu31 A April 1, 2022, 3:12 a.m. OK PyPy 3 TESTS 10 234 5529600
151606088 epoweripi A March 31, 2022, 7:54 p.m. OK PyPy 3-64 TESTS 8 77 5120000
151605878 notTehlka A March 31, 2022, 7:51 p.m. OK PyPy 3-64 TESTS 8 77 5632000
151624541 sakshatmali A April 1, 2022, 4:20 a.m. OK PyPy 3-64 TESTS 10 77 6553600
151621177 Liberator187 A April 1, 2022, 3:09 a.m. OK PyPy 3-64 TESTS 10 93 7680000
151607495 satyamshrma A March 31, 2022, 8:17 p.m. OK PyPy 3-64 TESTS 8 93 7884800
151596128 Mashin_larner A March 31, 2022, 5:46 p.m. OK PyPy 3-64 TESTS 8 108 6656000
151622481 stand_by A April 1, 2022, 3:38 a.m. OK PyPy 3-64 TESTS 10 124 9318400
151627847 aman404found A April 1, 2022, 5:11 a.m. OK PyPy 3-64 TESTS 10 139 9420800
151627392 harshvora64 A April 1, 2022, 5:04 a.m. OK PyPy 3-64 TESTS 10 155 9830400
151630549 Ayushman_123 A April 1, 2022, 5:49 a.m. OK PyPy 3-64 TESTS 10 156 10752000
151593702 OLOGY A March 31, 2022, 5:21 p.m. OK Python 2 TESTS 2 46 409600
151584918 Rash1d A March 31, 2022, 4:40 p.m. OK Python 3 TESTS 2 46 0
151624311 Lhohelhohehmm A April 1, 2022, 4:16 a.m. OK Python 3 TESTS 10 46 102400
151598030 sp_Piyush A March 31, 2022, 6:08 p.m. OK Python 3 TESTS 8 61 0
151630841 aeo A April 1, 2022, 5:53 a.m. OK Python 3 TESTS 10 62 1024000
151627351 indiana_16 A April 1, 2022, 5:04 a.m. OK Python 3 TESTS 10 77 0
151592223 bhaskar_20 A March 31, 2022, 5:09 p.m. OK Python 3 TESTS 2 77 0
151623947 harshk_52 A April 1, 2022, 4:08 a.m. OK Python 3 TESTS 10 92 0
151621452 iShakib A April 1, 2022, 3:16 a.m. OK Python 3 TESTS 10 92 0
151605113 math_tsunami A March 31, 2022, 7:39 p.m. OK Python 3 TESTS 8 92 0
151600976 MDSPro A March 31, 2022, 6:41 p.m. OK Python 3 TESTS 8 92 0
151600594 cwlo2f A March 31, 2022, 6:37 p.m. OK Rust 2021 TESTS 8 46 102400

remove filters

Back to search problems