2020 ICPC, COMPFEST 12, Indonesia Multi-Provincial Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred)

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
1425 2020 ICPC, COMPFEST 12, Indonesia Multi-Provincial Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) FINISHED False 18000 135997163 Sept. 27, 2020, 5 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 6668 ) A Arena of Greed PROGRAMMING games greedy 1400

B"Lately, Mr. Chanek frequently plays the game Arena of Greed. As the name implies, the game's goal is to find the greediest of them all, who will then be crowned king of Compfestnesia. The game is played by two people taking turns, where Mr. Chanek takes the first turn. Initially, there is a treasure chest containing N gold coins. The game ends if there are no more gold coins in the chest. In each turn, the players can make one of the following moves: Both players will try to maximize the number of coins they have. Mr. Chanek asks your help to find the maximum number of coins he can get at the end of the game if both he and the opponent plays optimally. The first line contains a single integer T (1 <= T <= 10^5) denotes the number of test cases. The next T lines each contain a single integer N (1 <= N <= 10^{18}) . T lines, each line is the answer requested by Mr. Chanek. For the first case, the game is as follows: For the second case, the game is as follows: "...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
93923773 Pingnian A Sept. 27, 2020, 5:52 a.m. OK GNU C11 TESTS 2 436 0 1400
93937033 Be-honest-xzy A Sept. 27, 2020, 8:29 a.m. OK GNU C11 TESTS 2 436 0 1400
93921656 Amicus7 A Sept. 27, 2020, 5:30 a.m. OK GNU C11 TESTS 2 452 0 1400
93942521 2019214185 A Sept. 27, 2020, 9:32 a.m. OK GNU C11 TESTS 2 483 0 1400
94038222 daisy6123 A Sept. 28, 2020, 12:12 a.m. OK GNU C11 TESTS 2 498 1638400 1400
93920585 thecold hs-black jzp A Sept. 27, 2020, 5:21 a.m. OK GNU C++11 TESTS 2 61 0 1400
93919879 ChthollyNotaSeniorious leukocyte 9baka_Cirno A Sept. 27, 2020, 5:14 a.m. OK GNU C++11 TESTS 2 77 0 1400
93920144 Binary_Search_Tree RiverHamster 2016wudi A Sept. 27, 2020, 5:16 a.m. OK GNU C++11 TESTS 2 78 0 1400
93994990 Qing_LKYi A Sept. 27, 2020, 3:54 p.m. OK GNU C++11 TESTS 2 78 0 1400
93922457 scimoon shengzihang caidzh A Sept. 27, 2020, 5:38 a.m. OK GNU C++11 TESTS 2 78 0 1400
93919777 Kylin_ LiuYu_penguin xblakioi A Sept. 27, 2020, 5:13 a.m. OK GNU C++11 TESTS 2 78 102400 1400
93950685 fall-into-dust A Sept. 27, 2020, 11:22 a.m. OK GNU C++11 TESTS 2 93 0 1400
93925210 Dancin A Sept. 27, 2020, 6:08 a.m. OK GNU C++11 TESTS 2 93 0 1400
93929385 _Redstone_c_ A Sept. 27, 2020, 6:56 a.m. OK GNU C++11 TESTS 2 93 0 1400
93953759 REYwmp A Sept. 27, 2020, 12:04 p.m. OK GNU C++11 TESTS 2 93 0 1400
93920053 nicoing Arya_Erin MaJorie A Sept. 27, 2020, 5:16 a.m. OK GNU C++14 TESTS 2 93 0 1400
93923211 sumit_gaurav priyesh_coder compilation__error A Sept. 27, 2020, 5:46 a.m. OK GNU C++14 TESTS 2 108 0 1400
93920634 DigiM A Sept. 27, 2020, 5:21 a.m. OK GNU C++14 TESTS 2 108 0 1400
93925134 tanvi_488 prasad_14 DRAVISHA A Sept. 27, 2020, 6:07 a.m. OK GNU C++14 TESTS 2 109 0 1400
93923812 GUOshuai1017 A Sept. 27, 2020, 5:53 a.m. OK GNU C++14 TESTS 2 109 0 1400
93946956 goudiman Chinchila felipe.fcw A Sept. 27, 2020, 10:29 a.m. OK GNU C++14 TESTS 2 109 0 1400
93925686 meng99 vitoy wardel A Sept. 27, 2020, 6:13 a.m. OK GNU C++14 TESTS 2 109 0 1400
93951447 Hong_Shiba A Sept. 27, 2020, 11:32 a.m. OK GNU C++14 TESTS 2 109 0 1400
93969605 pucuk16 A Sept. 27, 2020, 3:02 p.m. OK GNU C++14 TESTS 2 109 0 1400
94046604 v1p3r_2707 A Sept. 28, 2020, 4:18 a.m. OK GNU C++14 TESTS 2 109 0 1400
93920794 yiwangzhifeng Languh A Sept. 27, 2020, 5:23 a.m. OK GNU C++17 TESTS 2 93 0 1400
93957994 BrainFreeze A Sept. 27, 2020, 12:57 p.m. OK GNU C++17 TESTS 2 93 0 1400
93923632 .-O_O-. A Sept. 27, 2020, 5:51 a.m. OK GNU C++17 TESTS 2 108 0 1400
93922130 taulant TheScrasse A Sept. 27, 2020, 5:35 a.m. OK GNU C++17 TESTS 2 108 0 1400
93921031 emmmhjif 169619699 Icontofig A Sept. 27, 2020, 5:25 a.m. OK GNU C++17 TESTS 2 108 0 1400
93928192 nishuz prasanthnaidukaraka crap_the_coder A Sept. 27, 2020, 6:42 a.m. OK GNU C++17 TESTS 2 108 0 1400
93924044 zemon_123 A Sept. 27, 2020, 5:55 a.m. OK GNU C++17 TESTS 2 108 0 1400
93933153 Arpitad lanuk A Sept. 27, 2020, 7:41 a.m. OK GNU C++17 TESTS 2 108 0 1400
94040546 icebear11 A Sept. 28, 2020, 1:40 a.m. OK GNU C++17 TESTS 2 108 0 1400
93934664 NOR_birth Chen_zsc X_X412 A Sept. 27, 2020, 8 a.m. OK GNU C++17 TESTS 2 108 0 1400
93920279 QAQAutoMaton A Sept. 27, 2020, 5:18 a.m. OK GNU C++17 (64) TESTS 2 46 5017600 1400
93923213 ravik1 Sixpathsguy darklight13 A Sept. 27, 2020, 5:46 a.m. OK GNU C++17 (64) TESTS 2 61 0 1400
93936372 Sanchit1483 A Sept. 27, 2020, 8:21 a.m. OK GNU C++17 (64) TESTS 2 61 0 1400
93920948 lybzscyzb hat JNU_dh_AK_WF A Sept. 27, 2020, 5:24 a.m. OK GNU C++17 (64) TESTS 2 61 0 1400
93936476 Rahul A Sept. 27, 2020, 8:22 a.m. OK GNU C++17 (64) TESTS 2 61 7987200 1400
93919583 jiangly A Sept. 27, 2020, 5:10 a.m. OK GNU C++17 (64) TESTS 2 62 0 1400
93922839 jhzjk froggyzhang AutumnKite A Sept. 27, 2020, 5:42 a.m. OK GNU C++17 (64) TESTS 2 62 16793600 1400
93930659 Takagi A Sept. 27, 2020, 7:11 a.m. OK GNU C++17 (64) TESTS 2 77 0 1400
93947212 marksman_ A Sept. 27, 2020, 10:33 a.m. OK GNU C++17 (64) TESTS 2 77 0 1400
94046601 ZeroooIQ A Sept. 28, 2020, 4:18 a.m. OK GNU C++17 (64) TESTS 2 77 0 1400
93939768 afrizal A Sept. 27, 2020, 9:01 a.m. OK Java 11 TESTS 2 514 0 1400
93930754 RuthlessAggression A Sept. 27, 2020, 7:12 a.m. OK Java 11 TESTS 2 576 0 1400
93923731 sameep17264 yotin A Sept. 27, 2020, 5:52 a.m. OK Java 11 TESTS 2 577 0 1400
93934789 chris_11 A Sept. 27, 2020, 8:01 a.m. OK Java 11 TESTS 2 607 0 1400
93925110 __Pugu__ A Sept. 27, 2020, 6:07 a.m. OK Java 11 TESTS 2 1091 0 1400
93963030 prat_02 A Sept. 27, 2020, 1:58 p.m. OK Java 11 TESTS 2 1356 0 1400
93957539 AS23 A Sept. 27, 2020, 12:51 p.m. OK Java 11 TESTS 2 1372 0 1400
93921388 VAICR7BHAV ProfessorChaos kabirkanha A Sept. 27, 2020, 5:28 a.m. OK Java 11 TESTS 2 1481 0 1400
93924747 BNL A Sept. 27, 2020, 6:03 a.m. OK Java 8 TESTS 2 529 0 1400
93920726 FlyKyte satya26 A Sept. 27, 2020, 5:22 a.m. OK Java 8 TESTS 2 530 0 1400
93921081 godxpunk A Sept. 27, 2020, 5:26 a.m. OK Java 8 TESTS 2 545 0 1400
93923615 Ahmed.Hany2727 A Sept. 27, 2020, 5:50 a.m. OK Java 8 TESTS 2 701 0 1400
93924952 shivang_1234 shu37052 A Sept. 27, 2020, 6:05 a.m. OK Java 8 TESTS 2 1076 0 1400
94036615 mr.fast A Sept. 27, 2020, 10:52 p.m. OK Java 8 TESTS 2 1310 0 1400
93930051 HideBeyondYou A Sept. 27, 2020, 7:04 a.m. OK Java 8 TESTS 2 1341 0 1400
93921048 azukun A Sept. 27, 2020, 5:25 a.m. OK Mono C# TESTS 2 342 4812800 1400
94039703 BugLeave A Sept. 28, 2020, 1:10 a.m. OK Mono C# TESTS 2 951 3072000 1400
93925875 amaz12138 Notenough A Sept. 27, 2020, 6:15 a.m. OK MS C++ 2017 TESTS 2 233 0 1400
93940427 Willemkmetsch A Sept. 27, 2020, 9:09 a.m. OK MS C++ 2017 TESTS 2 327 0 1400
93925956 hruif A Sept. 27, 2020, 6:16 a.m. OK MS C++ 2017 TESTS 2 374 819200 1400
93922401 nortonlrc A Sept. 27, 2020, 5:38 a.m. OK MS C++ 2017 TESTS 2 561 0 1400
93929089 ruoyounuowu peiris_ Jkx999 A Sept. 27, 2020, 6:52 a.m. OK MS C++ 2017 TESTS 2 795 0 1400
93935599 ruoyounuowu peiris_ Jkx999 A Sept. 27, 2020, 8:12 a.m. OK MS C++ 2017 TESTS 2 810 0 1400
93935788 ruoyounuowu peiris_ Jkx999 A Sept. 27, 2020, 8:14 a.m. OK MS C++ 2017 TESTS 2 810 0 1400
93936097 ruoyounuowu peiris_ Jkx999 A Sept. 27, 2020, 8:17 a.m. OK MS C++ 2017 TESTS 2 810 0 1400
93962083 raj1307 A Sept. 27, 2020, 1:46 p.m. OK PyPy 2 TESTS 2 1278 7577600 1400
93923169 nikeshthapa255 satyamcse manish_joshi A Sept. 27, 2020, 5:46 a.m. OK PyPy 2 TESTS 2 1482 12390400 1400
93920481 arvind_27 loud_mouth sudoSieg A Sept. 27, 2020, 5:20 a.m. OK PyPy 3 TESTS 2 1341 11059200 1400
94047705 sh1194 A Sept. 28, 2020, 4:40 a.m. OK PyPy 3 TESTS 2 1356 11059200 1400
94047628 sh1194 A Sept. 28, 2020, 4:38 a.m. OK PyPy 3 TESTS 2 1404 11264000 1400
93953563 KA_Rma zapdospops A Sept. 27, 2020, 12:01 p.m. OK PyPy 3 TESTS 2 1435 13824000 1400
93962949 oadey89 A Sept. 27, 2020, 1:57 p.m. OK PyPy 3 TESTS 2 1450 10240000 1400
94028461 301_anky A Sept. 27, 2020, 7:10 p.m. OK PyPy 3 TESTS 2 1450 13824000 1400
94038825 YMSeah A Sept. 28, 2020, 12:37 a.m. OK PyPy 3 TESTS 2 1590 9420800 1400
93919687 keshavb2904 A Sept. 27, 2020, 5:11 a.m. OK PyPy 3 TESTS 2 1746 10444800 1400
93923126 oof_ouch_owie epicxtroll Intrincantation A Sept. 27, 2020, 5:45 a.m. OK PyPy 3 TESTS 2 1793 25600000 1400
93961791 oadey89 A Sept. 27, 2020, 1:42 p.m. OK PyPy 3 TESTS 2 1996 16384000 1400
93921121 sansen A Sept. 27, 2020, 5:26 a.m. OK Rust TESTS 2 78 3174400 1400
93941849 vicw_0000 A Sept. 27, 2020, 9:25 a.m. OK Rust TESTS 2 997 3686400 1400

remove filters

Back to search problems