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 136170011 Sept. 27, 2020, 5 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4225 ) H Huge Boxes of Animal Toys PROGRAMMING constructive algorithms 1300

B'Chaneka has a hobby of playing with animal toys. Every toy has a different fun value, a real number. Chaneka has four boxes to store the toys with specification: Chaneka has A , B , C , D toys in the first, second, third, and fourth box, respectively. One day she decides that she only wants one toy, a super toy. So she begins to create this super toy by sewing all the toys she has. While the number of toys Chaneka has is more than 1, she takes two different toys randomly and then sews them together, creating a new toy. The fun value of this new toy is equal to the multiplication of fun values of the sewn toys. She then puts this new toy in the appropriate box. She repeats this process until she only has one toy. This last toy is the super toy, and the box that stores this toy is the special box. As an observer, you only know the number of toys in each box initially but do not know their fun values. You also don 't see the sequence of Chaneka 's sewing. Determine which boxes can be the special box after Chaneka found her super toy. The first line has an integer T (1 <= T <= 5 cdot 10^4) , the number of test cases. Every case contains a line with four space-separated integers A B C D (0 <= A, B, C, D <= 10^6, A + B + C + D > 0) , which denotes the number of toys in the first, second, third, and fourth box, respectively. For each case, print four space-separated strings. Each string represents the possibility that the first, second, third, and fourth box can be the special box from left to right. For each box, print "Ya" (Without quotes, Indonesian for yes) if that box can be the special box. Print "Tidak" (Without quotes, Indonesian for No) otherwise. For the first case, here is a scenario where the first box is the special box: The sewing sequence: Here is a scenario where the second box ends up being the special box: The sewing sequence: '...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
93926771 Amicus7 H Sept. 27, 2020, 6:26 a.m. OK GNU C11 TESTS 4 233 0 1300
93929698 Pingnian H Sept. 27, 2020, 7 a.m. OK GNU C11 TESTS 4 234 0 1300
93920817 ChthollyNotaSeniorious leukocyte 9baka_Cirno H Sept. 27, 2020, 5:23 a.m. OK GNU C++11 TESTS 4 30 0 1300
93922574 thecold hs-black jzp H Sept. 27, 2020, 5:39 a.m. OK GNU C++11 TESTS 4 30 0 1300
93928318 wusongxue GrandLine001 ReTleWa1 H Sept. 27, 2020, 6:43 a.m. OK GNU C++11 TESTS 4 31 0 1300
93926998 sunzihao H Sept. 27, 2020, 6:28 a.m. OK GNU C++11 TESTS 4 31 0 1300
93922936 passer_by7 farmerj Witcano H Sept. 27, 2020, 5:43 a.m. OK GNU C++11 TESTS 4 31 0 1300
93922208 cwb_sb -zzy- myx12345 H Sept. 27, 2020, 5:36 a.m. OK GNU C++11 TESTS 4 31 0 1300
93922106 ght5160 lys013 XiaoTaoTao H Sept. 27, 2020, 5:35 a.m. OK GNU C++11 TESTS 4 31 4198400 1300
93929693 ddh H Sept. 27, 2020, 7 a.m. OK GNU C++11 TESTS 4 46 0 1300
93929717 SleepEarly H Sept. 27, 2020, 7 a.m. OK GNU C++11 TESTS 4 46 0 1300
93932215 LiNY2 H Sept. 27, 2020, 7:30 a.m. OK GNU C++11 TESTS 4 46 0 1300
93922601 HVOO7 _rishi_1001 sayam.sethi2 H Sept. 27, 2020, 5:40 a.m. OK GNU C++14 TESTS 4 31 204800 1300
93931752 fishlex H Sept. 27, 2020, 7:25 a.m. OK GNU C++14 TESTS 4 46 0 1300
93930142 C.jiangchao H Sept. 27, 2020, 7:05 a.m. OK GNU C++14 TESTS 4 46 0 1300
93926012 wallflowerlm richey-jang aya_uchida H Sept. 27, 2020, 6:17 a.m. OK GNU C++14 TESTS 4 46 0 1300
93922146 noneTP H Sept. 27, 2020, 5:35 a.m. OK GNU C++14 TESTS 4 46 0 1300
93920459 GoFire VibrantY Louie_king H Sept. 27, 2020, 5:20 a.m. OK GNU C++14 TESTS 4 46 0 1300
93939779 Reiva5 H Sept. 27, 2020, 9:01 a.m. OK GNU C++14 TESTS 4 46 0 1300
93958358 Hong_Shiba H Sept. 27, 2020, 1:01 p.m. OK GNU C++14 TESTS 4 46 0 1300
93925436 sumit_gaurav priyesh_coder compilation__error H Sept. 27, 2020, 6:11 a.m. OK GNU C++14 TESTS 4 61 0 1300
93955451 ishan008 H Sept. 27, 2020, 12:25 p.m. OK GNU C++14 TESTS 4 61 0 1300
93940238 sdibt-19234507 SDTBU_WCM SDTBU_CCW H Sept. 27, 2020, 9:06 a.m. OK GNU C++17 TESTS 4 46 0 1300
93932715 tlnllkbp H Sept. 27, 2020, 7:36 a.m. OK GNU C++17 TESTS 4 46 0 1300
93932340 rakinrkz Ferb97 jibon_da_bedonar H Sept. 27, 2020, 7:31 a.m. OK GNU C++17 TESTS 4 46 0 1300
93922243 main.cpp dtc03012 H Sept. 27, 2020, 5:36 a.m. OK GNU C++17 TESTS 4 46 0 1300
93921083 VLT 2n8asm jiaangk_ H Sept. 27, 2020, 5:26 a.m. OK GNU C++17 TESTS 4 46 0 1300
93919780 V4yne kaffuchino MelonMeow_ylh H Sept. 27, 2020, 5:13 a.m. OK GNU C++17 TESTS 4 46 0 1300
93959324 BrainFreeze H Sept. 27, 2020, 1:13 p.m. OK GNU C++17 TESTS 4 46 0 1300
93928767 itian H Sept. 27, 2020, 6:49 a.m. OK GNU C++17 TESTS 4 46 20070400 1300
94041195 vjudge5 H Sept. 28, 2020, 2:01 a.m. OK GNU C++17 TESTS 4 61 0 1300
93953619 Fawkes_li H Sept. 27, 2020, 12:02 p.m. OK GNU C++17 TESTS 4 61 0 1300
93920798 QAQAutoMaton H Sept. 27, 2020, 5:23 a.m. OK GNU C++17 (64) TESTS 4 30 4198400 1300
93919812 Binary_Search_Tree RiverHamster 2016wudi H Sept. 27, 2020, 5:13 a.m. OK GNU C++17 (64) TESTS 4 31 4198400 1300
93923822 king-in-the-south H Sept. 27, 2020, 5:53 a.m. OK GNU C++17 (64) TESTS 4 46 0 1300
94043252 neko_nyaaaaaaaaaaaaaaaaa IUChichcpu n17012 H Sept. 28, 2020, 2:59 a.m. OK GNU C++17 (64) TESTS 4 46 0 1300
94026325 jack07 H Sept. 27, 2020, 6:35 p.m. OK GNU C++17 (64) TESTS 4 46 0 1300
93937924 Rahul H Sept. 27, 2020, 8:40 a.m. OK GNU C++17 (64) TESTS 4 46 0 1300
93930822 Everule ScarletS H Sept. 27, 2020, 7:13 a.m. OK GNU C++17 (64) TESTS 4 46 0 1300
93924824 NguyenDangQuan H Sept. 27, 2020, 6:04 a.m. OK GNU C++17 (64) TESTS 4 46 0 1300
93924519 acm2k__ conan_0 rkr_725 H Sept. 27, 2020, 6 a.m. OK GNU C++17 (64) TESTS 4 46 0 1300
93923570 chctxdy68 14242024425 H Sept. 27, 2020, 5:50 a.m. OK GNU C++17 (64) TESTS 4 46 0 1300
93938425 RuthlessAggression H Sept. 27, 2020, 8:45 a.m. OK Java 11 TESTS 4 187 0 1300
93938890 chris_11 H Sept. 27, 2020, 8:51 a.m. OK Java 11 TESTS 4 202 0 1300
93920704 sameep17264 yotin H Sept. 27, 2020, 5:22 a.m. OK Java 11 TESTS 4 218 0 1300
93942438 afrizal H Sept. 27, 2020, 9:31 a.m. OK Java 11 TESTS 4 233 0 1300
93968463 prat_02 H Sept. 27, 2020, 2:47 p.m. OK Java 11 TESTS 4 826 409600 1300
93926824 BNL H Sept. 27, 2020, 6:26 a.m. OK Java 8 TESTS 4 108 0 1300
93923000 mufaddalnaya H Sept. 27, 2020, 5:44 a.m. OK Java 8 TESTS 4 124 0 1300
93927174 shivang_1234 shu37052 H Sept. 27, 2020, 6:30 a.m. OK Java 8 TESTS 4 139 0 1300
93926272 godxpunk H Sept. 27, 2020, 6:20 a.m. OK Java 8 TESTS 4 358 0 1300
94037735 mr.fast H Sept. 27, 2020, 11:48 p.m. OK Java 8 TESTS 4 670 0 1300
93938359 HideBeyondYou H Sept. 27, 2020, 8:44 a.m. OK Java 8 TESTS 4 1107 0 1300
94048055 kay_jpr H Sept. 28, 2020, 4:47 a.m. OK Java 8 TESTS 4 1107 0 1300
93927004 koboshi H Sept. 27, 2020, 6:28 a.m. OK Kotlin TESTS 4 186 0 1300
93923072 azukun H Sept. 27, 2020, 5:45 a.m. OK Mono C# TESTS 4 108 6860800 1300
93922433 kim_young_hyun cdy0930 dongbin1999 H Sept. 27, 2020, 5:38 a.m. OK MS C++ 2017 TESTS 4 93 0 1300
93926538 hruif H Sept. 27, 2020, 6:23 a.m. OK MS C++ 2017 TESTS 4 202 204800 1300
93922310 SlatyFish NightStalker H Sept. 27, 2020, 5:37 a.m. OK MS C++ 2017 TESTS 4 327 0 1300
93923907 nortonlrc H Sept. 27, 2020, 5:54 a.m. OK MS C++ 2017 TESTS 4 343 0 1300
93928167 nikeshthapa255 satyamcse manish_joshi H Sept. 27, 2020, 6:42 a.m. OK PyPy 2 TESTS 4 295 7475200 1300
93957102 KA_Rma zapdospops H Sept. 27, 2020, 12:46 p.m. OK PyPy 3 TESTS 4 467 10137600 1300
93923493 keshavb2904 H Sept. 27, 2020, 5:49 a.m. OK PyPy 3 TESTS 4 514 11468800 1300
93923063 nChurgulia smileyface SoulAdor H Sept. 27, 2020, 5:44 a.m. OK PyPy 3 TESTS 4 888 8499200 1300
93924990 ainunnajib H Sept. 27, 2020, 6:05 a.m. OK PyPy 3 TESTS 4 889 9523200 1300
93922145 atharva_15 Secret.rtz Kira_1234 H Sept. 27, 2020, 5:35 a.m. OK PyPy 3 TESTS 4 1013 10649600 1300
93919199 oof_ouch_owie epicxtroll Intrincantation H Sept. 27, 2020, 5:06 a.m. OK PyPy 3 TESTS 4 1013 11366400 1300
93953092 oadey89 H Sept. 27, 2020, 11:55 a.m. OK PyPy 3 TESTS 4 1044 11366400 1300
93925350 aswath123 123arvindputhucode praveen2806 H Sept. 27, 2020, 6:10 a.m. OK PyPy 3 TESTS 4 1185 10240000 1300
93926341 jaggu02 lalith_krg1 AaZaDi H Sept. 27, 2020, 6:20 a.m. OK Python 2 TESTS 4 374 921600 1300
93925954 nikhilsiwach28 priyanshu360 Himanshu257 H Sept. 27, 2020, 6:16 a.m. OK Python 3 TESTS 4 546 307200 1300
94049718 harshnv.26 H Sept. 28, 2020, 5:17 a.m. OK Python 3 TESTS 4 560 307200 1300
93928016 antikostya H Sept. 27, 2020, 6:40 a.m. OK Python 3 TESTS 4 623 307200 1300
93963405 amdad7 H Sept. 27, 2020, 2:03 p.m. OK Python 3 TESTS 4 733 0 1300
94048398 sh1194 H Sept. 28, 2020, 4:54 a.m. OK Python 3 TESTS 4 780 0 1300
94039698 Gausstein H Sept. 28, 2020, 1:10 a.m. OK Python 3 TESTS 4 795 307200 1300
93936686 vasanthagopikrishna stars_in_the_sky ucantfindme H Sept. 27, 2020, 8:25 a.m. OK Python 3 TESTS 4 826 307200 1300
93922969 sansen H Sept. 27, 2020, 5:43 a.m. OK Rust TESTS 4 61 3174400 1300

remove filters

Back to search problems