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
( 849 ) D Danger of Mad Snakes PROGRAMMING combinatorics dp math 2300

B"Mr. Chanek The Ninja is one day tasked with a mission to handle mad snakes that are attacking a site. Now, Mr. Chanek already arrived at the hills where the destination is right below these hills. The mission area can be divided into a grid of size 1000 x 1000 squares. There are N mad snakes on the site, the i'th mad snake is located on square (X_i, Y_i) and has a danger level B_i . Mr. Chanek is going to use the Shadow Clone Jutsu and Rasengan that he learned from Lord Seventh to complete this mission. His attack strategy is as follows: Now Mr. Chanek is curious, what is the sum of scores for every possible attack strategy? Because this number can be huge, Mr. Chanek only needs the output modulo 10^9 + 7 . The first line contains three integers N M R (1 <= M <= N <= 2 cdot 10^3, 0 <= R < 10^3) , the number of mad snakes, the number of clones, and the radius of the Rasengan. The next N lines each contains three integers, X_i , Y_i , dan B_i (1 <= X_i, Y_i <= 10^3, 1 <= B_i <= 10^6) . It is guaranteed that no two mad snakes occupy the same square. A line with an integer that denotes the sum of scores for every possible attack strategy. Here is the illustration of all six possible attack strategies. The circles denote the chosen mad snakes, and the blue squares denote the region of the Rasengan: So, the total score of all attacks is: 3.600 + 3.600 + 4.900 + 3.600 + 10.000 + 8.100 = 33.800 . "...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
93925446 Tuahlamof D Sept. 27, 2020, 6:11 a.m. OK GNU C++11 TESTS 44 108 32256000 2300
93925934 Kylin_ LiuYu_penguin xblakioi D Sept. 27, 2020, 6:16 a.m. OK GNU C++11 TESTS 44 124 20275200 2300
93931878 Conical D Sept. 27, 2020, 7:26 a.m. OK GNU C++11 TESTS 44 155 109670400 2300
93927729 zld3794955 D Sept. 27, 2020, 6:37 a.m. OK GNU C++11 TESTS 44 156 32768000 2300
93954583 XiaoTaoTao D Sept. 27, 2020, 12:14 p.m. OK GNU C++11 TESTS 44 202 32256000 2300
93936050 CE_WA_TLE QwQcOrZ Chinese_zjc_ D Sept. 27, 2020, 8:17 a.m. OK GNU C++11 TESTS 44 217 64512000 2300
93941190 ght5160 lys013 XiaoTaoTao D Sept. 27, 2020, 9:18 a.m. OK GNU C++11 TESTS 44 249 32256000 2300
93926263 _LowestJN gjghfd D Sept. 27, 2020, 6:20 a.m. OK GNU C++11 TESTS 44 265 32460800 2300
94039255 142 D Sept. 28, 2020, 12:54 a.m. OK GNU C++11 TESTS 44 280 4096000 2300
93943166 wusongxue GrandLine001 ReTleWa1 D Sept. 27, 2020, 9:40 a.m. OK GNU C++11 TESTS 44 295 16179200 2300
93942523 passer_by7 farmerj Witcano D Sept. 27, 2020, 9:32 a.m. OK GNU C++14 TESTS 44 109 36454400 2300
93928923 shirakami.rin D Sept. 27, 2020, 6:50 a.m. OK GNU C++14 TESTS 44 124 20480000 2300
93935593 dastidarag01 armish_123 sumit18cs D Sept. 27, 2020, 8:12 a.m. OK GNU C++14 TESTS 44 217 48742400 2300
93962761 BeNoble D Sept. 27, 2020, 1:55 p.m. OK GNU C++14 TESTS 44 218 34508800 2300
93943086 rakki7 dharmicksai nandakishore323 D Sept. 27, 2020, 9:39 a.m. OK GNU C++14 TESTS 44 218 64614400 2300
93998724 rfpermen D Sept. 27, 2020, 4:03 p.m. OK GNU C++14 TESTS 44 249 8396800 2300
93933220 imp0stor D Sept. 27, 2020, 7:42 a.m. OK GNU C++14 TESTS 44 264 96972800 2300
93954066 Drice D Sept. 27, 2020, 12:08 p.m. OK GNU C++14 TESTS 44 265 32256000 2300
94024449 dotoleeoak D Sept. 27, 2020, 6:10 p.m. OK GNU C++14 TESTS 44 280 20480000 2300
93934697 ravik1 Sixpathsguy darklight13 D Sept. 27, 2020, 8 a.m. OK GNU C++14 TESTS 44 311 32665600 2300
93930712 wennitao applese D Sept. 27, 2020, 7:11 a.m. OK GNU C++17 TESTS 44 93 20172800 2300
93939485 shukun mr_chen116 QuteMelon D Sept. 27, 2020, 8:58 a.m. OK GNU C++17 TESTS 44 155 4198400 2300
93929546 vipjml D Sept. 27, 2020, 6:58 a.m. OK GNU C++17 TESTS 44 156 4812800 2300
93925496 wlzhouzhuan D Sept. 27, 2020, 6:11 a.m. OK GNU C++17 TESTS 44 186 16179200 2300
93931847 lts_ D Sept. 27, 2020, 7:26 a.m. OK GNU C++17 TESTS 44 186 106188800 2300
93926229 Nakisa cxy004 D Sept. 27, 2020, 6:19 a.m. OK GNU C++17 TESTS 44 187 4096000 2300
93935764 compute dyume LIN88 D Sept. 27, 2020, 8:14 a.m. OK GNU C++17 TESTS 44 187 20275200 2300
93938752 tlnllkbp D Sept. 27, 2020, 8:49 a.m. OK GNU C++17 TESTS 44 202 32460800 2300
93928452 Pajaraja milisav GiannisAntetokounmpo D Sept. 27, 2020, 6:45 a.m. OK GNU C++17 TESTS 44 202 32460800 2300
93929214 lucaperju apostoldaniel854 ivan.tudor D Sept. 27, 2020, 6:54 a.m. OK GNU C++17 TESTS 44 202 36249600 2300
93926049 nishank.suresh D Sept. 27, 2020, 6:17 a.m. OK GNU C++17 (64) TESTS 44 78 4096000 2300
93923854 wasa855 Frame233 memset0c D Sept. 27, 2020, 5:53 a.m. OK GNU C++17 (64) TESTS 44 78 16179200 2300
93925121 Heltion D Sept. 27, 2020, 6:07 a.m. OK GNU C++17 (64) TESTS 44 78 36147200 2300
93947318 vjudge3 D Sept. 27, 2020, 10:35 a.m. OK GNU C++17 (64) TESTS 44 93 16179200 2300
93927002 q234rty Isrothy dsgsjk D Sept. 27, 2020, 6:28 a.m. OK GNU C++17 (64) TESTS 44 93 26112000 2300
93926599 haleyk100198 q234rty D Sept. 27, 2020, 6:23 a.m. OK GNU C++17 (64) TESTS 44 93 26112000 2300
93946751 sunzihao D Sept. 27, 2020, 10:26 a.m. OK GNU C++17 (64) TESTS 44 108 32460800 2300
93926303 Binary_Search_Tree RiverHamster 2016wudi D Sept. 27, 2020, 6:20 a.m. OK GNU C++17 (64) TESTS 44 109 8294400 2300
93953607 lior5654 D Sept. 27, 2020, 12:02 p.m. OK GNU C++17 (64) TESTS 44 109 32256000 2300
93947283 sunzihao D Sept. 27, 2020, 10:34 a.m. OK GNU C++17 (64) TESTS 44 109 32460800 2300
93925417 tatyam riantkb idsigma D Sept. 27, 2020, 6:10 a.m. OK Mono C# TESTS 44 498 8601600 2300
93925579 sansen D Sept. 27, 2020, 6:12 a.m. OK Rust TESTS 44 124 4505600 2300

remove filters

Back to search problems