School Regional Team Contest, Saratov, 2011

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
120 School Regional Team Contest, Saratov, 2011 FINISHED False 18000 419038151 Oct. 18, 2011, 6:30 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1948 ) D Three Sons PROGRAMMING brute force 1400

B"Three sons inherited from their father a rectangular corn fiend divided into n xe2 x80 x89 xc3 x97 xe2 x80 x89m squares. For each square we know how many tons of corn grows on it. The father, an old farmer did not love all three sons equally, which is why he bequeathed to divide his field into three parts containing A, B and C tons of corn. The field should be divided by two parallel lines. The lines should be parallel to one side of the field and to each other. The lines should go strictly between the squares of the field. Each resulting part of the field should consist of at least one square. Your task is to find the number of ways to divide the field as is described above, that is, to mark two lines, dividing the field in three parts so that on one of the resulting parts grew A tons of corn, B on another one and C on the remaining one. The first line contains space-separated integers n and m -- the sizes of the original (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8950, xe2 x80 x89max(n, xe2 x80 x89m) xe2 x80 x89 xe2 x89 xa5 xe2 x80 x893). Then the field's description follows: n lines, each containing m space-separated integers cij, (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89cij xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100) -- the number of tons of corn each square contains. The last line contains space-separated integers A, xe2 x80 x89B, xe2 x80 x89C (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89A, xe2 x80 x89B, xe2 x80 x89C xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106). Print the answer to the problem: the number of ways to divide the father's field so that one of the resulting parts contained A tons of corn, another one contained B tons, and the remaining one contained C tons. If no such way exists, print 0. The lines dividing the field can be horizontal or vertical, but they should be parallel to each other."...

Tutorials

