8VC Venture Cup 2016 - Final Round (Div. 2 Edition)

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
635 8VC Venture Cup 2016 - Final Round (Div. 2 Edition) FINISHED False 7200 280929004 Feb. 28, 2016, 6:10 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2934 ) A Orchestra PROGRAMMING brute force implementation 1200

B"Paul is at the orchestra. The string section is arranged in an r xe2 x80 x89 xc3 x97 xe2 x80 x89c rectangular grid and is filled with violinists with the exception of n violists. Paul really likes violas, so he would like to take a picture including at least k of them. Paul can take a picture of any axis-parallel rectangle in the orchestra. Count the number of possible pictures that Paul can take. Two pictures are considered to be different if the coordinates of corresponding rectangles are different. The first line of input contains four space-separated integers r, c, n, k (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89r, xe2 x80 x89c, xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n) -- the number of rows and columns of the string section, the total number of violas, and the minimum number of violas Paul would like in his photograph, respectively. The next n lines each contain two integers xi and yi (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89xi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89r, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89yi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89c): the position of the i-th viola. It is guaranteed that no location appears more than once in the input. Print a single integer -- the number of photographs Paul can take which include at least k violas. We will use '*' to denote violinists and '#' to denote violists. In the first sample, the orchestra looks as follows In the second sample, the orchestra looks as follows In the third sample, the orchestra looks the same as in the second sample. "...

Tutorials

