Bubble Cup 14 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred, 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
1600 Bubble Cup 14 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred, Div. 2) FINISHED False 14400 103496063 Oct. 9, 2021, 9:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2168 ) E Array Game PROGRAMMING games greedy two pointers

B'Alice and Bob are playing a game. They are given an array A of length N . The array consists of integers. They are building a sequence together. In the beginning, the sequence is empty. In one turn a player can remove a number from the left or right side of the array and append it to the sequence. The rule is that the sequence they are building must be strictly increasing. The winner is the player that makes the last move. Alice is playing first. Given the starting array, under the assumption that they both play optimally, who wins the game? The first line contains one integer N ( 1 <= q N <= q 2*10^5 ) - the length of the array A . The second line contains N integers A_1 , A_2 ,..., A_N ( 0 <= q A_i <= q 10^9 ) The first and only line of output consists of one string, the name of the winner. If Alice won, print "Alice", otherwise, print "Bob". '...

Tutorials

BubbleCup2021.pdf

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
131332292 hitesh_empire1 E Oct. 9, 2021, 1:26 p.m. OK GNU C++14 TESTS 50 61 4505600
131334679 pankaj245464 E Oct. 9, 2021, 1:50 p.m. OK GNU C++14 TESTS 50 62 4505600
131316420 hash_dog E Oct. 9, 2021, 11:04 a.m. OK GNU C++14 TESTS 50 62 4505600
131311343 KING_OF_TURTLE Crab_Dave ACOIer E Oct. 9, 2021, 10:21 a.m. OK GNU C++14 TESTS 50 62 4505600
131351827 geeg__om E Oct. 9, 2021, 5:18 p.m. OK GNU C++14 TESTS 50 62 4915200
131307146 123abda ILTW thabumi E Oct. 9, 2021, 9:48 a.m. OK GNU C++14 TESTS 50 62 4915200
131352045 geeg__om E Oct. 9, 2021, 5:21 p.m. OK GNU C++14 TESTS 50 62 5120000
131317107 Doflaming0 ImAlone thanhchauns2 E Oct. 9, 2021, 11:10 a.m. OK GNU C++14 TESTS 50 62 5324800
131312355 Atreus ARINOOR ArianKheirandish E Oct. 9, 2021, 10:29 a.m. OK GNU C++14 TESTS 50 62 6144000
131322231 le0n E Oct. 9, 2021, 11:51 a.m. OK GNU C++14 TESTS 50 62 7065600
131318584 peterwuyihong E Oct. 9, 2021, 11:22 a.m. OK GNU C++17 TESTS 50 31 4710400
131377105 accidentallyPassBy E Oct. 10, 2021, 4:33 a.m. OK GNU C++17 TESTS 50 46 4505600
131369601 Abdelrahman_H E Oct. 9, 2021, 11:54 p.m. OK GNU C++17 TESTS 50 46 4505600
131313644 755352046 mejiamejia E Oct. 9, 2021, 10:40 a.m. OK GNU C++17 TESTS 50 46 7372800
131310203 koderkushy E Oct. 9, 2021, 10:13 a.m. OK GNU C++17 TESTS 50 61 4505600
131307343 xyc1719 E Oct. 9, 2021, 9:50 a.m. OK GNU C++17 TESTS 50 61 4505600
131340533 hritik31 E Oct. 9, 2021, 2:52 p.m. OK GNU C++17 TESTS 50 61 9011200
131356025 m371 E Oct. 9, 2021, 6:14 p.m. OK GNU C++17 TESTS 50 62 4505600
131353089 noomaK E Oct. 9, 2021, 5:34 p.m. OK GNU C++17 TESTS 50 62 4505600
131344102 MewAtomic E Oct. 9, 2021, 3:36 p.m. OK GNU C++17 TESTS 50 62 4505600
131331718 algo_4_life E Oct. 9, 2021, 1:20 p.m. OK GNU C++17 (64) TESTS 50 46 5120000
131325018 alif_cse_ju E Oct. 9, 2021, 12:16 p.m. OK GNU C++17 (64) TESTS 50 46 5120000
131320120 KayDeeEn PetrNguyen E Oct. 9, 2021, 11:35 a.m. OK GNU C++17 (64) TESTS 50 46 5120000
131314773 achvanov E Oct. 9, 2021, 10:50 a.m. OK GNU C++17 (64) TESTS 50 46 5120000
131331546 josephl. E Oct. 9, 2021, 1:18 p.m. OK GNU C++17 (64) TESTS 50 46 5324800
131306332 josephl. E Oct. 9, 2021, 9:42 a.m. OK GNU C++17 (64) TESTS 50 46 5324800
131318141 FilatovYura pavel-afonkin roman_povolotskii E Oct. 9, 2021, 11:18 a.m. OK GNU C++17 (64) TESTS 50 46 5836800
131367131 over_flow E Oct. 9, 2021, 10:03 p.m. OK GNU C++17 (64) TESTS 50 46 6246400
131306989 N3vajnoKto Dasha_Gnedko Dmitry_Borchuk E Oct. 9, 2021, 9:47 a.m. OK GNU C++17 (64) TESTS 50 46 6348800
131377047 grapo_Oranges E Oct. 10, 2021, 4:31 a.m. OK GNU C++17 (64) TESTS 50 46 6553600
131312852 _merlin_ E Oct. 9, 2021, 10:34 a.m. OK Java 11 TESTS 50 265 37785600
131327662 rsFalse E Oct. 9, 2021, 12:42 p.m. OK Perl TESTS 50 217 45363200
131319505 YMSeah E Oct. 9, 2021, 11:30 a.m. OK PyPy 3 TESTS 50 280 40448000
131376448 ritesh_43 E Oct. 10, 2021, 4:14 a.m. OK Python 3 TESTS 50 109 21401600

remove filters

Back to search problems