Codeforces Beta Round 92 (Div. 1 Only)

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
123 Codeforces Beta Round 92 (Div. 1 Only) FINISHED False 7200 411490199 Nov. 3, 2011, 3:10 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1133 ) B Squares PROGRAMMING math 1900

B"You are given an infinite checkered field. You should get from a square (x1; y1) to a square (x2; y2). Using the shortest path is not necessary. You can move on the field squares in four directions. That is, when you are positioned in any square, you can move to any other side-neighboring one. A square (x; y) is considered bad, if at least one of the two conditions is fulfilled: Your task is to find the minimum number of bad cells one will have to visit on the way from (x1; y1) to (x2; y2). The only line contains integers a, b, x1, y1, x2 and y2 -- the parameters of the bad squares, the coordinates of the initial and the final squares correspondingly (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89a, xe2 x80 x89b xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109 and |x1|,|y1|,|x2|,|y2| xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109). It is guaranteed that the initial and the final square aren't bad. Print a single number -- the minimum number of bad cells that one will have to visit in order to travel from square (x1; y1) to square (x2; y2). In the third sample one of the possible paths in (3;-1)->(3;0)->(3;1)->(3;2)->(4;2)->(4;3)->(4;4)->(4;5)->(4;6)->(4;7)->(3;7). Squares (3;1) and (4;4) are bad."...

Tutorials