8VC Venture Cup 2016 — Final Round Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
16408220 gorbunov A Feb. 28, 2016, 6:18 p.m. OK D TESTS 22 15 0 1200
16689852 favstovol A March 13, 2016, 10:27 a.m. OK Delphi TESTS 22 15 0 1200
16469167 EvieOneLove A March 2, 2016, 4:47 p.m. OK Delphi TESTS 22 15 0 1200
16408695 ruban A Feb. 28, 2016, 6:23 p.m. OK Delphi TESTS 22 15 19251200 1200
16466257 dohonghuan A March 2, 2016, 2:05 p.m. OK FPC TESTS 22 15 0 1200
16547787 StarScreamOwl A March 6, 2016, 7:56 a.m. OK FPC TESTS 22 15 0 1200
16427590 BlackSalami A Feb. 29, 2016, 2:30 p.m. OK FPC TESTS 22 15 0 1200
16411815 stanislav1 A Feb. 28, 2016, 7:02 p.m. OK FPC TESTS 22 15 0 1200
16411393 garde A Feb. 28, 2016, 6:56 p.m. OK FPC TESTS 22 15 0 1200
16427704 Nasik_o_O A Feb. 29, 2016, 2:37 p.m. OK FPC TESTS 22 15 0 1200
16411388 E1ectroF0x A Feb. 28, 2016, 6:56 p.m. OK FPC TESTS 22 15 0 1200
16432236 efimefim A Feb. 29, 2016, 8:03 p.m. OK FPC TESTS 22 15 0 1200
16436210 irevt A March 1, 2016, 6:09 a.m. OK FPC TESTS 22 15 0 1200
16438580 senich A March 1, 2016, 9:44 a.m. OK FPC TESTS 22 15 0 1200
16451156 SuperString A March 1, 2016, 5:39 p.m. OK GNU C TESTS 22 15 0 1200
16555739 ljq1398 A March 6, 2016, 5:41 p.m. OK GNU C TESTS 22 15 0 1200
16503389 sgtlaugh A March 3, 2016, 9:18 p.m. OK GNU C TESTS 22 15 0 1200
16482015 947443926 A March 3, 2016, 11:58 a.m. OK GNU C TESTS 22 15 0 1200
16449084 eyen A March 1, 2016, 4:36 p.m. OK GNU C TESTS 22 15 0 1200
16427511 Mishkina_Anastasia A Feb. 29, 2016, 2:25 p.m. OK GNU C TESTS 22 15 0 1200
16425755 yougaindra A Feb. 29, 2016, 12:30 p.m. OK GNU C TESTS 22 15 0 1200
16425589 tanid A Feb. 29, 2016, 12:17 p.m. OK GNU C TESTS 22 15 0 1200
16418527 ekrem A Feb. 28, 2016, 11:02 p.m. OK GNU C TESTS 22 15 0 1200
16412870 Otpid A Feb. 28, 2016, 7:18 p.m. OK GNU C TESTS 22 15 0 1200
31233369 vjudge2 A Oct. 12, 2017, 6:22 a.m. OK GNU C++ TESTS 22 15 0 1200
31233368 vjudge3 A Oct. 12, 2017, 6:22 a.m. OK GNU C++ TESTS 22 15 0 1200
31234995 vjudge3 A Oct. 12, 2017, 7:55 a.m. OK GNU C++ TESTS 22 15 0 1200
31233364 vjudge4 A Oct. 12, 2017, 6:22 a.m. OK GNU C++ TESTS 22 15 0 1200
31233344 vjudge1 A Oct. 12, 2017, 6:21 a.m. OK GNU C++ TESTS 22 15 0 1200
31233329 vjudge2 A Oct. 12, 2017, 6:20 a.m. OK GNU C++ TESTS 22 15 0 1200
31233281 vjudge1 A Oct. 12, 2017, 6:16 a.m. OK GNU C++ TESTS 22 15 0 1200
31233159 vjudge4 A Oct. 12, 2017, 6:08 a.m. OK GNU C++ TESTS 22 15 0 1200
31233087 vjudge2 A Oct. 12, 2017, 6:03 a.m. OK GNU C++ TESTS 22 15 0 1200
31232955 vjudge1 A Oct. 12, 2017, 5:55 a.m. OK GNU C++ TESTS 22 15 0 1200
16419059 RuinWing A Feb. 29, 2016, 12:23 a.m. OK GNU C11 TESTS 22 15 0 1200
29810216 f2lk6wf90d A Aug. 26, 2017, 4:01 p.m. OK GNU C11 TESTS 22 15 0 1200
16484886 dikshant001 A March 3, 2016, 3:22 p.m. OK GNU C11 TESTS 22 15 0 1200
16456983 four A March 2, 2016, 3:45 a.m. OK GNU C11 TESTS 22 15 0 1200
16424735 sincerelyyin A Feb. 29, 2016, 11:17 a.m. OK GNU C11 TESTS 22 15 0 1200
16423547 Demax A Feb. 29, 2016, 9:40 a.m. OK GNU C11 TESTS 22 15 0 1200
16408551 Daneel A Feb. 28, 2016, 6:21 p.m. OK GNU C11 TESTS 22 15 0 1200
50535326 NoSoul A Feb. 26, 2019, 3:26 p.m. OK GNU C11 TESTS 22 31 0 1200
16414143 trane2209 A Feb. 28, 2016, 7:38 p.m. OK GNU C11 TESTS 22 31 0 1200
57702510 kaiboy A July 24, 2019, 6:25 p.m. OK GNU C11 TESTS 22 31 0 1200
30009943 vampire_slayer A Sept. 2, 2017, 10 a.m. OK GNU C++11 TESTS 22 15 0 1200
62849679 Algebra-hy A Oct. 18, 2019, 6:49 a.m. OK GNU C++11 TESTS 22 15 0 1200
51943178 _-- A March 28, 2019, 3:27 p.m. OK GNU C++11 TESTS 22 15 0 1200
31967570 FieryPhoenix A Nov. 2, 2017, 4:12 a.m. OK GNU C++11 TESTS 22 15 0 1200
30542807 ZYehia A Sept. 20, 2017, 11:26 a.m. OK GNU C++11 TESTS 22 15 0 1200
30542083 ZYehia A Sept. 20, 2017, 11 a.m. OK GNU C++11 TESTS 22 15 0 1200
30012337 BlueDiamond A Sept. 2, 2017, 12:04 p.m. OK GNU C++11 TESTS 22 15 0 1200
29703055 chb19 A Aug. 23, 2017, 9:36 a.m. OK GNU C++11 TESTS 22 15 0 1200
27700025 fangcun A June 10, 2017, 4:51 a.m. OK GNU C++11 TESTS 22 15 0 1200
27295429 harshali_25 A May 23, 2017, 6:40 a.m. OK GNU C++11 TESTS 22 15 0 1200
30124372 adityasingh.1397 A Sept. 6, 2017, 6:42 a.m. OK GNU C++14 TESTS 22 15 0 1200
30211704 XmtosX A Sept. 8, 2017, 7:33 p.m. OK GNU C++14 TESTS 22 15 0 1200
30575477 NiroBC A Sept. 21, 2017, 11:31 a.m. OK GNU C++14 TESTS 22 15 0 1200
30598393 ProgramerAbdelrahman A Sept. 21, 2017, 7:41 p.m. OK GNU C++14 TESTS 22 15 0 1200
30909265 maurauders yudhik A Oct. 1, 2017, 12:56 p.m. OK GNU C++14 TESTS 22 15 0 1200
51126648 Dorpoush A March 10, 2019, 11:54 a.m. OK GNU C++14 TESTS 22 15 0 1200
51123625 mahdi.v.p A March 10, 2019, 10:34 a.m. OK GNU C++14 TESTS 22 15 0 1200
51123432 aarr A March 10, 2019, 10:30 a.m. OK GNU C++14 TESTS 22 15 0 1200
32212114 Dibagger A Nov. 11, 2017, 6:31 a.m. OK GNU C++14 TESTS 22 15 0 1200
31967827 Shinbai A Nov. 2, 2017, 4:33 a.m. OK GNU C++14 TESTS 22 15 0 1200
51161227 DarkLight256 A March 11, 2019, 12:29 p.m. OK GNU C++17 TESTS 22 15 0 1200
51155606 SuiT_Up A March 11, 2019, 10:31 a.m. OK GNU C++17 TESTS 22 15 0 1200
51122968 ivan.v.gerasimov A March 10, 2019, 10:17 a.m. OK GNU C++17 TESTS 22 15 0 1200
45587023 nongi A Nov. 12, 2018, 9:32 a.m. OK GNU C++17 TESTS 22 15 0 1200
42789274 Ilya-bar A Sept. 12, 2018, 7:16 a.m. OK GNU C++17 TESTS 22 15 0 1200
45757025 Sanitator A Nov. 15, 2018, 6:37 a.m. OK GNU C++17 TESTS 22 15 204800 1200
38013423 neginD A May 8, 2018, 6:50 a.m. OK GNU C++17 TESTS 22 15 3379200 1200
51158587 Iliyaesm A March 11, 2019, 11:18 a.m. OK GNU C++17 TESTS 22 30 0 1200
51158623 NikanGh A March 11, 2019, 11:19 a.m. OK GNU C++17 TESTS 22 30 0 1200
60387790 Sali_adelkhah A Sept. 11, 2019, 12:10 p.m. OK GNU C++17 TESTS 22 30 0 1200
16407831 slava.sh A Feb. 28, 2016, 6:15 p.m. OK Go TESTS 22 15 102400 1200
17328290 mengsungwu A April 15, 2016, 2:34 p.m. OK Go TESTS 22 30 0 1200
16408760 kvafy A Feb. 28, 2016, 6:24 p.m. OK Haskell TESTS 22 15 8396800 1200
16473977 serejkee A March 2, 2016, 9:45 p.m. OK Haskell TESTS 22 31 8499200 1200
16410718 Ereke A Feb. 28, 2016, 6:47 p.m. OK Java 7 TESTS 22 93 0 1200
16410692 farizazmip A Feb. 28, 2016, 6:47 p.m. OK Java 7 TESTS 22 93 0 1200
16418755 AL_DEEB A Feb. 28, 2016, 11:37 p.m. OK Java 7 TESTS 22 108 0 1200
16408715 DukeOfYork A Feb. 28, 2016, 6:23 p.m. OK Java 7 TESTS 22 109 0 1200
16623131 mkirsche A March 9, 2016, 7:26 p.m. OK Java 7 TESTS 22 109 0 1200
16410318 mIchanic A Feb. 28, 2016, 6:42 p.m. OK Java 7 TESTS 22 109 0 1200
16408128 SEGFAULTSEGFAULTSEGFAULT A Feb. 28, 2016, 6:18 p.m. OK Java 7 TESTS 22 109 0 1200
16407741 nitegazer A Feb. 28, 2016, 6:14 p.m. OK Java 7 TESTS 22 109 0 1200
16425943 Badalyan_Shavarsh A Feb. 29, 2016, 12:42 p.m. OK Java 7 TESTS 22 124 0 1200
16458496 qinhang3 A March 2, 2016, 6:38 a.m. OK Java 7 TESTS 22 124 0 1200
56136756 TheSawan A June 26, 2019, 10:59 p.m. OK Java 8 TESTS 22 108 0 1200
16418001 VernitaGreen A Feb. 28, 2016, 10:14 p.m. OK Java 8 TESTS 22 108 0 1200
16408588 poikniok A Feb. 28, 2016, 6:22 p.m. OK Java 8 TESTS 22 108 0 1200
16408261 maradonah A Feb. 28, 2016, 6:19 p.m. OK Java 8 TESTS 22 108 0 1200
16407768 Petruchcho A Feb. 28, 2016, 6:14 p.m. OK Java 8 TESTS 22 108 0 1200
25824722 OmarRadwan A March 26, 2017, 5:29 p.m. OK Java 8 TESTS 22 108 20377600 1200
28821367 tomdmitriev A July 24, 2017, 10:05 a.m. OK Java 8 TESTS 22 108 20480000 1200
44670789 AmmarAlsharif A Oct. 21, 2018, 9:07 p.m. OK Java 8 TESTS 22 109 0 1200
56561128 YahiaSherif A July 5, 2019, 3:02 p.m. OK Java 8 TESTS 22 109 0 1200
16752310 anna.skobaneva A March 16, 2016, 6:53 p.m. OK Java 8 TESTS 22 109 0 1200
53809080 I.A.K.O.V A May 6, 2019, 4:44 a.m. OK Kotlin TESTS 22 124 0 1200
16421686 TRR A Feb. 29, 2016, 6:45 a.m. OK Mono C# TESTS 22 62 102400 1200
16408404 CongDuy A Feb. 28, 2016, 6:20 p.m. OK MS C# TESTS 22 46 307200 1200
16411463 SisAdminos A Feb. 28, 2016, 6:57 p.m. OK MS C# TESTS 22 46 512000 1200
16480070 AnatolyTolstobrov A March 3, 2016, 9:29 a.m. OK MS C# TESTS 22 61 204800 1200
16416404 mircea85 A Feb. 28, 2016, 8:09 p.m. OK MS C# TESTS 22 61 204800 1200
16410903 DVRazor A Feb. 28, 2016, 6:49 p.m. OK MS C# TESTS 22 61 2457600 1200
16429357 tvhong A Feb. 29, 2016, 4:31 p.m. OK MS C# TESTS 22 61 2560000 1200
16421072 og.kostya A Feb. 29, 2016, 5:40 a.m. OK MS C# TESTS 22 62 102400 1200
16409986 antuan3000 A Feb. 28, 2016, 6:38 p.m. OK MS C# TESTS 22 62 2457600 1200
16427792 namaku A Feb. 29, 2016, 2:43 p.m. OK MS C# TESTS 22 77 307200 1200
16409145 DigitalArtistKz A Feb. 28, 2016, 6:28 p.m. OK MS C# TESTS 22 77 2457600 1200
22582015 LoDThe A Nov. 28, 2016, 5:24 p.m. OK MS C++ TESTS 22 15 0 1200
17308672 javiguz A April 13, 2016, 11:36 p.m. OK MS C++ TESTS 22 15 0 1200
16763986 gdutzhuhui A March 17, 2016, 1:12 p.m. OK MS C++ TESTS 22 15 0 1200
16758322 liuyuhong A March 17, 2016, 6:19 a.m. OK MS C++ TESTS 22 15 0 1200
16738736 Spolutrean A March 16, 2016, 7:01 a.m. OK MS C++ TESTS 22 15 0 1200
16715360 luckystars A March 14, 2016, 2:05 p.m. OK MS C++ TESTS 22 15 0 1200
16684428 594cp A March 13, 2016, 3:45 a.m. OK MS C++ TESTS 22 15 0 1200
16558919 ladom A March 6, 2016, 10:57 p.m. OK MS C++ TESTS 22 15 0 1200
16617425 Mosyagin A March 9, 2016, 1:28 p.m. OK MS C++ TESTS 22 15 0 1200
31235236 vjudge5 A Oct. 12, 2017, 8:11 a.m. OK MS C++ TESTS 22 15 0 1200
16408672 Darooha A Feb. 28, 2016, 6:22 p.m. OK Ocaml TESTS 22 15 0 1200
16408181 LeCaRiBoU A Feb. 28, 2016, 6:18 p.m. OK Ocaml TESTS 22 15 0 1200
16418633 rsFalse A Feb. 28, 2016, 11:19 p.m. OK Perl TESTS 22 31 0 1200
16409371 rsFalse A Feb. 28, 2016, 6:31 p.m. OK Perl TESTS 22 31 0 1200
16761538 dimireme A March 17, 2016, 10:35 a.m. OK PHP TESTS 22 31 0 1200
18726521 mayakin A June 25, 2016, 10:01 p.m. OK PHP TESTS 22 46 307200 1200
16504767 mrthefakeperson A March 3, 2016, 11:23 p.m. OK PyPy 2 TESTS 22 108 2355200 1200
16452111 Eeyore A March 1, 2016, 6:32 p.m. OK PyPy 2 TESTS 22 124 1638400 1200
16417465 hellman_ A Feb. 28, 2016, 9:52 p.m. OK PyPy 2 TESTS 22 296 13619200 1200
16408619 MisterMax A Feb. 28, 2016, 6:22 p.m. OK PyPy 3 TESTS 22 124 512000 1200
16407919 maximaxi A Feb. 28, 2016, 6:16 p.m. OK PyPy 3 TESTS 22 139 2048000 1200
16410222 Ferume A Feb. 28, 2016, 6:41 p.m. OK PyPy 3 TESTS 22 139 2969600 1200
16408349 cugel A Feb. 28, 2016, 6:19 p.m. OK PyPy 3 TESTS 22 140 2867200 1200
16411881 justinz2018 A Feb. 28, 2016, 7:03 p.m. OK PyPy 3 TESTS 22 140 2969600 1200
16407767 FiveAtomTree A Feb. 28, 2016, 6:14 p.m. OK PyPy 3 TESTS 22 155 2969600 1200
16410775 Mateon1 A Feb. 28, 2016, 6:48 p.m. OK PyPy 3 TESTS 22 171 2867200 1200
59709396 kchau A Aug. 30, 2019, 2:02 p.m. OK PyPy 3 TESTS 22 171 3788800 1200
16408262 Vetand A Feb. 28, 2016, 6:19 p.m. OK PyPy 3 TESTS 22 171 4198400 1200
53965777 chauhain A May 10, 2019, 4:54 p.m. OK PyPy 3 TESTS 22 186 1638400 1200
16436960 buzzvil A March 1, 2016, 7:26 a.m. OK Python 2 TESTS 22 46 0 1200
16414888 scipianne A Feb. 28, 2016, 7:49 p.m. OK Python 2 TESTS 22 46 0 1200
16409707 luxsit A Feb. 28, 2016, 6:34 p.m. OK Python 2 TESTS 22 46 0 1200
16507996 ruyvallem A March 4, 2016, 3:24 a.m. OK Python 2 TESTS 22 61 0 1200
16410237 rek A Feb. 28, 2016, 6:41 p.m. OK Python 2 TESTS 22 61 0 1200
16713793 zerocpp A March 14, 2016, 12:43 p.m. OK Python 2 TESTS 22 62 0 1200
16687724 Hepic_Antony_Skarlatos A March 13, 2016, 8:04 a.m. OK Python 2 TESTS 22 62 0 1200
16627051 jebwizoscar A March 10, 2016, 4:20 a.m. OK Python 2 TESTS 22 62 0 1200
16596010 qw4990 A March 8, 2016, 5:56 a.m. OK Python 2 TESTS 22 62 0 1200
16539907 Sadia_Atique A March 5, 2016, 7:06 p.m. OK Python 2 TESTS 22 62 0 1200
16542248 Kasia A March 5, 2016, 10:16 p.m. OK Python 3 TESTS 22 46 204800 1200
16408834 duckladydinh A Feb. 28, 2016, 6:25 p.m. OK Python 3 TESTS 22 61 0 1200
29431227 rprtr258 A Aug. 13, 2017, 10:48 a.m. OK Python 3 TESTS 22 61 4608000 1200
32378180 yugle7 A Nov. 17, 2017, 12:35 p.m. OK Python 3 TESTS 22 62 0 1200
16525928 orailly A March 5, 2016, 4:07 a.m. OK Python 3 TESTS 22 62 0 1200
16409972 Nysh A Feb. 28, 2016, 6:38 p.m. OK Python 3 TESTS 22 62 0 1200
16408608 111vad111 A Feb. 28, 2016, 6:22 p.m. OK Python 3 TESTS 22 62 0 1200
16408595 fezjo A Feb. 28, 2016, 6:22 p.m. OK Python 3 TESTS 22 62 0 1200
16408177 merolish A Feb. 28, 2016, 6:18 p.m. OK Python 3 TESTS 22 62 0 1200
16409370 noelnadal A Feb. 28, 2016, 6:31 p.m. OK Python 3 TESTS 22 62 307200 1200
16542479 salogorilka A March 5, 2016, 10:45 p.m. OK Ruby TESTS 22 62 0 1200
16530648 _ShadowSong A March 5, 2016, 9:37 a.m. OK Ruby TESTS 22 62 0 1200
16430817 cielavenir A Feb. 29, 2016, 6:22 p.m. OK Ruby TESTS 22 62 0 1200
16413381 ParJam A Feb. 28, 2016, 7:26 p.m. OK Ruby TESTS 22 311 0 1200
16410888 octaviantuchila14 A Feb. 28, 2016, 6:49 p.m. OK Scala TESTS 22 249 0 1200
16410455 wrick A Feb. 28, 2016, 6:44 p.m. OK Scala TESTS 22 265 0 1200
16408165 limed A Feb. 28, 2016, 6:18 p.m. OK Scala TESTS 22 280 102400 1200
16678686 lolo4ka A March 12, 2016, 5:55 p.m. OK Scala TESTS 22 296 0 1200

remove filters

Back to search problems