Tutorial for school regional team contest of Saratov

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
4060414 AHTuTTuTyX D July 13, 2013, 4:08 p.m. OK Delphi TESTS 40 15 102400 1400
2924549 Mosyagin D Jan. 14, 2013, 3:54 p.m. OK Delphi TESTS 40 15 102400 1400
3649058 AleksanderBalobanov D April 28, 2013, 5:03 p.m. OK Delphi TESTS 40 15 3788800 1400
15141874 HappyNewYearMike D Dec. 31, 2015, 9:55 p.m. OK Delphi TESTS 40 30 102400 1400
5069313 mr_justadog D Nov. 11, 2013, 3:21 p.m. OK Delphi TESTS 40 30 204800 1400
1386916 Ramp D March 22, 2012, 1:45 p.m. OK Delphi TESTS 40 30 1024000 1400
1151653 ilya.korovin Golovanov399 D Feb. 5, 2012, 4:40 p.m. OK Delphi TESTS 40 30 1024000 1400
1118537 heartsinatlantis D Jan. 26, 2012, 10:29 a.m. OK Delphi TESTS 40 30 1024000 1400
918360 Toshik goalkick BaJIuK D Oct. 18, 2011, 7:15 a.m. OK Delphi TESTS 40 30 1024000 1400
833789 alexander-nsk94 D Nov. 4, 2011, 6:40 a.m. OK Delphi TESTS 40 30 1024000 1400
4030324 SoulSilver D July 6, 2013, 9:32 a.m. OK FPC TESTS 40 15 204800 1400
7540321 imhereonlyforcookies D Aug. 21, 2014, 6:10 a.m. OK FPC TESTS 40 30 204800 1400
874222 gamedeveloper D Oct. 18, 2011, 7:28 a.m. OK FPC TESTS 40 30 1126400 1400
839475 500xhp XuPoKaCaMa 163max D Nov. 7, 2011, 12:30 p.m. OK FPC TESTS 40 30 1126400 1400
836061 mxalbert1996 D Nov. 5, 2011, 9:22 a.m. OK FPC TESTS 40 30 1126400 1400
811603 a.s.savostyanov mukintaras Priboy68rus D Oct. 18, 2011, 10:04 a.m. OK FPC TESTS 40 30 1126400 1400
795101 hatsuyuki15 D Oct. 25, 2011, 11:51 a.m. OK FPC TESTS 40 30 1126400 1400
794923 desmodus D Oct. 25, 2011, 9:38 a.m. OK FPC TESTS 40 30 1126400 1400
786239 zuizui_123 D Oct. 18, 2011, 7:55 a.m. OK FPC TESTS 40 30 1126400 1400
783606 coolinging D Oct. 19, 2011, 4:48 a.m. OK FPC TESTS 40 30 1126400 1400
796223 rkrahul324 D Oct. 26, 2011, 6:31 a.m. OK GNU C TESTS 40 30 1536000 1400
789029 kawatea D Oct. 21, 2011, 4 p.m. OK GNU C TESTS 40 30 1536000 1400
779025 imnewcoder D Oct. 18, 2011, 9:58 a.m. OK GNU C TESTS 40 30 1536000 1400
779012 praveenvaka D Oct. 18, 2011, 9:57 a.m. OK GNU C TESTS 40 30 1536000 1400
778110 nnhamane D Oct. 18, 2011, 9:16 a.m. OK GNU C TESTS 40 30 1536000 1400
777777 Parsee_Mizuhashi D Oct. 18, 2011, 9:02 a.m. OK GNU C TESTS 40 30 1536000 1400
777128 eha D Oct. 18, 2011, 8:36 a.m. OK GNU C TESTS 40 30 1536000 1400
775431 monkeybrain D Oct. 18, 2011, 7:41 a.m. OK GNU C TESTS 40 30 1536000 1400
17152065 vjudge2 D April 4, 2016, 1:33 a.m. OK GNU C TESTS 40 30 2150400 1400
3472122 cpy D April 4, 2013, 8:49 a.m. OK GNU C TESTS 40 31 204800 1400
788790 Jorge_Tele D Oct. 18, 2011, 7:37 a.m. OK GNU C++ TESTS 40 10 1536000 1400
3806164 jsego6 D May 31, 2013, 8:48 a.m. OK GNU C++ TESTS 40 15 102400 1400
3225377 vlfom D March 1, 2013, 1:56 p.m. OK GNU C++ TESTS 40 15 102400 1400
4161326 MeHdi.KaZemI8 D July 25, 2013, 6:27 a.m. OK GNU C++ TESTS 40 15 204800 1400
4161261 vjudge1 D July 25, 2013, 6:17 a.m. OK GNU C++ TESTS 40 15 204800 1400
4161236 mohammadrdeh D July 25, 2013, 6:14 a.m. OK GNU C++ TESTS 40 15 204800 1400
4161201 vjudge2 D July 25, 2013, 6:08 a.m. OK GNU C++ TESTS 40 15 204800 1400
4142117 Vadim2 D July 23, 2013, 4:29 p.m. OK GNU C++ TESTS 40 15 204800 1400
4030130 Equanimity D July 6, 2013, 8:44 a.m. OK GNU C++ TESTS 40 15 204800 1400
3855825 alfo512 D June 11, 2013, 3:53 a.m. OK GNU C++ TESTS 40 15 204800 1400
3767582 savinov D May 24, 2013, 11:31 p.m. OK GNU C++0x TESTS 40 15 204800 1400
3199671 Doxer D Feb. 26, 2013, 4:17 p.m. OK GNU C++0x TESTS 40 15 307200 1400
7994005 a654889339 D Sept. 28, 2014, 12:14 p.m. OK GNU C++0x TESTS 40 30 204800 1400
7993971 a654889339 D Sept. 28, 2014, 12:11 p.m. OK GNU C++0x TESTS 40 30 204800 1400
7860641 magd-dev D Sept. 20, 2014, 12:05 a.m. OK GNU C++0x TESTS 40 30 204800 1400
5774489 pikapika D Jan. 23, 2014, 4:19 a.m. OK GNU C++0x TESTS 40 30 204800 1400
4898386 Orfest D Oct. 25, 2013, 11:17 p.m. OK GNU C++0x TESTS 40 30 204800 1400
991862 Archon.JK D Dec. 30, 2011, 10:03 a.m. OK GNU C++0x TESTS 40 30 1536000 1400
910142 luyi0619 D Nov. 29, 2011, 9:57 a.m. OK GNU C++0x TESTS 40 30 1536000 1400
842444 wisterik D Nov. 9, 2011, 2:09 a.m. OK GNU C++0x TESTS 40 30 1536000 1400
32021795 vjudge4 D Nov. 3, 2017, 4:42 p.m. OK GNU C++11 TESTS 40 30 204800 1400
31986059 _._____..._____ D Nov. 2, 2017, 4:24 p.m. OK GNU C++11 TESTS 40 30 204800 1400
29598740 lukomskiy D Aug. 19, 2017, 12:57 p.m. OK GNU C++11 TESTS 40 30 204800 1400
22177601 magdy.hasan D Nov. 12, 2016, 12:18 p.m. OK GNU C++11 TESTS 40 30 204800 1400
22090087 ISRMR1 D Nov. 7, 2016, 7:46 a.m. OK GNU C++11 TESTS 40 30 204800 1400
21896364 Wiz-Khalipha D Oct. 30, 2016, 4:58 p.m. OK GNU C++11 TESTS 40 30 204800 1400
21850113 mno123 D Oct. 28, 2016, 2:46 p.m. OK GNU C++11 TESTS 40 30 204800 1400
21754804 ITDOI D Oct. 24, 2016, 4:44 p.m. OK GNU C++11 TESTS 40 30 204800 1400
21734729 Hamada14 D Oct. 24, 2016, 6:58 a.m. OK GNU C++11 TESTS 40 30 204800 1400
20294193 user3301 D Aug. 31, 2016, 5:01 a.m. OK GNU C++11 TESTS 40 30 204800 1400
32338617 vjudge1 D Nov. 15, 2017, 5:24 p.m. OK GNU C++14 TESTS 40 30 204800 1400
32318566 MFoad_Aba D Nov. 14, 2017, 7:13 p.m. OK GNU C++14 TESTS 40 30 204800 1400
32216338 vjudge2 D Nov. 11, 2017, 10:13 a.m. OK GNU C++14 TESTS 40 30 204800 1400
32216329 MahdiOR D Nov. 11, 2017, 10:12 a.m. OK GNU C++14 TESTS 40 30 204800 1400
32034765 vjudge2 D Nov. 3, 2017, 7:16 p.m. OK GNU C++14 TESTS 40 30 204800 1400
32034750 Rtn_e D Nov. 3, 2017, 7:15 p.m. OK GNU C++14 TESTS 40 30 204800 1400
31991353 NullByte D Nov. 2, 2017, 7:48 p.m. OK GNU C++14 TESTS 40 30 204800 1400
31864005 vjudge5 D Oct. 29, 2017, 10:57 a.m. OK GNU C++14 TESTS 40 30 204800 1400
31833693 AbedAbuhijleh D Oct. 28, 2017, 11:18 a.m. OK GNU C++14 TESTS 40 30 204800 1400
30304822 alevtina D Sept. 13, 2017, 11:02 a.m. OK GNU C++14 TESTS 40 30 204800 1400
58881470 ivan.v.gerasimov D Aug. 15, 2019, 9:30 p.m. OK GNU C++17 TESTS 40 60 102400 1400
52593871 veedee D April 11, 2019, 7:40 a.m. OK GNU C++17 TESTS 40 60 102400 1400
69608873 leshanbog D Jan. 27, 2020, 10:45 a.m. OK GNU C++17 TESTS 40 60 307200 1400
48306477 dyl055a D Jan. 12, 2019, 8:11 p.m. OK GNU C++17 TESTS 40 60 409600 1400
49674423 Onizuka D Feb. 9, 2019, 6:48 p.m. OK GNU C++17 TESTS 40 60 4505600 1400
69946642 Kmaxkum Bakler D Feb. 1, 2020, 7:46 a.m. OK GNU C++17 TESTS 40 62 102400 1400
54979250 _Yamin_Arafat_ D June 2, 2019, 12:20 p.m. OK GNU C++17 TESTS 40 62 102400 1400
54900284 charity D June 1, 2019, 6:14 a.m. OK GNU C++17 TESTS 40 62 102400 1400
46729676 jpetrovcic D Dec. 7, 2018, 4:49 p.m. OK GNU C++17 TESTS 40 62 102400 1400
46624990 hinkopihpih D Dec. 4, 2018, 8:08 p.m. OK GNU C++17 TESTS 40 62 102400 1400
1739012 DimsFromDergachy D May 29, 2012, 7:42 a.m. OK Haskell TESTS 40 50 2252800 1400
785747 mkut D Oct. 20, 2011, 2:53 a.m. OK Haskell TESTS 40 50 2252800 1400
4082340 mkirsche D July 16, 2013, 7:23 p.m. OK Java 6 TESTS 40 93 2252800 1400
822122 psucoder D Oct. 18, 2011, 7:19 a.m. OK Java 6 TESTS 40 110 35225600 1400
773158 xiaowuc1 D Oct. 18, 2011, 6:51 a.m. OK Java 6 TESTS 40 110 35225600 1400
993592 ilovepink D Jan. 1, 2012, 8:11 a.m. OK Java 6 TESTS 40 110 43008000 1400
784636 Hadi_Asiaie D Oct. 18, 2011, 7:50 a.m. OK Java 6 TESTS 40 110 43008000 1400
782754 kreep D Oct. 18, 2011, 6:44 p.m. OK Java 6 TESTS 40 110 43008000 1400
782378 Venom D Oct. 18, 2011, 5:05 p.m. OK Java 6 TESTS 40 110 43008000 1400
779784 OgieKako D Oct. 18, 2011, 10:40 a.m. OK Java 6 TESTS 40 110 43008000 1400
778924 bogdan.sumy.ua D Oct. 18, 2011, 9:54 a.m. OK Java 6 TESTS 40 110 43008000 1400
776834 uisurumadushanka89 D Oct. 18, 2011, 8:26 a.m. OK Java 6 TESTS 40 110 43008000 1400
3792719 santjuan D May 30, 2013, 2:34 a.m. OK Java 7 TESTS 40 78 204800 1400
1689600 bidzilya D May 15, 2012, 8:11 p.m. OK Java 7 TESTS 40 90 44851200 1400
1539462 relator D April 15, 2012, 8:45 a.m. OK Java 7 TESTS 40 90 44953600 1400
2683559 di_halt D Dec. 1, 2012, 11:40 a.m. OK Java 7 TESTS 40 93 0 1400
13254147 pitfall D Sept. 27, 2015, 6:51 p.m. OK Java 7 TESTS 40 156 0 1400
12699250 free.dom D Aug. 25, 2015, 6:03 p.m. OK Java 7 TESTS 40 156 0 1400
1872733 jiangzhijie D July 7, 2012, 5:59 a.m. OK Java 7 TESTS 40 160 45260800 1400
6953508 0p9o8i D June 24, 2014, 2:57 p.m. OK Java 7 TESTS 40 218 307200 1400
45130044 guptautkarsh028 Abhishek_8 goyalanubhav11 D Oct. 31, 2018, 9:53 a.m. OK Java 8 TESTS 40 218 0 1400
69468454 sakt_coder D Jan. 24, 2020, 1:44 p.m. OK Java 8 TESTS 40 248 0 1400
24452819 Musin D Feb. 5, 2017, 2:02 p.m. OK Java 8 TESTS 40 248 20684800 1400
12321295 poikniok D Aug. 3, 2015, 5:35 a.m. OK Java 8 TESTS 40 278 0 1400
69484470 ashu12_chi D Jan. 24, 2020, 6:58 p.m. OK Java 8 TESTS 40 310 0 1400
24452834 Musin D Feb. 5, 2017, 2:04 p.m. OK Java 8 TESTS 40 310 20684800 1400
24319715 thisfloat D Jan. 31, 2017, 4:37 p.m. OK Java 8 TESTS 40 374 21196800 1400
15159700 og.kostya D Jan. 2, 2016, 2:54 p.m. OK MS C# TESTS 40 186 102400 1400
782714 Snef D Oct. 18, 2011, 6:30 p.m. OK MS C++ TESTS 40 10 1536000 1400
3563624 tomas.svab D April 19, 2013, 11:24 a.m. OK MS C++ TESTS 40 15 102400 1400
2828582 rureggaeton D Dec. 26, 2012, 10:50 a.m. OK MS C++ TESTS 40 15 204800 1400
2825834 Lelby D Dec. 25, 2012, 1:50 p.m. OK MS C++ TESTS 40 15 307200 1400
5334212 lihaitao D Dec. 2, 2013, 3:15 p.m. OK MS C++ TESTS 40 30 0 1400
22218049 LaoShi D Nov. 15, 2016, 7:28 a.m. OK MS C++ TESTS 40 30 204800 1400
16399079 Programmer007 D Feb. 28, 2016, 8:21 a.m. OK MS C++ TESTS 40 30 204800 1400
13904000 seryoganet D Oct. 27, 2015, 7:05 p.m. OK MS C++ TESTS 40 30 204800 1400
10427931 prateep D March 24, 2015, 11:23 p.m. OK MS C++ TESTS 40 30 204800 1400
9963191 w0w D Feb. 22, 2015, 8:35 p.m. OK MS C++ TESTS 40 30 204800 1400
69947345 PrideBlack D Feb. 1, 2020, 7:58 a.m. OK MS C++ 2017 TESTS 40 62 204800 1400
55589978 Spiritum D June 15, 2019, 11:47 a.m. OK MS C++ 2017 TESTS 40 62 204800 1400
69956551 Kinney D Feb. 1, 2020, 10:17 a.m. OK MS C++ 2017 TESTS 40 62 409600 1400
69947280 alexgames73 D Feb. 1, 2020, 7:57 a.m. OK PyPy 3 TESTS 40 310 2048000 1400
809571 igh D Oct. 27, 2011, 8:57 p.m. OK Python 2 TESTS 40 60 2867200 1400
794324 ct.Liu D Oct. 25, 2011, 2:08 a.m. OK Python 2 TESTS 40 60 2867200 1400
776343 picnic D Oct. 18, 2011, 8:10 a.m. OK Python 2 TESTS 40 60 2867200 1400
776248 ray040123 D Oct. 18, 2011, 8:07 a.m. OK Python 2 TESTS 40 60 3276800 1400
798938 Martial D Oct. 27, 2011, 2:28 p.m. OK Python 2 TESTS 40 80 2867200 1400
787251 lnwvr D Oct. 20, 2011, 5:46 p.m. OK Python 2 TESTS 40 80 2867200 1400
777183 kyno.yang D Oct. 18, 2011, 8:38 a.m. OK Python 2 TESTS 40 80 2867200 1400
775367 flezru D Oct. 18, 2011, 7:40 a.m. OK Python 2 TESTS 40 80 2867200 1400
773199 nab D Oct. 18, 2011, 6:52 a.m. OK Python 2 TESTS 40 80 2867200 1400
792997 livingroom D Oct. 24, 2011, 8:24 a.m. OK Python 2 TESTS 40 90 2867200 1400
7624622 WARenie D Aug. 29, 2014, 9:41 p.m. OK Python 3 TESTS 40 154 0 1400
4390351 agnusmaximus D Aug. 31, 2013, 9:28 p.m. OK Python 3 TESTS 40 156 307200 1400
63934650 coyorkdow D Oct. 31, 2019, 3:26 p.m. OK Python 3 TESTS 40 248 307200 1400
42156836 Mk_Python_v1 D Aug. 27, 2018, 3:18 p.m. OK Python 3 TESTS 40 310 102400 1400
67940589 justanothernewbie D Dec. 30, 2019, 12:19 a.m. OK Python 3 TESTS 40 404 307200 1400

remove filters

Back to search problems