Codeforces Round 194 (Div. 1)

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
333 Codeforces Round 194 (Div. 1) FINISHED False 7200 356909399 July 27, 2013, 8:30 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2112 ) D Characteristics of Rectangles PROGRAMMING binary search bitmasks brute force implementation sortings 2100

B"Gerald found a table consisting of n rows and m columns. As a prominent expert on rectangular tables, he immediately counted the table's properties, that is, the minimum of the numbers in the corners of the table (minimum of four numbers). However, he did not like the final value -- it seemed to be too small. And to make this value larger, he decided to crop the table a little: delete some columns on the left and some on the right, as well as some rows from the top and some from the bottom. Find what the maximum property of the table can be after such cropping. Note that the table should have at least two rows and at least two columns left in the end. The number of cropped rows or columns from each of the four sides can be zero. The first line contains two space-separated integers n and m (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000). The following n lines describe the table. The i-th of these lines lists the space-separated integers ai, xe2 x80 x891, xe2 x80 x89ai, xe2 x80 x892, xe2 x80 x89..., xe2 x80 x89ai, xe2 x80 x89m (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai, xe2 x80 x89j xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) -- the m numbers standing in the i-th row of the table. Print the answer to the problem. In the first test case Gerald cannot crop the table -- table contains only two rows and only two columns. In the second test case if we'll crop the table, the table will contain zero in some corner cell. Also initially it contains two zeros in the corner cells, so the answer is 0."...

Tutorials

