Codeforces Round 202 (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
348 Codeforces Round 202 (Div. 1) FINISHED False 7200 351527399 Sept. 27, 2013, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1738 ) D Turtles PROGRAMMING dp matrices 2500

B'You 've got a table of size n xe2 x80 x89 xc3 x97 xe2 x80 x89m. We 'll consider the table rows numbered from top to bottom 1 through n, and the columns numbered from left to right 1 through m. Then we 'll denote the cell in row x and column y as (x, xe2 x80 x89y). Initially cell (1, xe2 x80 x891) contains two similar turtles. Both turtles want to get to cell (n, xe2 x80 x89m). Some cells of the table have obstacles but it is guaranteed that there aren 't any obstacles in the upper left and lower right corner. A turtle (one or the other) can go from cell (x, xe2 x80 x89y) to one of two cells (x xe2 x80 x89+ xe2 x80 x891, xe2 x80 x89y) and (x, xe2 x80 x89y xe2 x80 x89+ xe2 x80 x891), as long as the required cell doesn 't contain an obstacle. The turtles have had an argument so they don 't want to have any chance of meeting each other along the way. Help them find the number of ways in which they can go from cell (1, xe2 x80 x891) to cell (n, xe2 x80 x89m). More formally, find the number of pairs of non-intersecting ways from cell (1, xe2 x80 x891) to cell (n, xe2 x80 x89m) modulo 1000000007 (109 xe2 x80 x89+ xe2 x80 x897). Two ways are called non-intersecting if they have exactly two common points -- the starting point and the final point. The first line contains two integers n, xe2 x80 x89m (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x893000). Each of the following n lines contains m characters describing the table. The empty cells are marked by characters ".", the cells with obstacles are marked by "#". It is guaranteed that the upper left and the lower right cells are empty. In a single line print a single integer -- the number of pairs of non-intersecting paths from cell (1, xe2 x80 x891) to cell (n, xe2 x80 x89m) modulo 1000000007 (109 xe2 x80 x89+ xe2 x80 x897).'...

Tutorials

