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
( 6138 ) F Flamingoes of Mystery PROGRAMMING interactive 1400

B'This is an interactive problem. You have to use a flush operation right after printing each line. For example, in C++ you should use the function fflush(stdout), in Java -- System.out.flush(), in Pascal -- flush(output) and in Python -- sys.stdout.flush(). Mr. Chanek wants to buy a flamingo to accompany his chickens on his farm. Before going to the pet shop, Mr. Chanek stops at an animal festival to have fun. It turns out there is a carnival game with a flamingo as the prize. There are N mysterious cages, which are numbered from 1 to N . Cage i has A_i (0 <= A_i <= 10^3) flamingoes inside (1 <= i <= N) . However, the game master keeps the number of flamingoes inside a secret. To win the flamingo, Mr. Chanek must guess the number of flamingoes in each cage. Coincidentally, Mr. Chanek has N coins. Each coin can be used to ask once, what is the total number of flamingoes inside cages numbered L to R inclusive? With L < R . Use standard input to read the responses of your questions. Initially, the judge will give an integer N (3 <= N <= 10^3) , the number of cages, and the number of coins Mr. Chanek has. For each of your questions, the jury will give an integer that denotes the number of flamingoes from cage L to R inclusive. If your program does not guess the flamingoes or ask other questions, you will get "Wrong Answer". Of course, if your program asks more questions than the allowed number, your program will get "Wrong Answer". To ask questions, your program must use standard output. Then, you can ask at most N questions. Questions are asked in the format "? L R", ( 1 <= L < R <= N ). To guess the flamingoes, print a line that starts with "!" followed by N integers where the i -th integer denotes the number of flamingo in cage i . After answering, your program must terminate or will receive the "idle limit exceeded" verdict. You can on'...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
93924998 Amicus7 F Sept. 27, 2020, 6:05 a.m. OK GNU C11 TESTS 11 46 0 1400
93930425 Tang7O 2018213436 OliverBryant F Sept. 27, 2020, 7:08 a.m. OK GNU C11 TESTS 11 46 0 1400
93924885 lyh77496 F Sept. 27, 2020, 6:04 a.m. OK GNU C++11 TESTS 11 15 0 1400
93922914 QinanXuan lockwood so_ysc F Sept. 27, 2020, 5:43 a.m. OK GNU C++11 TESTS 11 15 0 1400
93931792 vishydeepi F Sept. 27, 2020, 7:25 a.m. OK GNU C++11 TESTS 11 15 0 1400
93927189 msu.727 F Sept. 27, 2020, 6:30 a.m. OK GNU C++11 TESTS 11 15 0 1400
93952572 asiseno F Sept. 27, 2020, 11:48 a.m. OK GNU C++11 TESTS 11 15 0 1400
94052355 nootwu F Sept. 28, 2020, 6 a.m. OK GNU C++11 TESTS 11 15 0 1400
93930319 marianasls goodeath F Sept. 27, 2020, 7:07 a.m. OK GNU C++11 TESTS 11 30 0 1400
93926275 wusongxue GrandLine001 ReTleWa1 F Sept. 27, 2020, 6:20 a.m. OK GNU C++11 TESTS 11 30 0 1400
93943367 malifold F Sept. 27, 2020, 9:43 a.m. OK GNU C++11 TESTS 11 30 0 1400
93934514 rraj7 jaigoyal1328 Meet__Vyas F Sept. 27, 2020, 7:58 a.m. OK GNU C++11 TESTS 11 30 0 1400
93930744 misir F Sept. 27, 2020, 7:12 a.m. OK GNU C++14 TESTS 11 15 0 1400
93922151 theStaticMind F Sept. 27, 2020, 5:35 a.m. OK GNU C++14 TESTS 11 15 204800 1400
93925172 tuanalt F Sept. 27, 2020, 6:07 a.m. OK GNU C++14 TESTS 11 30 0 1400
93924103 rishabhja F Sept. 27, 2020, 5:56 a.m. OK GNU C++14 TESTS 11 30 0 1400
93923228 palindroam sauravUppoor kaiyu2000 F Sept. 27, 2020, 5:46 a.m. OK GNU C++14 TESTS 11 30 0 1400
93938223 aditya_k F Sept. 27, 2020, 8:43 a.m. OK GNU C++14 TESTS 11 30 0 1400
93921782 100gods aditigoel jenishmonpara F Sept. 27, 2020, 5:32 a.m. OK GNU C++14 TESTS 11 30 0 1400
93920043 ishabhray rishit3234 ReiKiriyama_red F Sept. 27, 2020, 5:16 a.m. OK GNU C++14 TESTS 11 30 0 1400
93922285 Retro_Vision bhavyahoda ayush2hack F Sept. 27, 2020, 5:37 a.m. OK GNU C++14 TESTS 11 30 0 1400
93935964 tanmay_23_99 nikhilsri700 F Sept. 27, 2020, 8:16 a.m. OK GNU C++14 TESTS 11 30 0 1400
93923154 sumit_gaurav priyesh_coder compilation__error F Sept. 27, 2020, 5:45 a.m. OK GNU C++17 TESTS 11 15 0 1400
93930495 Invinci_1 18_vipul F Sept. 27, 2020, 7:09 a.m. OK GNU C++17 TESTS 11 15 0 1400
93923122 piyush33patel last_death soy_ankit F Sept. 27, 2020, 5:45 a.m. OK GNU C++17 TESTS 11 15 0 1400
93922793 Arpitad lanuk F Sept. 27, 2020, 5:42 a.m. OK GNU C++17 TESTS 11 15 0 1400
93942849 subratadutta12 F Sept. 27, 2020, 9:36 a.m. OK GNU C++17 TESTS 11 30 0 1400
93941067 NaMN namanj401 F Sept. 27, 2020, 9:16 a.m. OK GNU C++17 TESTS 11 30 0 1400
93929846 messileo corleone42 F Sept. 27, 2020, 7:02 a.m. OK GNU C++17 TESTS 11 30 0 1400
93927208 vlad_1028 CW_Boy alexssiz1 F Sept. 27, 2020, 6:30 a.m. OK GNU C++17 TESTS 11 30 0 1400
93944909 sufianfaisal786 nayan6119 Matermind222 F Sept. 27, 2020, 9:59 a.m. OK GNU C++17 TESTS 11 30 0 1400
93947920 HoaPhat1 F Sept. 27, 2020, 10:44 a.m. OK GNU C++17 TESTS 11 30 0 1400
93921838 chctxdy68 14242024425 F Sept. 27, 2020, 5:33 a.m. OK GNU C++17 (64) TESTS 11 15 0 1400
93930217 ffiq shiva2601 Draco9421 F Sept. 27, 2020, 7:05 a.m. OK GNU C++17 (64) TESTS 11 15 0 1400
93925310 omar_the_juice_boi S.S.SSSS nippletwister F Sept. 27, 2020, 6:09 a.m. OK GNU C++17 (64) TESTS 11 15 0 1400
93924313 kalashshah11 F Sept. 27, 2020, 5:58 a.m. OK GNU C++17 (64) TESTS 11 30 0 1400
93923732 sic_mundus_creatus_est F Sept. 27, 2020, 5:52 a.m. OK GNU C++17 (64) TESTS 11 30 0 1400
93922150 NguyenDangQuan F Sept. 27, 2020, 5:35 a.m. OK GNU C++17 (64) TESTS 11 30 0 1400
93921550 Alpha_Q sajibreadd s_h_shahin F Sept. 27, 2020, 5:30 a.m. OK GNU C++17 (64) TESTS 11 30 0 1400
93919929 QAQAutoMaton F Sept. 27, 2020, 5:14 a.m. OK GNU C++17 (64) TESTS 11 30 0 1400
93947192 marksman_ F Sept. 27, 2020, 10:33 a.m. OK GNU C++17 (64) TESTS 11 30 0 1400
93932118 Betcoin F Sept. 27, 2020, 7:29 a.m. OK GNU C++17 (64) TESTS 11 30 0 1400
93933676 RuthlessAggression F Sept. 27, 2020, 7:48 a.m. OK Java 11 TESTS 11 265 0 1400
93923402 Nisiddharth ashu12_chi sakt_coder F Sept. 27, 2020, 5:48 a.m. OK Java 11 TESTS 11 280 0 1400
93937406 chris_11 F Sept. 27, 2020, 8:33 a.m. OK Java 11 TESTS 11 296 0 1400
93930333 afrizal F Sept. 27, 2020, 7:07 a.m. OK Java 11 TESTS 11 296 0 1400
93922816 VAICR7BHAV ProfessorChaos kabirkanha F Sept. 27, 2020, 5:42 a.m. OK Java 11 TESTS 11 311 204800 1400
93920951 mufaddalnaya F Sept. 27, 2020, 5:24 a.m. OK Java 8 TESTS 11 109 0 1400
93925518 BNL F Sept. 27, 2020, 6:11 a.m. OK Java 8 TESTS 11 155 0 1400
93923806 shivang_1234 shu37052 F Sept. 27, 2020, 5:53 a.m. OK Java 8 TESTS 11 171 0 1400
93922799 prem_cse vaibhavch9876 devil_within F Sept. 27, 2020, 5:42 a.m. OK Java 8 TESTS 11 171 0 1400
93922564 flyman3046 F Sept. 27, 2020, 5:39 a.m. OK Java 8 TESTS 11 171 0 1400
93922500 FlyKyte satya26 F Sept. 27, 2020, 5:39 a.m. OK Java 8 TESTS 11 171 0 1400
94037367 mr.fast F Sept. 27, 2020, 11:30 p.m. OK Java 8 TESTS 11 202 0 1400
93925673 godxpunk F Sept. 27, 2020, 6:13 a.m. OK Java 8 TESTS 11 202 0 1400
93933472 HideBeyondYou F Sept. 27, 2020, 7:45 a.m. OK Java 8 TESTS 11 218 0 1400
93943624 mukund.ch28 codestar_101 SourabhYelluru F Sept. 27, 2020, 9:46 a.m. OK Java 8 TESTS 11 233 0 1400
93921570 koboshi F Sept. 27, 2020, 5:30 a.m. OK Kotlin TESTS 11 186 1638400 1400
93920318 tatyam riantkb idsigma F Sept. 27, 2020, 5:18 a.m. OK Mono C# TESTS 11 62 204800 1400
93922084 azukun F Sept. 27, 2020, 5:35 a.m. OK Mono C# TESTS 11 77 2048000 1400
93931839 hruif F Sept. 27, 2020, 7:26 a.m. OK MS C++ 2017 TESTS 11 31 0 1400
93926054 nortonlrc F Sept. 27, 2020, 6:17 a.m. OK MS C++ 2017 TESTS 11 46 0 1400
93929822 SlatyFish NightStalker F Sept. 27, 2020, 7:01 a.m. OK MS C++ 2017 TESTS 11 46 0 1400
93921503 kim_young_hyun cdy0930 dongbin1999 F Sept. 27, 2020, 5:29 a.m. OK MS C++ 2017 TESTS 11 46 0 1400
93922193 BdE NoSteam909 TheCrawfish F Sept. 27, 2020, 5:36 a.m. OK MS C++ 2017 TESTS 11 46 0 1400
93929567 amaz12138 Notenough F Sept. 27, 2020, 6:58 a.m. OK MS C++ 2017 TESTS 11 46 0 1400
94042316 M_Cortana F Sept. 28, 2020, 2:36 a.m. OK MS C++ 2017 TESTS 11 61 102400 1400
93954894 oadey89 F Sept. 27, 2020, 12:18 p.m. OK PyPy 3 TESTS 11 202 2560000 1400
93930410 AlwaysGray F Sept. 27, 2020, 7:08 a.m. OK PyPy 3 TESTS 11 202 2560000 1400
93954416 jlallas384 F Sept. 27, 2020, 12:12 p.m. OK PyPy 3 TESTS 11 202 3481600 1400
93923308 myotra brezhart F Sept. 27, 2020, 5:47 a.m. OK PyPy 3 TESTS 11 217 2662400 1400
93932845 vasanthagopikrishna stars_in_the_sky ucantfindme F Sept. 27, 2020, 7:37 a.m. OK PyPy 3 TESTS 11 217 3481600 1400
93933564 kr267 lalitkanoriya112233 hackzing404 F Sept. 27, 2020, 7:46 a.m. OK PyPy 3 TESTS 11 218 2969600 1400
93924210 naniwazu otera F Sept. 27, 2020, 5:57 a.m. OK PyPy 3 TESTS 11 218 3072000 1400
93928209 dank0r kafiulshabbir CodeMaster_Nig F Sept. 27, 2020, 6:42 a.m. OK PyPy 3 TESTS 11 233 2150400 1400
93923742 ainunnajib F Sept. 27, 2020, 5:52 a.m. OK PyPy 3 TESTS 11 233 2764800 1400
93954819 KA_Rma zapdospops F Sept. 27, 2020, 12:17 p.m. OK PyPy 3 TESTS 11 234 2969600 1400
93920956 jaggu02 lalith_krg1 AaZaDi F Sept. 27, 2020, 5:24 a.m. OK Python 2 TESTS 11 171 102400 1400
94048319 sh1194 F Sept. 28, 2020, 4:52 a.m. OK Python 3 TESTS 11 124 307200 1400
93969615 Gausstein F Sept. 27, 2020, 3:02 p.m. OK Python 3 TESTS 11 124 307200 1400
93924424 AishaHafizha F Sept. 27, 2020, 5:59 a.m. OK Python 3 TESTS 11 124 307200 1400
93925358 antikostya F Sept. 27, 2020, 6:10 a.m. OK Python 3 TESTS 11 139 307200 1400
93942267 snorlex Akki77 abhhishekray323 F Sept. 27, 2020, 9:29 a.m. OK Python 3 TESTS 11 140 307200 1400
93925687 nikeshthapa255 satyamcse manish_joshi F Sept. 27, 2020, 6:13 a.m. OK Python 3 TESTS 11 140 307200 1400
93922175 sansen F Sept. 27, 2020, 5:36 a.m. OK Rust TESTS 11 46 0 1400

remove filters

Back to search problems