Codeforces Round 194 — Editoral

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
5829550 Misha100896 D Jan. 29, 2014, 4:08 a.m. OK Delphi TESTS 48 2058 4096000 2100
4189027 AHTuTTuTyX D July 27, 2013, 12:45 p.m. OK Delphi TESTS 48 2152 4096000 2100
4189968 Omelianenko D July 27, 2013, 2:13 p.m. OK Delphi TESTS 48 2682 4096000 2100
4189818 Omelianenko D July 27, 2013, 1:57 p.m. OK Delphi TESTS 48 2744 4096000 2100
4188307 RomaWhite D July 27, 2013, 11:52 a.m. OK Delphi TESTS 48 2932 4096000 2100
4275482 aaaypq D Aug. 14, 2013, 2:34 a.m. OK FPC TESTS 48 342 5017600 2100
4405121 pal3 D Sept. 4, 2013, 12:14 p.m. OK FPC TESTS 48 404 5017600 2100
4281698 823046544 D Aug. 15, 2013, 10:59 a.m. OK FPC TESTS 48 404 5017600 2100
4281244 jxt D Aug. 15, 2013, 8:58 a.m. OK FPC TESTS 48 404 5017600 2100
4264764 laoriu D Aug. 11, 2013, 8:12 a.m. OK FPC TESTS 48 404 5017600 2100
4281140 DragonCola D Aug. 15, 2013, 8:34 a.m. OK FPC TESTS 48 436 7987200 2100
19306023 feedfeed D July 21, 2016, 4:33 p.m. OK FPC TESTS 48 466 5222400 2100
4281800 louisja1 D Aug. 15, 2013, 11:28 a.m. OK FPC TESTS 48 468 5017600 2100
4280667 lyxuan D Aug. 15, 2013, 6:49 a.m. OK FPC TESTS 48 468 5017600 2100
4281427 yubaby D Aug. 15, 2013, 9:46 a.m. OK FPC TESTS 48 468 8089600 2100
4678693 xxTastyHypeBeast666xx D Oct. 5, 2013, 8:05 a.m. OK GNU C TESTS 48 468 7680000 2100
17031895 TsReaper D March 30, 2016, 10:40 a.m. OK GNU C TESTS 48 498 6144000 2100
12631193 behzad.nouri D Aug. 21, 2015, 4:54 p.m. OK GNU C TESTS 48 1652 3993600 2100
4458219 xxTastyHypeBeast666xx D Sept. 14, 2013, 2:13 p.m. OK GNU C TESTS 48 2246 4096000 2100
16940646 behzad.nouri D March 25, 2016, 9:36 p.m. OK GNU C TESTS 48 2712 9932800 2100
4205356 netman D July 30, 2013, 5:16 p.m. OK GNU C TESTS 48 2870 7987200 2100
11780006 rxdoi D June 27, 2015, 4:50 a.m. OK GNU C++ TESTS 48 186 8192000 2100
4198525 gawry D July 29, 2013, 9 a.m. OK GNU C++ TESTS 48 186 18329600 2100
40989646 ReaLNero1 D July 30, 2018, 11:08 p.m. OK GNU C++ TESTS 48 186 18432000 2100
4974913 Sunayuki D Nov. 3, 2013, 1:45 a.m. OK GNU C++ TESTS 48 186 48230400 2100
17535411 qwert_yuiop D April 27, 2016, 12:47 p.m. OK GNU C++ TESTS 48 216 7475200 2100
6708186 zyh D May 25, 2014, 5:20 a.m. OK GNU C++ TESTS 48 218 8192000 2100
4197068 tzzcl D July 29, 2013, 4:18 a.m. OK GNU C++ TESTS 48 218 12083200 2100
4197063 tzzcl D July 29, 2013, 4:15 a.m. OK GNU C++ TESTS 48 218 12083200 2100
4192533 gxnncrx1993 D July 28, 2013, 3:10 a.m. OK GNU C++ TESTS 48 248 14848000 2100
4188077 ikbal D July 27, 2013, 11:40 a.m. OK GNU C++ TESTS 48 280 5120000 2100
4211124 Mark_Fan D July 31, 2013, 10:44 p.m. OK GNU C++0x TESTS 48 248 22835200 2100
4211135 Mark_Fan D July 31, 2013, 10:50 p.m. OK GNU C++0x TESTS 48 280 22835200 2100
4211144 Mark_Fan D July 31, 2013, 10:52 p.m. OK GNU C++0x TESTS 48 312 22835200 2100
4211140 Mark_Fan D July 31, 2013, 10:51 p.m. OK GNU C++0x TESTS 48 312 22835200 2100
4211139 Mark_Fan D July 31, 2013, 10:51 p.m. OK GNU C++0x TESTS 48 312 22835200 2100
4211134 Mark_Fan D July 31, 2013, 10:49 p.m. OK GNU C++0x TESTS 48 312 22835200 2100
9101293 Laakeri D Dec. 13, 2014, noon OK GNU C++0x TESTS 48 342 4403200 2100
4211141 Mark_Fan D July 31, 2013, 10:52 p.m. OK GNU C++0x TESTS 48 342 22835200 2100
4202807 evima D July 30, 2013, 6:37 a.m. OK GNU C++0x TESTS 48 436 12595200 2100
9377173 hkglly D Jan. 7, 2015, 6:52 a.m. OK GNU C++0x TESTS 48 466 5017600 2100
58549290 rainboy D Aug. 10, 2019, 6:38 p.m. OK GNU C11 TESTS 48 436 5017600 2100
11737318 ItsLastDay D June 24, 2015, 2:07 p.m. OK GNU C++11 TESTS 48 156 5120000 2100
62254362 Kylin_ D Oct. 10, 2019, 10:20 a.m. OK GNU C++11 TESTS 48 186 4915200 2100
15138448 kefaa D Dec. 31, 2015, 3:16 p.m. OK GNU C++11 TESTS 48 280 8192000 2100
24521782 vjudge1 D Feb. 8, 2017, 8:39 a.m. OK GNU C++11 TESTS 48 312 14233600 2100
50891899 lxhfl728 D March 6, 2019, 1:29 p.m. OK GNU C++11 TESTS 48 404 4915200 2100
30554789 petrescu D Sept. 20, 2017, 5:48 p.m. OK GNU C++11 TESTS 48 436 4812800 2100
63908631 smallcaiji D Oct. 31, 2019, 7:26 a.m. OK GNU C++11 TESTS 48 436 5120000 2100
46996996 Rand_By_Rand D Dec. 14, 2018, 9:08 a.m. OK GNU C++11 TESTS 48 436 5120000 2100
63910351 smallcaiji D Oct. 31, 2019, 8:02 a.m. OK GNU C++11 TESTS 48 436 5120000 2100
13006801 MadNick D Sept. 15, 2015, 12:09 p.m. OK GNU C++11 TESTS 48 436 6451200 2100
48302504 Dalenator D Jan. 12, 2019, 5:44 p.m. OK GNU C++14 TESTS 48 592 5222400 2100
26890907 yinanzhu D May 6, 2017, 1:35 a.m. OK GNU C++14 TESTS 48 592 9420800 2100
33041872 ArlanKuralbayev D Dec. 9, 2017, 6:44 a.m. OK GNU C++14 TESTS 48 622 7065600 2100
22709061 callisto D Dec. 5, 2016, 10:32 a.m. OK GNU C++14 TESTS 48 624 5017600 2100
31169396 Twi_etn D Oct. 9, 2017, 2:03 p.m. OK GNU C++14 TESTS 48 624 5120000 2100
24893834 Jakube D Feb. 22, 2017, 1:20 p.m. OK GNU C++14 TESTS 48 624 6553600 2100
51621872 AndreiCotor D March 21, 2019, 2:48 p.m. OK GNU C++14 TESTS 48 624 8089600 2100
37007952 mjhun D April 5, 2018, 9:29 p.m. OK GNU C++14 TESTS 48 624 8601600 2100
38620501 orbitingflea D May 26, 2018, 1:32 a.m. OK GNU C++14 TESTS 48 654 5017600 2100
41006580 saihemanth9019 D July 31, 2018, 10:07 a.m. OK GNU C++14 TESTS 48 654 5017600 2100
42884562 Randoming D Sept. 15, 2018, 9 a.m. OK GNU C++17 TESTS 48 280 24268800 2100
47810398 Overrated D Jan. 1, 2019, 10:53 a.m. OK GNU C++17 TESTS 48 310 24268800 2100
42884601 Randoming D Sept. 15, 2018, 9:02 a.m. OK GNU C++17 TESTS 48 310 24268800 2100
63837384 vjudge4 D Oct. 30, 2019, 2:43 p.m. OK GNU C++17 TESTS 48 590 5120000 2100
63785073 vjudge2 D Oct. 30, 2019, 12:06 p.m. OK GNU C++17 TESTS 48 592 5017600 2100
36905665 magnickolas D April 3, 2018, 2:51 p.m. OK GNU C++17 TESTS 48 592 8704000 2100
47002001 AliShahali1382 D Dec. 14, 2018, 12:04 p.m. OK GNU C++17 TESTS 48 622 5324800 2100
35652028 WooDeND D Feb. 24, 2018, 4:04 p.m. OK GNU C++17 TESTS 48 622 7065600 2100
51303527 Borbi D March 14, 2019, 3:36 p.m. OK GNU C++17 TESTS 48 624 5222400 2100
61805856 igba D Oct. 3, 2019, 9:29 p.m. OK GNU C++17 TESTS 48 624 5222400 2100
4219384 CountZero D Aug. 3, 2013, 4:22 a.m. OK Go TESTS 48 936 12697600 2100
4219380 CountZero D Aug. 3, 2013, 4:18 a.m. OK Go TESTS 48 936 12697600 2100
4505929 ergatis D Sept. 19, 2013, 7:08 p.m. OK Haskell TESTS 48 1278 148889600 2100
4505607 ergatis D Sept. 19, 2013, 6:09 p.m. OK Haskell TESTS 48 1278 148889600 2100
65340086 its_aks_ulure D Nov. 19, 2019, 10:37 a.m. OK Java 11 TESTS 48 2212 64409600 2100
4186807 slycelote D July 27, 2013, 10:51 a.m. OK Java 6 TESTS 48 1652 1740800 2100
5959380 luckman D March 7, 2014, 8:48 p.m. OK Java 6 TESTS 48 1744 102400 2100
4188928 hiukim D July 27, 2013, 12:37 p.m. OK Java 6 TESTS 48 1746 102400 2100
4204858 coderbd D July 30, 2013, 2:55 p.m. OK Java 6 TESTS 48 1872 204800 2100
5325597 uwi D Dec. 2, 2013, 3:55 a.m. OK Java 7 TESTS 48 468 13824000 2100
4231004 xenoslash D Aug. 5, 2013, 3:49 a.m. OK Java 7 TESTS 48 530 0 2100
9912330 emo D Feb. 18, 2015, 9:23 a.m. OK Java 7 TESTS 48 592 0 2100
4412729 DoublePointer D Sept. 5, 2013, 10:36 p.m. OK Java 7 TESTS 48 748 0 2100
4391743 API D Sept. 1, 2013, 7:52 a.m. OK Java 7 TESTS 48 780 0 2100
7054043 owenomar D July 9, 2014, 3:32 p.m. OK Java 7 TESTS 48 810 0 2100
4213386 THE_QUEEN_IN_THE_NORTH D Aug. 1, 2013, 10:52 a.m. OK Java 7 TESTS 48 872 0 2100
4182795 chavit D July 27, 2013, 9:51 a.m. OK Java 7 TESTS 48 1028 0 2100
4181847 komarov D July 27, 2013, 9:40 a.m. OK Java 7 TESTS 48 1028 0 2100
4181168 niyaznigmatul D July 27, 2013, 9:32 a.m. OK Java 7 TESTS 48 1028 4300800 2100
11376259 alibaba D June 1, 2015, 11:31 a.m. OK Java 8 TESTS 48 998 0 2100
37220472 parth_15 D April 11, 2018, 11:16 a.m. OK Java 8 TESTS 48 1028 26726400 2100
23252396 chemthan D Dec. 23, 2016, 4:58 p.m. OK Java 8 TESTS 48 1092 24678400 2100
32376908 Ahmad_Elsagheer D Nov. 17, 2017, 11:51 a.m. OK Java 8 TESTS 48 1184 6041600 2100
32634029 flyman3046 D Nov. 25, 2017, midnight OK Java 8 TESTS 48 1404 24166400 2100
11483588 hama-du D June 7, 2015, 8:21 a.m. OK Java 8 TESTS 48 1404 56115200 2100
10769953 AlexFetisov D April 18, 2015, 4:35 p.m. OK Java 8 TESTS 48 1684 33894400 2100
58549288 Dukkha D Aug. 10, 2019, 6:38 p.m. OK Java 8 TESTS 48 2714 0 2100
4219486 CountZero D Aug. 3, 2013, 5:13 a.m. OK Mono C# TESTS 48 842 15564800 2100
4219482 CountZero D Aug. 3, 2013, 5:12 a.m. OK MS C# TESTS 48 780 15564800 2100
4364288 rubengt01 D Aug. 28, 2013, 11:37 p.m. OK MS C# TESTS 48 1184 24371200 2100
4364516 rubengt01 D Aug. 29, 2013, 12:59 a.m. OK MS C# TESTS 48 1216 11366400 2100
4325071 mylifefordota D Aug. 22, 2013, 5:02 p.m. OK MS C# TESTS 48 1808 72806400 2100
4192127 marat.snowbear D July 28, 2013, 12:35 a.m. OK MS C# TESTS 48 2246 18329600 2100
4192122 marat.snowbear D July 28, 2013, 12:31 a.m. OK MS C# TESTS 48 2652 14438400 2100
4192129 marat.snowbear D July 28, 2013, 12:37 a.m. OK MS C# TESTS 48 2808 19353600 2100
4192116 marat.snowbear D July 28, 2013, 12:29 a.m. OK MS C# TESTS 48 2964 14438400 2100
5401435 Timur_Sitdikov D Dec. 10, 2013, 6:26 a.m. OK MS C++ TESTS 48 436 4915200 2100
4434294 AlexandraLi D Sept. 9, 2013, 6:02 a.m. OK MS C++ TESTS 48 436 5017600 2100
10451301 Alex7 D March 25, 2015, 6:34 p.m. OK MS C++ TESTS 48 466 5222400 2100
4309389 vml D Aug. 18, 2013, 4:19 p.m. OK MS C++ TESTS 48 468 5120000 2100
6475423 Scorpy D April 25, 2014, 7:13 p.m. OK MS C++ TESTS 48 498 5017600 2100
4181221 izban D July 27, 2013, 9:33 a.m. OK MS C++ TESTS 48 498 5324800 2100
8540202 LVA007 D Nov. 3, 2014, 7:59 p.m. OK MS C++ TESTS 48 498 6041600 2100
4311601 lastseed D Aug. 19, 2013, 9:12 a.m. OK MS C++ TESTS 48 560 8089600 2100
4816251 AleksanderBalobanov D Oct. 17, 2013, 7:38 p.m. OK MS C++ TESTS 48 560 24678400 2100
10221775 Kazim D March 9, 2015, 9:06 p.m. OK MS C++ TESTS 48 590 24371200 2100
16752294 pranet D March 16, 2016, 6:52 p.m. OK PyPy 2 TESTS 48 1902 13619200 2100
4218168 limed D Aug. 2, 2013, 4:44 p.m. OK Scala TESTS 48 2246 204800 2100
4205840 limed D July 30, 2013, 7:11 p.m. OK Scala TESTS 48 2496 5734400 2100
4193583 limed D July 28, 2013, 8:44 a.m. OK Scala TESTS 48 2714 5836800 2100

remove filters

Back to search problems