Editorial for Codeforces Round #202

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
4927229 Fuh D Oct. 29, 2013, 8:33 a.m. OK D TESTS 42 561 160460800 2500
5610421 zhzq123 D Jan. 3, 2014, 1:45 p.m. OK FPC TESTS 42 842 45158400 2500
11681880 ljz D June 20, 2015, 12:45 p.m. OK FPC TESTS 42 1558 225587200 2500
4655971 Nik_Storm_2010 D Oct. 4, 2013, 10:34 a.m. OK FPC TESTS 42 1560 81203200 2500
5590310 Solitary D Dec. 31, 2013, 7:42 a.m. OK GNU C++ TESTS 42 186 81715200 2500
4596210 TMandzu D Sept. 28, 2013, 9:08 a.m. OK GNU C++ TESTS 42 248 180633600 2500
10259957 akim D March 13, 2015, 3:57 p.m. OK GNU C++ TESTS 42 278 98201600 2500
4618268 huzecong D Oct. 1, 2013, 8:25 a.m. OK GNU C++ TESTS 42 280 45158400 2500
5857041 new_doubleh D Jan. 31, 2014, 2:12 p.m. OK GNU C++ TESTS 42 280 72192000 2500
5189671 RNS_MHB D Nov. 22, 2013, 6:58 a.m. OK GNU C++ TESTS 42 280 81203200 2500
4677540 WindIncarnation D Oct. 5, 2013, 5:27 a.m. OK GNU C++ TESTS 42 280 81203200 2500
4586975 moonlight131 D Sept. 27, 2013, 5:08 p.m. OK GNU C++ TESTS 42 280 81612800 2500
4638523 HanHansoul D Oct. 2, 2013, 8:43 a.m. OK GNU C++ TESTS 42 280 81715200 2500
4584931 phtniit D Sept. 27, 2013, 4:48 p.m. OK GNU C++ TESTS 42 280 81715200 2500
4586524 tsfn D Sept. 27, 2013, 5:04 p.m. OK GNU C++0x TESTS 42 218 81715200 2500
5710017 mruxim D Jan. 17, 2014, 12:27 p.m. OK GNU C++0x TESTS 42 340 55091200 2500
8861289 Marcin_smu D Nov. 26, 2014, 3:33 p.m. OK GNU C++0x TESTS 42 340 81715200 2500
5004223 Archon.JK D Nov. 6, 2013, 1:23 p.m. OK GNU C++0x TESTS 42 342 45260800 2500
5353414 niklasb D Dec. 5, 2013, 11:20 a.m. OK GNU C++0x TESTS 42 342 82841600 2500
4602164 laquendi D Sept. 29, 2013, 3:16 a.m. OK GNU C++0x TESTS 42 374 45158400 2500
8920086 soda_beta D Dec. 1, 2014, 6:07 p.m. OK GNU C++0x TESTS 42 434 45260800 2500
4616754 xuweirong D Oct. 1, 2013, 1:46 a.m. OK GNU C++0x TESTS 42 436 45158400 2500
9288658 yutaka1999 D Dec. 28, 2014, 5:04 a.m. OK GNU C++0x TESTS 42 436 45260800 2500
5963619 rares.buhai D March 8, 2014, 3:17 p.m. OK GNU C++0x TESTS 42 436 45465600 2500
55182928 SoiMae D June 6, 2019, 12:53 a.m. OK GNU C++11 TESTS 42 218 73625600 2500
15494561 WeHaveInt D Jan. 22, 2016, 8:06 a.m. OK GNU C++11 TESTS 42 218 81715200 2500
19456538 Arpa D July 28, 2016, 7:40 a.m. OK GNU C++11 TESTS 42 218 82124800 2500
56844605 Zhang_RQ D July 11, 2019, 1:04 p.m. OK GNU C++11 TESTS 42 248 45363200 2500
46684603 dtcxzyw D Dec. 6, 2018, 1:28 p.m. OK GNU C++11 TESTS 42 248 81305600 2500
15494581 WeHaveInt D Jan. 22, 2016, 8:08 a.m. OK GNU C++11 TESTS 42 248 81715200 2500
15494542 WeHaveInt D Jan. 22, 2016, 8:05 a.m. OK GNU C++11 TESTS 42 248 81715200 2500
63353377 luogu_bot4 D Oct. 25, 2019, 12:09 a.m. OK GNU C++11 TESTS 42 248 81920000 2500
55203518 SoiMae D June 6, 2019, 11:37 a.m. OK GNU C++11 TESTS 42 248 100249600 2500
18628241 MadNick D June 21, 2016, 10:35 a.m. OK GNU C++11 TESTS 42 278 45158400 2500
34577457 The_Unbeatable D Jan. 26, 2018, 1:50 p.m. OK GNU C++14 TESTS 42 278 83353600 2500
40253421 I_love_Y_UME D July 13, 2018, 7:36 a.m. OK GNU C++14 TESTS 42 280 85094400 2500
34406388 yusayura D Jan. 21, 2018, 8:42 a.m. OK GNU C++14 TESTS 42 310 60416000 2500
43065607 cz_xuyixuan D Sept. 19, 2018, 5:09 a.m. OK GNU C++14 TESTS 42 310 81408000 2500
33009306 jtnydv25 D Dec. 7, 2017, 7:51 p.m. OK GNU C++14 TESTS 42 312 83353600 2500
23562995 Ali.Pi D Jan. 5, 2017, 9:05 p.m. OK GNU C++14 TESTS 42 342 47104000 2500
57576057 vjudge1 D July 23, 2019, 7:05 a.m. OK GNU C++14 TESTS 42 374 55705600 2500
58012998 Origenes D July 30, 2019, 3:26 p.m. OK GNU C++14 TESTS 42 374 87961600 2500
51256331 NotNight D March 13, 2019, 11:27 a.m. OK GNU C++14 TESTS 42 404 81510400 2500
56408105 mgg D July 1, 2019, 8:48 p.m. OK GNU C++14 TESTS 42 404 81715200 2500
46023726 Jaihk662 D Nov. 21, 2018, 9:48 a.m. OK GNU C++17 TESTS 42 248 81715200 2500
48053835 ONE_DAY_I_WILL D Jan. 7, 2019, 11:02 a.m. OK GNU C++17 TESTS 42 310 45670400 2500
56830134 CMXRYNP D July 11, 2019, 6:38 a.m. OK GNU C++17 TESTS 42 342 45260800 2500
47459912 amnesiac_dusk D Dec. 24, 2018, 2:32 p.m. OK GNU C++17 TESTS 42 342 81408000 2500
47867111 alonefight D Jan. 3, 2019, 10:30 a.m. OK GNU C++17 TESTS 42 372 226099200 2500
65350411 user202729_ D Nov. 19, 2019, 2:10 p.m. OK GNU C++17 TESTS 42 404 47308800 2500
47459824 amnesiac_dusk D Dec. 24, 2018, 2:29 p.m. OK GNU C++17 TESTS 42 404 81408000 2500
57644046 vjudge5 D July 24, 2019, 1:37 p.m. OK GNU C++17 TESTS 42 436 154316800 2500
57587654 vjudge1 D July 23, 2019, 11:14 a.m. OK GNU C++17 TESTS 42 466 153804800 2500
67446826 AmShZ D Dec. 22, 2019, 11:03 p.m. OK GNU C++17 TESTS 42 466 159334400 2500
4931401 mkirsche D Oct. 30, 2013, 12:37 a.m. OK Java 6 TESTS 42 842 113459200 2500
4638668 llaki D Oct. 2, 2013, 9:04 a.m. OK Java 6 TESTS 42 1028 120422400 2500
4589791 uwi D Sept. 27, 2013, 6:13 p.m. OK Java 6 TESTS 42 1216 93491200 2500
5194462 sweiss D Nov. 22, 2013, 8:01 p.m. OK Java 7 TESTS 42 530 108339200 2500
4588965 tanzaku D Sept. 27, 2013, 5:27 p.m. OK Java 7 TESTS 42 716 150016000 2500
4597267 ftiasch D Sept. 28, 2013, 11:05 a.m. OK Java 7 TESTS 42 1122 113254400 2500
12693411 free.dom D Aug. 25, 2015, 8:49 a.m. OK Java 7 TESTS 42 1308 120832000 2500
5783692 hama-du D Jan. 24, 2014, 9 a.m. OK Java 7 TESTS 42 1560 138240000 2500
4590843 Egor D Sept. 27, 2013, 6:59 p.m. OK Java 7 TESTS 42 1652 199987200 2500
11264309 marcose18 D May 25, 2015, 12:08 p.m. OK Java 7 TESTS 42 1714 143360000 2500
4582496 ilyakor D Sept. 27, 2013, 4:26 p.m. OK Java 7 TESTS 42 1716 206028800 2500
17027131 ronnieroo D March 30, 2016, 1:22 a.m. OK Java 7 TESTS 42 1996 169984000 2500
4617671 lzsb D Oct. 1, 2013, 6:24 a.m. OK MS C++ TESTS 42 342 81305600 2500
25140101 DEGwer D March 2, 2017, 4:54 a.m. OK MS C++ TESTS 42 374 182579200 2500
10997647 Alex7 D May 4, 2015, 4:33 p.m. OK MS C++ TESTS 42 434 81408000 2500
7613698 HandIeNeeded D Aug. 28, 2014, 12:25 p.m. OK MS C++ TESTS 42 436 153804800 2500
44378521 vjudge2 D Oct. 16, 2018, 12:33 a.m. OK MS C++ TESTS 42 528 181555200 2500
4614755 igor.kondratiev D Sept. 30, 2013, 6:26 p.m. OK MS C++ TESTS 42 592 157286400 2500
10830022 polequoll D April 23, 2015, 2:06 a.m. OK MS C++ TESTS 42 592 162611200 2500
6569479 FxF D May 7, 2014, 9:23 p.m. OK MS C++ TESTS 42 686 149196800 2500
4644968 Schullz D Oct. 2, 2013, 8:18 p.m. OK MS C++ TESTS 42 842 100352000 2500
9354454 Apple_Cplus D Jan. 3, 2015, 4:48 p.m. OK MS C++ TESTS 42 902 45260800 2500

remove filters

Back to search problems