Bubble Cup 13 - Finals [Online Mirror, unrated, Div. 1]

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
1423 Bubble Cup 13 - Finals [Online Mirror, unrated, Div. 1] FINISHED False 10800 129920099 Oct. 5, 2020, 1:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 792 ) J Bubble Cup hypothesis PROGRAMMING constructive algorithms dp math

B'The Bubble Cup hypothesis stood unsolved for 130 years. Who ever proves the hypothesis will be regarded as one of the greatest mathematicians of our time! A famous mathematician Jerry Mao managed to reduce the hypothesis to this problem: Given a number m , how many polynomials P with coefficients in set { {0,1,2,3,4,5,6,7 }} have: P(2)=m ? Help Jerry Mao solve the long standing problem! The first line contains a single integer t (1 <= q t <= q 5 cdot 10^5) - number of test cases. On next line there are t numbers, m_i (1 <= q m_i <= q 10^{18}) - meaning that in case i you should solve for number m_i . For each test case i , print the answer on separate lines: number of polynomials P as described in statement such that P(2)=m_i , modulo 10^9 + 7 . In first case, for m=2 , polynomials that satisfy the constraint are x and 2 . In second case, for m=4 , polynomials that satisfy the constraint are x^2 , x + 2 , 2x and 4 . '...

Tutorials

