Codeforces Beta Round 15

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
15 Codeforces Beta Round 15 FINISHED False 8100 456677999 May 29, 2010, 3 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1475 ) B Laser PROGRAMMING math 1700

B"Petya is the most responsible worker in the Research Institute. So he was asked to make a very important experiment: to melt the chocolate bar with a new laser device. The device consists of a rectangular field of n xe2 x80 x89 xc3 x97 xe2 x80 x89m cells and a robotic arm. Each cell of the field is a 1 xe2 x80 x89 xc3 x97 xe2 x80 x891 square. The robotic arm has two lasers pointed at the field perpendicularly to its surface. At any one time lasers are pointed at the centres of some two cells. Since the lasers are on the robotic hand, their movements are synchronized -- if you move one of the lasers by a vector, another one moves by the same vector. The following facts about the experiment are known: You are given n, m and the cells (x1, xe2 x80 x89y1) and (x2, xe2 x80 x89y2), where the lasers are initially pointed at (xi is a column number, yi is a row number). Rows are numbered from 1 to m from top to bottom and columns are numbered from 1 to n from left to right. You are to find the amount of cells of the field on which the chocolate can't be melted in the given conditions. The first line contains one integer number t (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89t xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910000) -- the number of test sets. Each of the following t lines describes one test set. Each line contains integer numbers n, m, x1, y1, x2, y2, separated by a space (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x1, xe2 x80 x89x2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89y1, xe2 x80 x89y2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89m). Cells (x1, xe2 x80 x89y1) and (x2, xe2 x80 x89y2) are distinct. Each of the t lines of the output should contain the answer to the corresponding input test set."...

Tutorials

