Codeforces Round 264 (Div. 2)

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
463 Codeforces Round 264 (Div. 2) FINISHED False 7200 322439399 Aug. 30, 2014, 7:30 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 6557 ) D Gargari and Permutations PROGRAMMING dfs and similar dp graphs implementation 2000

B'Gargari got bored to play with the bishops and now, after solving the problem about them, he is trying to do math homework. In a math book he have found k permutations. Each of them consists of numbers 1, xe2 x80 x892, xe2 x80 x89..., xe2 x80 x89n in some order. Now he should find the length of the longest common subsequence of these permutations. Can you help Gargari? You can read about longest common subsequence there: https://en.wikipedia.org/wiki/Longest_common_subsequence_problem The first line contains two integers n and k (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000; 2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x895). Each of the next k lines contains integers 1, xe2 x80 x892, xe2 x80 x89..., xe2 x80 x89n in some order -- description of the current permutation. Print the length of the longest common subsequence. The answer for the first test sample is subsequence [1, 2, 3].'...

Tutorials

CF 264 Div 2 Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
38426785 cpy D May 19, 2018, 10:19 a.m. OK D TESTS 40 31 4198400 2000
38426816 cpy D May 19, 2018, 10:20 a.m. OK D TESTS 40 31 4505600 2000
38426461 cpy D May 19, 2018, 10:08 a.m. OK D TESTS 40 31 4505600 2000
10564351 AHTuTTuTyX D April 3, 2015, 9:05 p.m. OK Delphi TESTS 40 31 102400 2000
19576999 StarScreamOwl D Aug. 2, 2016, 10:15 a.m. OK Delphi TESTS 40 561 16588800 2000
21969816 vladKB1 D Nov. 1, 2016, 2:08 p.m. OK FPC TESTS 40 15 102400 2000
18766936 water235 D June 28, 2016, 12:06 p.m. OK FPC TESTS 40 15 102400 2000
10965305 Felix_Mate D May 1, 2015, 2:35 p.m. OK FPC TESTS 40 15 5632000 2000
18659086 s34vv1nd D June 23, 2016, 7:46 a.m. OK FPC TESTS 40 30 204800 2000
19615377 vkozlovs D Aug. 4, 2016, 12:53 p.m. OK FPC TESTS 40 31 204800 2000
15007761 tieuchanlong D Dec. 25, 2015, 2:32 p.m. OK FPC TESTS 40 31 204800 2000
18660189 vladrabets D June 23, 2016, 8:55 a.m. OK FPC TESTS 40 31 8089600 2000
18658885 hakunokishinami D June 23, 2016, 7:34 a.m. OK FPC TESTS 40 31 8089600 2000
42138965 chaorenhaha D Aug. 27, 2018, 3:07 a.m. OK FPC TESTS 40 31 20070400 2000
18268946 Gray_58 D June 6, 2016, 10:50 a.m. OK FPC TESTS 40 31 32051200 2000
20287169 rainboy D Aug. 30, 2016, 6:19 p.m. OK GNU C TESTS 40 15 102400 2000
36867827 QAQ2 D April 2, 2018, 4:08 a.m. OK GNU C TESTS 40 15 3379200 2000
11968460 sanketM D July 8, 2015, 7:25 a.m. OK GNU C TESTS 40 31 8806400 2000
31953197 Idvzchuscvol D Nov. 1, 2017, 2:22 p.m. OK GNU C++ TESTS 40 15 0 2000
30028244 vjudge1 D Sept. 3, 2017, 9:31 a.m. OK GNU C++ TESTS 40 15 0 2000
27370554 vjudge1 D May 27, 2017, 9:05 a.m. OK GNU C++ TESTS 40 15 0 2000
26891782 Froz D May 6, 2017, 3:04 a.m. OK GNU C++ TESTS 40 15 0 2000
22156448 ziqian D Nov. 11, 2016, 12:22 a.m. OK GNU C++ TESTS 40 15 0 2000
20955484 abhi1agarwal D Sept. 27, 2016, 7:54 p.m. OK GNU C++ TESTS 40 15 0 2000
20944260 garuna D Sept. 27, 2016, 11:24 a.m. OK GNU C++ TESTS 40 15 0 2000
19279602 SoiMae D July 20, 2016, 12:04 p.m. OK GNU C++ TESTS 40 15 0 2000
18767156 qzqzzsh D June 28, 2016, 12:25 p.m. OK GNU C++ TESTS 40 15 0 2000
18761580 aufeas D June 28, 2016, 3:56 a.m. OK GNU C++ TESTS 40 15 0 2000
9958257 sahil140194 D Feb. 22, 2015, 10:01 a.m. OK GNU C++0x TESTS 40 15 0 2000
10190359 a1l D March 7, 2015, 1:17 p.m. OK GNU C++0x TESTS 40 15 102400 2000
9498559 Jin_Haonan D Jan. 22, 2015, 5:53 a.m. OK GNU C++0x TESTS 40 15 3993600 2000
9725135 hakobyan.tigran D Feb. 5, 2015, 9:03 a.m. OK GNU C++0x TESTS 40 30 0 2000
10151804 mshokry10 D March 4, 2015, 5:48 p.m. OK GNU C++0x TESTS 40 30 102400 2000
10135937 mc_mosa D March 3, 2015, 5:32 p.m. OK GNU C++0x TESTS 40 30 102400 2000
10037504 dcod D Feb. 26, 2015, 8:48 p.m. OK GNU C++0x TESTS 40 30 102400 2000
8979618 anatolat D Dec. 4, 2014, 9:57 a.m. OK GNU C++0x TESTS 40 30 102400 2000
10337079 Kole D March 18, 2015, 12:30 p.m. OK GNU C++0x TESTS 40 30 3072000 2000
10135859 mc_mosa D March 3, 2015, 5:26 p.m. OK GNU C++0x TESTS 40 30 4096000 2000
12352944 Archer_C D Aug. 5, 2015, 3:13 p.m. OK GNU C11 TESTS 40 499 12185600 2000
26948174 Ands D May 8, 2017, 12:17 a.m. OK GNU C++11 TESTS 40 15 0 2000
22461985 Omar_Morsi D Nov. 24, 2016, 8:37 a.m. OK GNU C++11 TESTS 40 15 0 2000
19587202 vjudge1 D Aug. 2, 2016, 8:50 p.m. OK GNU C++11 TESTS 40 15 0 2000
19176231 arnabsamanta D July 16, 2016, 3:53 p.m. OK GNU C++11 TESTS 40 15 0 2000
18910538 AkaneSasu D July 6, 2016, 3:11 a.m. OK GNU C++11 TESTS 40 15 0 2000
18765142 hjj D June 28, 2016, 9:35 a.m. OK GNU C++11 TESTS 40 15 0 2000
18597747 chiehmin D June 19, 2016, 12:31 p.m. OK GNU C++11 TESTS 40 15 0 2000
15217753 zadrga D Jan. 6, 2016, 8:26 p.m. OK GNU C++11 TESTS 40 15 0 2000
31278648 Fated001 D Oct. 13, 2017, 3:30 p.m. OK GNU C++11 TESTS 40 15 0 2000
27010867 miamiao D May 11, 2017, 11:20 a.m. OK GNU C++11 TESTS 40 15 102400 2000
59940682 BadBot D Sept. 3, 2019, 11:20 a.m. OK GNU C++14 TESTS 40 15 0 2000
29958195 customer101 D Aug. 31, 2017, 7:59 p.m. OK GNU C++14 TESTS 40 15 0 2000
27661586 vkashyap D June 8, 2017, 2:23 a.m. OK GNU C++14 TESTS 40 15 0 2000
27014054 Webwei D May 11, 2017, 1:15 p.m. OK GNU C++14 TESTS 40 15 0 2000
61860656 tushar_2658 D Oct. 4, 2019, 3:16 p.m. OK GNU C++14 TESTS 40 15 0 2000
32159784 Ancient_Kid D Nov. 9, 2017, 2:03 p.m. OK GNU C++14 TESTS 40 15 102400 2000
39352789 furious__ D June 18, 2018, 9:58 a.m. OK GNU C++14 TESTS 40 15 102400 2000
32185072 OzhetOFF D Nov. 10, 2017, 3:41 a.m. OK GNU C++14 TESTS 40 15 102400 2000
48898250 s1ddharth3 D Jan. 24, 2019, 4:52 p.m. OK GNU C++14 TESTS 40 15 102400 2000
50817542 Underdog_eagle D March 5, 2019, 12:09 p.m. OK GNU C++14 TESTS 40 15 102400 2000
39799959 _Lumos D June 30, 2018, 1:57 p.m. OK GNU C++17 TESTS 40 15 102400 2000
48448280 vjudge2 D Jan. 16, 2019, 8:43 a.m. OK GNU C++17 TESTS 40 15 307200 2000
54264377 _dipu D May 17, 2019, 4:50 a.m. OK GNU C++17 TESTS 40 15 3174400 2000
54264411 _dipu D May 17, 2019, 4:51 a.m. OK GNU C++17 TESTS 40 15 3174400 2000
61246948 limboguard D Sept. 25, 2019, 1:21 a.m. OK GNU C++17 TESTS 40 15 4198400 2000
39603614 MrPoJ D June 24, 2018, 1:18 p.m. OK GNU C++17 TESTS 40 30 0 2000
38416628 region1304 D May 19, 2018, 4:29 a.m. OK GNU C++17 TESTS 40 30 0 2000
60271995 ggml D Sept. 8, 2019, 3:57 p.m. OK GNU C++17 TESTS 40 30 102400 2000
59615777 dontquit D Aug. 28, 2019, 12:38 p.m. OK GNU C++17 TESTS 40 30 102400 2000
53283157 nilesh8757 D April 25, 2019, 12:50 p.m. OK GNU C++17 TESTS 40 30 102400 2000
9329115 xiaowuc1 D Dec. 31, 2014, 2:12 a.m. OK Java 6 TESTS 40 295 13824000 2000
10637046 wonjohn.choi D April 9, 2015, 6:47 a.m. OK Java 7 TESTS 40 93 0 2000
9242311 upsolving D Dec. 24, 2014, 9:10 a.m. OK Java 7 TESTS 40 93 0 2000
9239096 upsolving D Dec. 24, 2014, 8:52 a.m. OK Java 7 TESTS 40 93 0 2000
9097543 Badry D Dec. 12, 2014, 11:48 p.m. OK Java 7 TESTS 40 93 0 2000
11194700 pitfall D May 21, 2015, 7:31 p.m. OK Java 7 TESTS 40 108 102400 2000
10520436 Sumeet.Varma D March 29, 2015, 10:14 p.m. OK Java 7 TESTS 40 108 14336000 2000
15259895 thjchph4trjnh D Jan. 8, 2016, 7:37 p.m. OK Java 7 TESTS 40 109 0 2000
9070670 sweiss D Dec. 10, 2014, 10:56 a.m. OK Java 7 TESTS 40 109 0 2000
10398786 marcose18 D March 22, 2015, 11:53 a.m. OK Java 7 TESTS 40 124 0 2000
10305628 gpita D March 16, 2015, 10:05 p.m. OK Java 7 TESTS 40 124 0 2000
69895740 jakejase2 D Jan. 31, 2020, 11:40 a.m. OK Java 8 TESTS 40 124 0 2000
68861428 yaoct D Jan. 15, 2020, 12:12 p.m. OK Java 8 TESTS 40 124 0 2000
68375289 adarsh000321 D Jan. 7, 2020, 7:31 p.m. OK Java 8 TESTS 40 124 0 2000
66793514 sakt_coder D Dec. 13, 2019, 4:09 p.m. OK Java 8 TESTS 40 124 0 2000
63739969 mu.shakhawat.hossain D Oct. 29, 2019, 4:36 p.m. OK Java 8 TESTS 40 124 0 2000
63298726 egaeus D Oct. 24, 2019, 1:41 p.m. OK Java 8 TESTS 40 124 0 2000
52512278 satya26 D April 9, 2019, 12:57 a.m. OK Java 8 TESTS 40 124 0 2000
47409131 K_B_C_S D Dec. 23, 2018, 1:59 p.m. OK Java 8 TESTS 40 124 0 2000
46563418 jenish9599 D Dec. 3, 2018, 8:02 p.m. OK Java 8 TESTS 40 124 0 2000
39001127 KulikAlex D June 6, 2018, 5:47 p.m. OK Java 8 TESTS 40 124 0 2000
11440508 lydxlx D June 5, 2015, 4:49 a.m. OK Mono C# TESTS 40 62 1433600 2000
51740165 hongquanntct D March 23, 2019, 5:24 a.m. OK Mono C# TESTS 40 124 6758400 2000
9428979 camypaper D Jan. 14, 2015, 11:38 a.m. OK MS C# TESTS 40 124 6041600 2000
12901237 NVAL D Sept. 8, 2015, 5:31 p.m. OK MS C++ TESTS 40 15 0 2000
15283243 step_by_step D Jan. 10, 2016, 6:38 p.m. OK MS C++ TESTS 40 15 102400 2000
28970379 vjudge4 D July 29, 2017, 12:37 p.m. OK MS C++ TESTS 40 15 2150400 2000
28980851 vjudge2 D July 30, 2017, 2:17 a.m. OK MS C++ TESTS 40 15 2150400 2000
11399851 OmarHashim D June 3, 2015, 10:23 a.m. OK MS C++ TESTS 40 15 4198400 2000
9482224 Darkmatter D Jan. 20, 2015, 7:18 a.m. OK MS C++ TESTS 40 15 8192000 2000
20671443 sunmoyi D Sept. 17, 2016, 2:17 a.m. OK MS C++ TESTS 40 15 8192000 2000
10137781 besher D March 3, 2015, 8:19 p.m. OK MS C++ TESTS 40 30 0 2000
22648674 mostafa_9a7c2 D Dec. 1, 2016, 9:18 p.m. OK MS C++ TESTS 40 30 102400 2000
21208100 dwp D Oct. 5, 2016, 12:27 p.m. OK MS C++ TESTS 40 30 102400 2000
66088683 vjudge3 D Dec. 1, 2019, 6:20 a.m. OK MS C++ 2017 TESTS 40 31 102400 2000
62311395 vjudge1 D Oct. 10, 2019, 2:01 p.m. OK MS C++ 2017 TESTS 40 46 0 2000
66090437 vjudge4 D Dec. 1, 2019, 7:08 a.m. OK MS C++ 2017 TESTS 40 46 307200 2000
22304463 liuxueyang D Nov. 18, 2016, 10:46 a.m. OK Perl TESTS 40 982 716800 2000
41571277 Onesh0t D Aug. 13, 2018, 10:05 p.m. OK PyPy 2 TESTS 40 187 921600 2000
61061467 zx081325 D Sept. 22, 2019, 9:36 a.m. OK PyPy 3 TESTS 40 171 3072000 2000
11324020 dr.ikros D May 27, 2015, 6:04 p.m. OK PyPy 3 TESTS 40 326 6246400 2000
68752813 Firepaw D Jan. 14, 2020, 7:17 a.m. OK PyPy 3 TESTS 40 358 7987200 2000
68753301 Firepaw D Jan. 14, 2020, 7:27 a.m. OK PyPy 3 TESTS 40 468 9318400 2000
25680592 NicolasK D March 21, 2017, 5:31 a.m. OK Python 2 TESTS 40 951 5017600 2000
12260593 HappyPerson D July 29, 2015, 6:54 a.m. OK Python 2 TESTS 40 982 409600 2000
35873982 ______u______ D March 3, 2018, 7:40 a.m. OK Python 2 TESTS 40 1029 4915200 2000
35873874 ______n______ D March 3, 2018, 7:40 a.m. OK Python 2 TESTS 40 1029 4915200 2000
35873264 _____k_____ D March 3, 2018, 7:28 a.m. OK Python 2 TESTS 40 1029 4915200 2000
35873204 _____i_____ D March 3, 2018, 7:27 a.m. OK Python 2 TESTS 40 1029 4915200 2000
35863935 ______k______ D March 2, 2018, 10:57 p.m. OK Python 2 TESTS 40 1029 4915200 2000
35863918 ______h______ D March 2, 2018, 10:57 p.m. OK Python 2 TESTS 40 1029 4915200 2000
35863643 ______i______ D March 2, 2018, 10:51 p.m. OK Python 2 TESTS 40 1029 4915200 2000
35861928 ______M______ D March 2, 2018, 10:14 p.m. OK Python 2 TESTS 40 1029 4915200 2000

remove filters

Back to search problems