FinalsEditorial2020.pdf

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
94778125 jzp hs-black chr_ J Oct. 5, 2020, 2:18 p.m. OK GNU C++11 TESTS 26 156 0
94815183 M_sea J Oct. 6, 2020, 2:42 a.m. OK GNU C++11 TESTS 26 202 0
94778756 Mackerel_Pike J Oct. 5, 2020, 2:24 p.m. OK GNU C++11 TESTS 26 217 0
94814775 htc001 J Oct. 6, 2020, 2:29 a.m. OK GNU C++11 TESTS 26 296 0
94789310 KilIerX J Oct. 5, 2020, 3:56 p.m. OK GNU C++11 TESTS 26 296 0
94777390 C20191629 TiwAirOAO J Oct. 5, 2020, 2:12 p.m. OK GNU C++11 TESTS 26 296 0
94791699 Eric_hooo J Oct. 5, 2020, 4:20 p.m. OK GNU C++11 TESTS 26 296 240537600
94811995 Inf_Voltage J Oct. 6, 2020, 12:53 a.m. OK GNU C++11 TESTS 26 311 0
94786329 hrazvan Tiberiu petrescu J Oct. 5, 2020, 3:29 p.m. OK GNU C++11 TESTS 26 311 0
94783367 C20193618 Lucky_Glass Lower_Rating J Oct. 5, 2020, 3:02 p.m. OK GNU C++11 TESTS 26 311 0
94823161 zhaoyunb J Oct. 6, 2020, 5:57 a.m. OK GNU C++14 TESTS 26 358 0
94781851 _JJ J Oct. 5, 2020, 2:49 p.m. OK GNU C++14 TESTS 26 358 0
94781765 _LeMur_ hamlet Andreasyan J Oct. 5, 2020, 2:49 p.m. OK GNU C++14 TESTS 26 358 0
94784465 gafeol J Oct. 5, 2020, 3:13 p.m. OK GNU C++14 TESTS 26 373 0
94816999 nandonathaniel J Oct. 6, 2020, 3:32 a.m. OK GNU C++14 TESTS 26 374 0
94784877 PR_0202 JaySharma1048576 mshiladityam J Oct. 5, 2020, 3:16 p.m. OK GNU C++14 TESTS 26 374 0
94784564 nnandi Zoli9 bazsi700 J Oct. 5, 2020, 3:14 p.m. OK GNU C++14 TESTS 26 374 0
94777361 Sonoda EternalAlexander ustze J Oct. 5, 2020, 2:12 p.m. OK GNU C++14 TESTS 26 374 0
94811730 VTruongAn J Oct. 6, 2020, 12:41 a.m. OK GNU C++14 TESTS 26 405 102400
94794029 J.T.J.L. J Oct. 5, 2020, 4:54 p.m. OK GNU C++14 TESTS 26 436 16998400
94778562 cuiaoxiang J Oct. 5, 2020, 2:22 p.m. OK GNU C++17 TESTS 26 342 0
94814116 nor J Oct. 6, 2020, 2:09 a.m. OK GNU C++17 TESTS 26 343 0
94784446 nor chill_coder jatinmunjal2k J Oct. 5, 2020, 3:12 p.m. OK GNU C++17 TESTS 26 358 0
94775816 marX J Oct. 5, 2020, 1:59 p.m. OK GNU C++17 TESTS 26 358 0
94814557 MrGary J Oct. 6, 2020, 2:23 a.m. OK GNU C++17 TESTS 26 374 0
94782909 MiricaMatei AlexLuchianov Gioto J Oct. 5, 2020, 2:59 p.m. OK GNU C++17 TESTS 26 374 0
94782873 gaddopur_coder O_Iq not_again J Oct. 5, 2020, 2:58 p.m. OK GNU C++17 TESTS 26 374 0
94777859 eytant1 Noam527 J Oct. 5, 2020, 2:16 p.m. OK GNU C++17 TESTS 26 374 0
94772693 I_love_chickpea J Oct. 5, 2020, 1:35 p.m. OK GNU C++17 TESTS 26 374 0
94775205 zeitnot J Oct. 5, 2020, 1:55 p.m. OK GNU C++17 TESTS 26 374 716800
94794297 MrBrionix J Oct. 5, 2020, 4:58 p.m. OK GNU C++17 (64) TESTS 26 78 102400
94796862 PinkRabbit J Oct. 5, 2020, 5:40 p.m. OK GNU C++17 (64) TESTS 26 93 4198400
94795641 Felerius J Oct. 5, 2020, 5:21 p.m. OK GNU C++17 (64) TESTS 26 233 0
94785009 coldEr66 balbit ToMmyDong J Oct. 5, 2020, 3:17 p.m. OK GNU C++17 (64) TESTS 26 234 0
94780974 8-_-8 fake123 fedoseev.timofey J Oct. 5, 2020, 2:42 p.m. OK GNU C++17 (64) TESTS 26 234 0
94777246 sharath1999 Shahraaz munghatekartik J Oct. 5, 2020, 2:11 p.m. OK GNU C++17 (64) TESTS 26 249 0
94807204 yash_daga J Oct. 5, 2020, 9:14 p.m. OK GNU C++17 (64) TESTS 26 249 0
94796337 greencis J Oct. 5, 2020, 5:31 p.m. OK GNU C++17 (64) TESTS 26 249 0
94782670 YouKn0wWho J Oct. 5, 2020, 2:56 p.m. OK GNU C++17 (64) TESTS 26 249 0
94777833 ffao J Oct. 5, 2020, 2:16 p.m. OK GNU C++17 (64) TESTS 26 264 0
94777743 uwi J Oct. 5, 2020, 2:15 p.m. OK Java 11 TESTS 26 342 0
94776262 YahiaSherif ZeyadKhattab Hemose J Oct. 5, 2020, 2:03 p.m. OK Java 11 TESTS 26 560 31027200
94778368 Kenb rabaiBomkarBittalBang Tlatoani J Oct. 5, 2020, 2:20 p.m. OK Java 8 TESTS 26 482 79052800
94780877 azukun J Oct. 5, 2020, 2:41 p.m. OK Mono C# TESTS 26 623 100556800
94818506 ZTSSS J Oct. 6, 2020, 4:11 a.m. OK MS C++ 2017 TESTS 26 405 0
94785713 meoow J Oct. 5, 2020, 3:23 p.m. OK PyPy 2 TESTS 26 623 72908800
94775486 wow_ok conqueror_of_tourist FlakeLCR J Oct. 5, 2020, 1:57 p.m. OK PyPy 3 TESTS 26 748 95129600
94791588 nishank.suresh J Oct. 5, 2020, 4:19 p.m. OK Python 3 TESTS 26 982 53555200

remove filters

Back to search problems