Codeforces Beta #15 Tutorial (Incomplete)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
66915 CherryTree B May 29, 2010, 4:31 p.m. OK Delphi TESTS 20 90 819200 1700
422572 ruban B May 3, 2011, 2:29 a.m. OK Delphi TESTS 20 90 819200 1700
65213 tourist B May 29, 2010, 3:21 p.m. OK Delphi TESTS 20 90 819200 1700
1090736 lightning B Jan. 19, 2012, 1:55 p.m. OK Delphi TESTS 20 90 921600 1700
1090654 amirrr B Jan. 19, 2012, 1:25 p.m. OK Delphi TESTS 20 90 921600 1700
1090619 maksimkzn B Jan. 19, 2012, 1:16 p.m. OK Delphi TESTS 20 90 921600 1700
67715 Serega B May 29, 2010, 5:21 p.m. OK Delphi TESTS 20 90 921600 1700
67092 iroro B May 29, 2010, 4:41 p.m. OK Delphi TESTS 20 90 921600 1700
66711 ant.ermilov B May 29, 2010, 4:22 p.m. OK Delphi TESTS 20 90 921600 1700
66588 sequence B May 29, 2010, 4:18 p.m. OK Delphi TESTS 20 90 921600 1700
3910307 PeterTong97 B June 17, 2013, 2:57 p.m. OK FPC TESTS 20 46 0 1700
989942 RazeN B Dec. 28, 2011, 5:22 p.m. OK FPC TESTS 20 50 1024000 1700
476827 Sereja B June 6, 2011, 5:39 p.m. OK FPC TESTS 20 50 1024000 1700
475051 vlad107 B June 3, 2011, 11:05 a.m. OK FPC TESTS 20 50 1024000 1700
338024 BIT B March 15, 2011, 5:53 p.m. OK FPC TESTS 20 50 1024000 1700
274623 BaJIuK B Feb. 3, 2011, 8:04 p.m. OK FPC TESTS 20 50 1024000 1700
66068 milkch B May 29, 2010, 3:57 p.m. OK FPC TESTS 20 60 921600 1700
587029 caro33 B Aug. 5, 2011, 7:12 p.m. OK FPC TESTS 20 60 1024000 1700
68516 vilcheuski B May 30, 2010, 7:02 p.m. OK FPC TESTS 20 60 1024000 1700
5451986 graceoflives B Dec. 16, 2013, 7:11 p.m. OK FPC TESTS 20 62 0 1700
15921180 PicieGO B Feb. 9, 2016, 8:25 p.m. OK GNU C TESTS 20 30 0 1700
34992652 vjudge3 B Feb. 7, 2018, 8:27 a.m. OK GNU C TESTS 20 30 1843200 1700
34992610 vjudge4 B Feb. 7, 2018, 8:25 a.m. OK GNU C TESTS 20 30 1843200 1700
35082836 vjudge2 B Feb. 9, 2018, 8:23 a.m. OK GNU C TESTS 20 30 2048000 1700
18381263 rainboy B June 11, 2016, 9:01 p.m. OK GNU C TESTS 20 30 2048000 1700
4085500 reurn B July 17, 2013, 8:37 a.m. OK GNU C TESTS 20 31 0 1700
68506 o948 B May 30, 2010, 6:12 p.m. OK GNU C TESTS 20 50 1331200 1700
68349 Sunshan B May 30, 2010, 7:43 a.m. OK GNU C TESTS 20 50 1331200 1700
66077 stubbscroll B May 29, 2010, 3:58 p.m. OK GNU C TESTS 20 50 1331200 1700
65675 LayCurse B May 29, 2010, 3:38 p.m. OK GNU C TESTS 20 50 1331200 1700
3851511 ArmanK B June 9, 2013, 4:59 p.m. OK GNU C++ TESTS 20 15 0 1700
3421263 TangJie B March 30, 2013, 4:51 a.m. OK GNU C++ TESTS 20 15 0 1700
2929737 vjudge5 B Jan. 16, 2013, 12:41 p.m. OK GNU C++ TESTS 20 15 0 1700
22616222 vjudge1 B Nov. 30, 2016, 7:42 a.m. OK GNU C++ TESTS 20 30 0 1700
13712651 130705009 B Oct. 18, 2015, 12:43 p.m. OK GNU C++ TESTS 20 30 0 1700
13196357 dancho B Sept. 23, 2015, 11:25 p.m. OK GNU C++ TESTS 20 30 0 1700
7508586 CantsaidPain B Aug. 19, 2014, 1:03 p.m. OK GNU C++ TESTS 20 30 0 1700
7501986 fan_hd B Aug. 18, 2014, 2:58 p.m. OK GNU C++ TESTS 20 30 0 1700
6976151 vjudge1 B June 28, 2014, 3:18 p.m. OK GNU C++ TESTS 20 30 0 1700
4990008 toilanvd_HSGS B Nov. 5, 2013, 3:09 a.m. OK GNU C++ TESTS 20 30 0 1700
4231981 yangyangyangyang B Aug. 5, 2013, 7:42 a.m. OK GNU C++0x TESTS 20 30 0 1700
9782915 zxc901 B Feb. 9, 2015, 6:28 p.m. OK GNU C++0x TESTS 20 30 0 1700
638093 Archon.JK B Aug. 25, 2011, 4:55 p.m. OK GNU C++0x TESTS 20 50 1331200 1700
6976148 a654889339 B June 28, 2014, 3:17 p.m. OK GNU C++0x TESTS 20 60 0 1700
9419977 ztk B Jan. 12, 2015, 8:52 p.m. OK GNU C++0x TESTS 20 62 0 1700
3003936 lemur B Jan. 24, 2013, 3:48 p.m. OK GNU C++0x TESTS 20 62 0 1700
10136748 eagle93 B March 3, 2015, 6:42 p.m. OK GNU C++0x TESTS 20 92 0 1700
6856292 netkuba B June 9, 2014, 8:09 p.m. OK GNU C++0x TESTS 20 92 0 1700
6101513 marat.snowbear B March 22, 2014, 1:47 a.m. OK GNU C++0x TESTS 20 92 0 1700
4533828 A_Le_K B Sept. 21, 2013, 8:41 p.m. OK GNU C++0x TESTS 20 92 0 1700
68201862 mohana-256 B Jan. 4, 2020, 4:13 p.m. OK GNU C11 TESTS 20 124 0 1700
34993226 vjudge2 B Feb. 7, 2018, 8:54 a.m. OK GNU C11 TESTS 20 124 1843200 1700
28058838 Joongwon B June 26, 2017, 1:47 p.m. OK GNU C11 TESTS 20 156 2457600 1700
17259557 .jeffrey B April 10, 2016, 3:40 a.m. OK GNU C++11 TESTS 20 30 0 1700
17263974 SaMer B April 10, 2016, 11:31 a.m. OK GNU C++11 TESTS 20 30 0 1700
30369780 annihilation666 B Sept. 15, 2017, 6:12 p.m. OK GNU C++11 TESTS 20 30 0 1700
32079811 sehun01 B Nov. 5, 2017, 3:45 p.m. OK GNU C++11 TESTS 20 30 0 1700
34995237 kamiyoru B Feb. 7, 2018, 10:35 a.m. OK GNU C++11 TESTS 20 30 1843200 1700
17901755 vjudge4 B May 14, 2016, 6:22 a.m. OK GNU C++11 TESTS 20 30 1843200 1700
24619515 Cmise B Feb. 13, 2017, 1:55 a.m. OK GNU C++11 TESTS 20 30 1843200 1700
19973728 PKUItachi B Aug. 20, 2016, 2:17 a.m. OK GNU C++11 TESTS 20 30 2048000 1700
15198774 2016 B Jan. 5, 2016, 11:28 p.m. OK GNU C++11 TESTS 20 60 0 1700
54454243 WoShiGePaChong B May 21, 2019, 2:59 p.m. OK GNU C++11 TESTS 20 60 0 1700
30083950 fezjo B Sept. 4, 2017, 8:07 p.m. OK GNU C++14 TESTS 20 30 0 1700
25962508 TheMaverick B March 30, 2017, 7:31 p.m. OK GNU C++14 TESTS 20 30 1945600 1700
60071909 vjudge3 B Sept. 5, 2019, 11:24 a.m. OK GNU C++14 TESTS 20 60 0 1700
33660266 brimix__ B Dec. 27, 2017, 3:37 a.m. OK GNU C++14 TESTS 20 60 1945600 1700
28224492 gaporf B July 2, 2017, 5:02 p.m. OK GNU C++14 TESTS 20 60 1945600 1700
23355371 Ali.Pi B Dec. 27, 2016, 8:37 a.m. OK GNU C++14 TESTS 20 60 1945600 1700
52712696 Yahya_Zahran B April 13, 2019, 3:59 p.m. OK GNU C++14 TESTS 20 62 0 1700
57980335 vjudge2 B July 30, 2019, 9:09 a.m. OK GNU C++14 TESTS 20 62 0 1700
53029459 AbdulQader_Q B April 19, 2019, 9:50 p.m. OK GNU C++14 TESTS 20 62 0 1700
52922501 Yahya_Zahran B April 17, 2019, 6:31 p.m. OK GNU C++14 TESTS 20 62 0 1700
54968172 hp1999 B June 2, 2019, 7:23 a.m. OK GNU C++17 TESTS 20 60 0 1700
37580202 vjudge4 B April 24, 2018, 5:41 p.m. OK GNU C++17 TESTS 20 60 3379200 1700
46540469 DragoonKiller B Dec. 3, 2018, 11:42 a.m. OK GNU C++17 TESTS 20 62 0 1700
39020827 JerryHao B June 7, 2018, 12:23 p.m. OK GNU C++17 TESTS 20 62 0 1700
59943392 nhanlun B Sept. 3, 2019, 12:13 p.m. OK GNU C++17 TESTS 20 62 0 1700
55735975 xuyoukun060601 B June 19, 2019, 3:58 a.m. OK GNU C++17 TESTS 20 62 0 1700
64741156 new_Start_CY B Nov. 12, 2019, 12:02 p.m. OK GNU C++17 TESTS 20 62 0 1700
63508243 metyloalanina B Oct. 26, 2019, 7:30 p.m. OK GNU C++17 TESTS 20 62 102400 1700
49371656 tnakao B Feb. 2, 2019, 5:37 p.m. OK GNU C++17 TESTS 20 62 204800 1700
42100720 m1sch3f B Aug. 25, 2018, 7:01 p.m. OK GNU C++17 TESTS 20 62 512000 1700
10224196 Eeyore B March 10, 2015, 7:23 a.m. OK Go TESTS 20 62 0 1700
68522 ulandev B May 30, 2010, 7:59 p.m. OK Haskell TESTS 20 550 17817600 1700
67744 ulandev B May 29, 2010, 5:31 p.m. OK Haskell TESTS 20 610 17817600 1700
66183 removed1 B May 29, 2010, 4:03 p.m. OK Haskell TESTS 20 640 3174400 1700
3222069 su_58 B March 1, 2013, 3:11 a.m. OK Java 6 TESTS 20 78 307200 1700
65445 winger B May 29, 2010, 3:27 p.m. OK Java 6 TESTS 20 80 42188800 1700
65318 Egor B May 29, 2010, 3:24 p.m. OK Java 6 TESTS 20 80 42188800 1700
66362 SergeyLazarev B May 29, 2010, 4:09 p.m. OK Java 6 TESTS 20 90 42188800 1700
65626 ferr B May 29, 2010, 3:38 p.m. OK Java 6 TESTS 20 90 42188800 1700
66405 MaxBuzz B May 29, 2010, 4:10 p.m. OK Java 6 TESTS 20 110 42188800 1700
66195 shindo B May 29, 2010, 4:03 p.m. OK Java 6 TESTS 20 110 42188800 1700
66057 SpookyCookie B May 29, 2010, 3:57 p.m. OK Java 6 TESTS 20 110 42188800 1700
65943 S.Yesipenko B May 29, 2010, 3:53 p.m. OK Java 6 TESTS 20 110 42188800 1700
65512 Petr B May 29, 2010, 3:29 p.m. OK Java 6 TESTS 20 110 42188800 1700
10752361 dspstanky B April 17, 2015, 3:02 p.m. OK Java 7 TESTS 20 186 0 1700
5240129 vvenkai B Nov. 26, 2013, 4:02 a.m. OK Java 7 TESTS 20 186 0 1700
4364148 Zyflair B Aug. 28, 2013, 10:14 p.m. OK Java 7 TESTS 20 186 0 1700
4358585 DoublePointer B Aug. 27, 2013, 6:33 p.m. OK Java 7 TESTS 20 186 0 1700
14404592 2357 B Nov. 21, 2015, 7:08 p.m. OK Java 7 TESTS 20 278 0 1700
3937384 Naitonium B June 23, 2013, 3:42 a.m. OK Java 7 TESTS 20 343 204800 1700
5187677 earlda B Nov. 21, 2013, 8:22 p.m. OK Java 7 TESTS 20 468 102400 1700
68218292 sakt_coder B Jan. 5, 2020, 2:24 a.m. OK Java 8 TESTS 20 186 3379200 1700
15220393 safarisoul B Jan. 7, 2016, 3:30 a.m. OK Java 8 TESTS 20 248 0 1700
11081709 ProjectYoung B May 12, 2015, 8:20 p.m. OK Java 8 TESTS 20 248 0 1700
10605535 Dukkha B April 5, 2015, 6:42 p.m. OK Java 8 TESTS 20 248 0 1700
17394429 mkirsche B April 20, 2016, 4:04 a.m. OK Java 8 TESTS 20 248 25907200 1700
12465349 di_halt B Aug. 11, 2015, 11:06 a.m. OK Java 8 TESTS 20 280 0 1700
38592866 unicorn20141 B May 24, 2018, 5:07 p.m. OK Java 8 TESTS 20 280 3276800 1700
26159281 poikniok B April 5, 2017, 10:06 p.m. OK Java 8 TESTS 20 280 26009600 1700
45280110 thanhnam.csc B Nov. 4, 2018, 1:15 p.m. OK Java 8 TESTS 20 530 3788800 1700
20815343 lehar B Sept. 22, 2016, 11:11 a.m. OK Java 8 TESTS 20 590 3686400 1700
67488 Hadi_Asiaie B May 29, 2010, 5:08 p.m. OK Mono C# TESTS 20 140 5939200 1700
68962 13rain B June 4, 2010, 1:44 p.m. OK Mono C# TESTS 20 140 6041600 1700
67180 fujiyama B May 29, 2010, 4:46 p.m. OK Mono C# TESTS 20 170 5939200 1700
66615 tanzaku B May 29, 2010, 4:19 p.m. OK Mono C# TESTS 20 190 5939200 1700
67954 superkinhluan B May 29, 2010, 6:15 p.m. OK Mono C# TESTS 20 190 5939200 1700
67379 x3mka B May 29, 2010, 5:03 p.m. OK Mono C# TESTS 20 200 6041600 1700
66165 ben.hwang B May 29, 2010, 4:03 p.m. OK Mono C# TESTS 20 200 6041600 1700
69291 leshik B Sept. 17, 2010, 9:47 a.m. OK Mono C# TESTS 20 220 5939200 1700
67677 maslowmw B May 29, 2010, 5:14 p.m. OK Mono C# TESTS 20 220 5939200 1700
59354106 kartoxa B Aug. 23, 2019, 12:55 p.m. OK Mono C# TESTS 20 248 3072000 1700
22942092 og.kostya B Dec. 14, 2016, 5:37 a.m. OK MS C# TESTS 20 92 512000 1700
18115780 azukun B May 27, 2016, 9:43 a.m. OK MS C# TESTS 20 154 12185600 1700
20809901 polphit B Sept. 22, 2016, 4:13 a.m. OK MS C# TESTS 20 248 2969600 1700
6268524 TonySnark B April 6, 2014, 6:07 a.m. OK MS C++ TESTS 20 30 0 1700
4950827 vjudge5 B Nov. 1, 2013, 12:12 p.m. OK MS C++ TESTS 20 30 0 1700
5600496 Goofy57 B Jan. 1, 2014, 8:44 p.m. OK MS C++ TESTS 20 30 0 1700
68679 tourist B May 31, 2010, 7:10 p.m. OK MS C++ TESTS 20 30 1331200 1700
68779 ShadowDancer B June 1, 2010, 5:47 p.m. OK MS C++ TESTS 20 30 1331200 1700
68877 codder90 B June 2, 2010, 3:21 p.m. OK MS C++ TESTS 20 30 1331200 1700
66839 avictor2010 B May 29, 2010, 4:27 p.m. OK MS C++ TESTS 20 30 1331200 1700
67949 AmazingCaddy B May 29, 2010, 6:13 p.m. OK MS C++ TESTS 20 30 1331200 1700
68179 Anurag B May 29, 2010, 9:48 p.m. OK MS C++ TESTS 20 30 1331200 1700
68180 Anurag B May 29, 2010, 9:50 p.m. OK MS C++ TESTS 20 30 1331200 1700
62341192 Saber4096 B Oct. 11, 2019, 5:09 a.m. OK MS C++ 2017 TESTS 20 156 102400 1700
66302809 a.i.miroshnikov B Dec. 5, 2019, 8:01 a.m. OK MS C++ 2017 TESTS 20 218 307200 1700
7668098 ShingRay B Sept. 2, 2014, 2:08 p.m. OK Ocaml TESTS 20 62 204800 1700
34998231 vjudge4 B Feb. 7, 2018, 12:36 p.m. OK PyPy 2 TESTS 20 840 29388800 1700
10713930 dromaeosaurid B April 14, 2015, 5:24 p.m. OK PyPy 2 TESTS 20 904 8294400 1700
60752627 kopok2 B Sept. 18, 2019, 7:13 a.m. OK PyPy 3 TESTS 20 654 9728000 1700
56301237 WeZoomIn B June 30, 2019, 9 a.m. OK PyPy 3 TESTS 20 746 10137600 1700
56301262 WeZoomIn B June 30, 2019, 9:01 a.m. OK PyPy 3 TESTS 20 748 9318400 1700
54038698 smnn B May 12, 2019, 3:36 p.m. OK PyPy 3 TESTS 20 966 8601600 1700
3475191 birdsman B April 5, 2013, 2:38 a.m. OK Python 2 TESTS 20 125 102400 1700
277759 Aleksey B Feb. 9, 2011, 2:54 p.m. OK Python 2 TESTS 20 130 2764800 1700
3146272 m1_k3 B Feb. 19, 2013, 9:09 a.m. OK Python 2 TESTS 20 140 0 1700
3146243 m1_k3 B Feb. 19, 2013, 9 a.m. OK Python 2 TESTS 20 140 0 1700
3420274 FredaShi B March 29, 2013, 5:59 p.m. OK Python 2 TESTS 20 140 204800 1700
68841 xydinesh B June 2, 2010, 5:27 a.m. OK Python 2 TESTS 20 140 2764800 1700
67931 asitak B May 29, 2010, 6:05 p.m. OK Python 2 TESTS 20 140 2764800 1700
625915 AntonDubovik B Aug. 22, 2011, 12:10 p.m. OK Python 2 TESTS 20 140 2867200 1700
276113 watashi B Feb. 6, 2011, 11:06 a.m. OK Python 2 TESTS 20 140 2867200 1700
886273 nns2009 B Nov. 22, 2011, 5:23 p.m. OK Python 2 TESTS 20 140 2969600 1700
21232483 Francis5566 B Oct. 6, 2016, 11:11 a.m. OK Python 3 TESTS 20 404 0 1700
11317773 darrensun B May 27, 2015, 10:57 a.m. OK Python 3 TESTS 20 404 0 1700
55736728 Darshan1999 B June 19, 2019, 4:41 a.m. OK Python 3 TESTS 20 436 0 1700
7207941 knight-erraunt B July 23, 2014, 10:09 a.m. OK Python 3 TESTS 20 436 0 1700
42121917 Mk_Python_v1 B Aug. 26, 2018, 12:56 p.m. OK Python 3 TESTS 20 468 0 1700
42121833 Mostafa_Khaled_Robot B Aug. 26, 2018, 12:54 p.m. OK Python 3 TESTS 20 468 0 1700
53463866 boboquack B April 28, 2019, 8:55 a.m. OK Python 3 TESTS 20 498 0 1700
18014387 zhouyu B May 21, 2016, 6:38 a.m. OK Python 3 TESTS 20 498 5120000 1700
24670325 sbandjohn B Feb. 14, 2017, 12:51 p.m. OK Python 3 TESTS 20 528 4608000 1700
2752758 sambaek B Dec. 11, 2012, 10:21 p.m. OK Ruby TESTS 20 453 0 1700
68106 mipt.vi002 B May 29, 2010, 8 p.m. OK Ruby TESTS 20 720 4198400 1700

remove filters

Back to search problems