Codeforces Beta Round #92 - Analysis

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
3413125 AleksanderBalobanov B March 27, 2013, 6:23 p.m. OK Delphi TESTS 130 15 102400 1900
832194 tourist B Nov. 3, 2011, 6:22 p.m. OK Delphi TESTS 130 30 819200 1900
834448 agul B Nov. 4, 2011, 12:30 p.m. OK Delphi TESTS 130 30 819200 1900
832180 Nikolai B Nov. 3, 2011, 6:22 p.m. OK Delphi TESTS 130 30 819200 1900
828761 tourist B Nov. 3, 2011, 3:36 p.m. OK Delphi TESTS 130 30 819200 1900
832317 your_conscience B Nov. 3, 2011, 6:26 p.m. OK Delphi TESTS 130 30 819200 1900
832226 ruban B Nov. 3, 2011, 6:23 p.m. OK Delphi TESTS 130 30 819200 1900
829452 Shapo B Nov. 3, 2011, 3:49 p.m. OK Delphi TESTS 130 30 921600 1900
833762 alexander-nsk94 B Nov. 4, 2011, 6:34 a.m. OK Delphi TESTS 130 30 921600 1900
829663 azaky B Nov. 3, 2011, 3:54 p.m. OK FPC TESTS 130 30 1024000 1900
833289 siuvit B Nov. 4, 2011, 1:53 a.m. OK FPC TESTS 130 30 1024000 1900
1586021 zanoes B April 20, 2012, 12:30 p.m. OK FPC TESTS 130 30 1024000 1900
974042 RazeN B Dec. 24, 2011, 9:56 a.m. OK FPC TESTS 130 30 1024000 1900
839820 vilcheuski B Nov. 7, 2011, 3:20 p.m. OK FPC TESTS 130 30 1024000 1900
834375 vlad107 B Nov. 4, 2011, noon OK FPC TESTS 130 30 1024000 1900
831282 Saimon_Saret B Nov. 3, 2011, 4:42 p.m. OK FPC TESTS 130 30 1024000 1900
830320 yenthanh.t7 B Nov. 3, 2011, 4:11 p.m. OK FPC TESTS 130 30 1024000 1900
829756 Sereja B Nov. 3, 2011, 3:56 p.m. OK FPC TESTS 130 30 1024000 1900
829697 superpear B Nov. 3, 2011, 3:54 p.m. OK FPC TESTS 130 30 1024000 1900
1126009 mage B Jan. 29, 2012, 7:02 p.m. OK GNU C TESTS 130 30 1331200 1900
843436 Dimas B Nov. 9, 2011, 3:50 p.m. OK GNU C TESTS 130 30 1331200 1900
832339 kawatea B Nov. 3, 2011, 6:28 p.m. OK GNU C TESTS 130 30 1331200 1900
832013 Sender B Nov. 3, 2011, 5:07 p.m. OK GNU C TESTS 130 30 1331200 1900
829468 eduardische B Nov. 3, 2011, 3:49 p.m. OK GNU C TESTS 130 30 1331200 1900
828533 LayCurse B Nov. 3, 2011, 3:33 p.m. OK GNU C TESTS 130 30 1331200 1900
831455 stubbscroll B Nov. 3, 2011, 4:48 p.m. OK GNU C TESTS 130 30 1433600 1900
3363813 vjudge5 B March 21, 2013, 7:41 a.m. OK GNU C++ TESTS 130 15 0 1900
4101339 dasko1 B July 18, 2013, 11:17 p.m. OK GNU C++ TESTS 130 15 0 1900
4031271 AlexJH B July 6, 2013, 2:18 p.m. OK GNU C++ TESTS 130 15 0 1900
3902878 SeyedParsa B June 15, 2013, 8:28 p.m. OK GNU C++ TESTS 130 15 0 1900
3363830 vjudge2 B March 21, 2013, 7:44 a.m. OK GNU C++ TESTS 130 15 0 1900
3363765 vjudge1 B March 21, 2013, 7:30 a.m. OK GNU C++ TESTS 130 15 0 1900
3363359 vjudge2 B March 21, 2013, 5:18 a.m. OK GNU C++ TESTS 130 15 0 1900
3330580 valih10 B March 17, 2013, 1:44 p.m. OK GNU C++ TESTS 130 15 0 1900
3195823 takaramono B Feb. 25, 2013, 5:02 p.m. OK GNU C++ TESTS 130 15 0 1900
2954653 rankalee B Jan. 17, 2013, 9:52 p.m. OK GNU C++ TESTS 130 15 0 1900
9009636 JayYe B Dec. 7, 2014, 12:44 p.m. OK GNU C++0x TESTS 130 30 0 1900
8150341 zhangxipeng B Oct. 9, 2014, 6:39 a.m. OK GNU C++0x TESTS 130 30 0 1900
7733455 a654889339 B Sept. 10, 2014, 8:36 a.m. OK GNU C++0x TESTS 130 30 0 1900
989816 Archon.JK B Dec. 28, 2011, 3:05 p.m. OK GNU C++0x TESTS 130 30 1331200 1900
993829 AleksBannikov B Jan. 1, 2012, 12:43 p.m. OK GNU C++0x TESTS 130 30 1433600 1900
839728 MinakoKojima B Nov. 7, 2011, 2:22 p.m. OK GNU C++0x TESTS 130 30 1433600 1900
830789 pablo.aguilar B Nov. 3, 2011, 4:26 p.m. OK GNU C++0x TESTS 130 30 1433600 1900
830629 lyoz B Nov. 3, 2011, 4:21 p.m. OK GNU C++0x TESTS 130 30 1433600 1900
830573 Arios B Nov. 3, 2011, 4:19 p.m. OK GNU C++0x TESTS 130 30 1433600 1900
830307 package.zaic B Nov. 3, 2011, 4:10 p.m. OK GNU C++0x TESTS 130 30 1433600 1900
59100844 rainboy B Aug. 19, 2019, 4 p.m. OK GNU C11 TESTS 130 62 0 1900
30770772 xc01 B Sept. 27, 2017, 7:55 a.m. OK GNU C++11 TESTS 130 30 0 1900
15738159 Yazan_Eagle B Feb. 1, 2016, 6:50 p.m. OK GNU C++11 TESTS 130 30 0 1900
15200755 Altria-PenDragon B Jan. 6, 2016, 7:20 a.m. OK GNU C++11 TESTS 130 30 0 1900
14262856 vjudge1 B Nov. 15, 2015, 3:02 a.m. OK GNU C++11 TESTS 130 30 0 1900
14227975 vjudge2 B Nov. 13, 2015, 2:26 p.m. OK GNU C++11 TESTS 130 30 0 1900
14227971 vjudge1 B Nov. 13, 2015, 2:26 p.m. OK GNU C++11 TESTS 130 30 0 1900
14227916 vjudge4 B Nov. 13, 2015, 2:22 p.m. OK GNU C++11 TESTS 130 30 0 1900
14227708 vjudge3 B Nov. 13, 2015, 2:09 p.m. OK GNU C++11 TESTS 130 30 0 1900
11531150 jfgm B June 11, 2015, 9:42 a.m. OK GNU C++11 TESTS 130 30 0 1900
15929714 fengsuiyan B Feb. 10, 2016, 1:38 p.m. OK GNU C++11 TESTS 130 30 0 1900
31708302 Yang33 B Oct. 25, 2017, 12:16 p.m. OK GNU C++14 TESTS 130 30 0 1900
22515228 stoianmihail B Nov. 26, 2016, 6:37 p.m. OK GNU C++14 TESTS 130 30 0 1900
22155278 munteanuvlad98 B Nov. 10, 2016, 9:09 p.m. OK GNU C++14 TESTS 130 30 0 1900
32282951 beet B Nov. 13, 2017, 11:50 a.m. OK GNU C++14 TESTS 130 30 0 1900
22518635 dreamplay B Nov. 27, 2016, 12:02 a.m. OK GNU C++14 TESTS 130 30 409600 1900
34566711 lnzva B Jan. 26, 2018, 6:32 a.m. OK GNU C++14 TESTS 130 30 1945600 1900
34566691 lnzva B Jan. 26, 2018, 6:31 a.m. OK GNU C++14 TESTS 130 30 1945600 1900
33651192 rranjan B Dec. 26, 2017, 3:53 p.m. OK GNU C++14 TESTS 130 30 1945600 1900
32831951 TillEnd B Dec. 1, 2017, 2:07 p.m. OK GNU C++14 TESTS 130 30 1945600 1900
35190623 kroton B Feb. 13, 2018, 5:32 a.m. OK GNU C++14 TESTS 130 30 1945600 1900
61742853 andriy_zhuk B Oct. 2, 2019, 9:18 p.m. OK GNU C++17 TESTS 130 62 0 1900
60895708 vjudge3 B Sept. 19, 2019, 6:40 p.m. OK GNU C++17 TESTS 130 62 0 1900
60895700 chb19 B Sept. 19, 2019, 6:40 p.m. OK GNU C++17 TESTS 130 62 0 1900
60834489 vjudge3 B Sept. 19, 2019, 8:24 a.m. OK GNU C++17 TESTS 130 62 0 1900
55553830 tnakao B June 14, 2019, 8:49 a.m. OK GNU C++17 TESTS 130 62 0 1900
53498661 faresbasbas B April 29, 2019, 1:09 p.m. OK GNU C++17 TESTS 130 62 0 1900
51677136 JoJo B March 22, 2019, 11:05 a.m. OK GNU C++17 TESTS 130 62 0 1900
39988244 LiChenKoh B July 5, 2018, 3:09 p.m. OK GNU C++17 TESTS 130 62 0 1900
67650777 Soren_15 B Dec. 26, 2019, 12:03 p.m. OK GNU C++17 TESTS 130 62 0 1900
42350690 CaptainMAK B Sept. 2, 2018, 4:54 a.m. OK GNU C++17 TESTS 130 62 204800 1900
2236086 DimsFromDergachy B Sept. 24, 2012, 4:15 a.m. OK Haskell TESTS 130 31 0 1900
64202171 Kharouba B Nov. 4, 2019, 11:48 a.m. OK Java 11 TESTS 130 374 0 1900
2927361 uwi B Jan. 15, 2013, 3 p.m. OK Java 6 TESTS 130 93 2252800 1900
830775 AlexanderBolshakov B Nov. 3, 2011, 4:25 p.m. OK Java 6 TESTS 130 110 43008000 1900
830771 EriKKo B Nov. 3, 2011, 4:25 p.m. OK Java 6 TESTS 130 110 43008000 1900
832725 khanhptnk B Nov. 3, 2011, 7:27 p.m. OK Java 6 TESTS 130 110 43110400 1900
835621 anhdt B Nov. 5, 2011, 2:44 a.m. OK Java 6 TESTS 130 110 43110400 1900
832322 P___ B Nov. 3, 2011, 6:27 p.m. OK Java 6 TESTS 130 110 43110400 1900
830709 vyxaryx B Nov. 3, 2011, 4:23 p.m. OK Java 6 TESTS 130 110 43110400 1900
832187 dalex B Nov. 3, 2011, 6:22 p.m. OK Java 6 TESTS 130 110 43622400 1900
880520 Slamur B Nov. 20, 2011, 12:40 p.m. OK Java 6 TESTS 130 110 43724800 1900
830063 chavit B Nov. 3, 2011, 4:03 p.m. OK Java 6 TESTS 130 130 43008000 1900
15457277 mkirsche B Jan. 20, 2016, 5:40 p.m. OK Java 7 TESTS 130 218 0 1900
9212681 AlexFetisov B Dec. 21, 2014, 5:26 a.m. OK Java 8 TESTS 130 248 0 1900
59100845 Dukkha B Aug. 19, 2019, 4 p.m. OK Java 8 TESTS 130 280 0 1900
42810341 KulikAlex B Sept. 12, 2018, 7:37 p.m. OK Java 8 TESTS 130 280 0 1900
10531908 A.Elahi B March 31, 2015, 9:51 a.m. OK Java 8 TESTS 130 342 0 1900
830734 AlphaStream B Nov. 3, 2011, 4:24 p.m. OK Mono C# TESTS 130 90 10035200 1900
837093 NickSerg B Nov. 5, 2011, 8:18 p.m. OK Mono C# TESTS 130 90 10035200 1900
4218314 tomas.svab B Aug. 2, 2013, 5:44 p.m. OK MS C++ TESTS 130 30 0 1900
5333268 Silent_coder B Dec. 2, 2013, 1:02 p.m. OK MS C++ TESTS 130 30 0 1900
1477775 vjudge2 B April 5, 2012, 12:19 p.m. OK MS C++ TESTS 130 30 1433600 1900
1477580 vjudge5 B April 5, 2012, 10:38 a.m. OK MS C++ TESTS 130 30 1433600 1900
1477191 leijunkun B April 5, 2012, 5:09 a.m. OK MS C++ TESTS 130 30 1433600 1900
1218608 lzsb B Feb. 23, 2012, 6:05 a.m. OK MS C++ TESTS 130 30 1433600 1900
1218526 fukirk B Feb. 23, 2012, 5:08 a.m. OK MS C++ TESTS 130 30 1433600 1900
931992 Alisafe B Dec. 5, 2011, 8:16 p.m. OK MS C++ TESTS 130 30 1433600 1900
1810643 vagnard B June 19, 2012, 5:15 p.m. OK MS C++ TESTS 130 30 1433600 1900
1510692 rinigan B April 11, 2012, 8:56 p.m. OK MS C++ TESTS 130 30 1433600 1900
69809798 vjudge1 B Jan. 30, 2020, 3:50 a.m. OK MS C++ 2017 TESTS 130 92 307200 1900
69512022 vjudge3 B Jan. 25, 2020, 10:47 a.m. OK MS C++ 2017 TESTS 130 92 307200 1900
836845 alex.alex B Nov. 5, 2011, 4:59 p.m. OK Python 2 TESTS 130 60 2867200 1900
832358 cjoa B Nov. 3, 2011, 6:29 p.m. OK Python 2 TESTS 130 60 2867200 1900
830331 malcolm B Nov. 3, 2011, 4:11 p.m. OK Python 2 TESTS 130 60 2867200 1900
830125 phinfinity B Nov. 3, 2011, 4:05 p.m. OK Python 2 TESTS 130 60 2867200 1900
829397 Martial B Nov. 3, 2011, 3:47 p.m. OK Python 2 TESTS 130 60 2867200 1900
2248673 nealzane B Sept. 25, 2012, 8:47 a.m. OK Python 2 TESTS 130 62 0 1900
831473 ilya.m B Nov. 3, 2011, 4:49 p.m. OK Python 2 TESTS 130 80 2867200 1900
15914829 not_bot_but_POT B Feb. 9, 2016, 1:53 p.m. OK Python 2 TESTS 130 124 0 1900
35837908 ______n______ B March 2, 2018, 1:22 p.m. OK Python 2 TESTS 130 154 4608000 1900
35837898 ______u______ B March 2, 2018, 1:22 p.m. OK Python 2 TESTS 130 154 4608000 1900
3363243 kevintannn B March 21, 2013, 4:05 a.m. OK Ruby TESTS 130 62 0 1900
1155234 watashi B Feb. 7, 2012, 8:45 a.m. OK Ruby TESTS 130 110 5632000 1900
1155229 watashi B Feb. 7, 2012, 8:43 a.m. OK Ruby TESTS 130 110 5632000 1900

remove filters

Back to search problems