Codeforces Round 187 (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
314 Codeforces Round 187 (Div. 1) FINISHED False 7200 367079397 June 7, 2013, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1530 ) B Sereja and Periods PROGRAMMING binary search dfs and similar strings 2000

B'Let 's introduce the designation , where x is a string, n is a positive integer and operation " xe2 x80 x89+ xe2 x80 x89" is the string concatenation operation. For example, [abc, xe2 x80 x892] xe2 x80 x89= xe2 x80 x89abcabc. We 'll say that string s can be obtained from string t, if we can remove some characters from string t and obtain string s. For example, strings ab and a xd1 x81ba can be obtained from string xacbac, and strings bx and aaa cannot be obtained from it. Sereja has two strings, w xe2 x80 x89= xe2 x80 x89[a, xe2 x80 x89b] and q xe2 x80 x89= xe2 x80 x89[c, xe2 x80 x89d]. He wants to find such maximum integer p (p xe2 x80 x89> xe2 x80 x890), that [q, xe2 x80 x89p] can be obtained from string w. The first line contains two integers b, d (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89b, xe2 x80 x89d xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89107). The second line contains string a. The third line contains string c. The given strings are not empty and consist of lowercase English letters. Their lengths do not exceed 100. In a single line print an integer -- the largest number p. If the required value of p doesn 't exist, print 0.'...

Tutorials

Codeforces Round #187 tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
3840913 Gassa B June 7, 2013, 5:12 p.m. OK D TESTS 47 46 716800 2000
5661315 Misha100896 B Jan. 11, 2014, 7:27 p.m. OK Delphi TESTS 47 30 512000 2000
3836803 Alex_2oo8 B June 7, 2013, 4:17 p.m. OK FPC TESTS 47 15 0 2000
3845505 con_nha_ngheo B June 8, 2013, 6:04 a.m. OK FPC TESTS 47 15 204800 2000
3843259 hiepsieunhan B June 7, 2013, 6:12 p.m. OK FPC TESTS 47 15 204800 2000
3833979 vlad107 B June 7, 2013, 3:51 p.m. OK FPC TESTS 47 15 10547200 2000
3965555 Unnamed B June 27, 2013, 1:06 a.m. OK FPC TESTS 47 31 0 2000
3836460 laoriu B June 7, 2013, 4:13 p.m. OK FPC TESTS 47 31 0 2000
3847563 PeterTong97 B June 8, 2013, 2:54 p.m. OK FPC TESTS 47 46 0 2000
4285320 DragonCola B Aug. 16, 2013, 6:34 a.m. OK FPC TESTS 47 62 0 2000
5522505 llaugusty B Dec. 26, 2013, 4:12 a.m. OK FPC TESTS 47 62 102400 2000
4986106 pal3 B Nov. 4, 2013, 1:04 p.m. OK FPC TESTS 47 62 102400 2000
3839423 kawatea B June 7, 2013, 4:49 p.m. OK GNU C TESTS 47 15 102400 2000
3845062 SaBuZa B June 8, 2013, 3:37 a.m. OK GNU C TESTS 47 31 102400 2000
3838032 Shapo B June 7, 2013, 4:31 p.m. OK GNU C TESTS 47 124 120320000 2000
4167550 hhoomn B July 26, 2013, 6:23 a.m. OK GNU C++ TESTS 47 15 0 2000
4057890 hehaodele B July 13, 2013, 4:53 a.m. OK GNU C++ TESTS 47 15 0 2000
4053255 _LT_zyc B July 12, 2013, 4:48 a.m. OK GNU C++ TESTS 47 15 0 2000
4047690 lysine B July 10, 2013, 5:41 p.m. OK GNU C++ TESTS 47 15 0 2000
4030661 chenhuan001 B July 6, 2013, 11:28 a.m. OK GNU C++ TESTS 47 15 0 2000
3959926 vjudge2 B June 25, 2013, 1:20 p.m. OK GNU C++ TESTS 47 15 0 2000
3958209 AlanC B June 25, 2013, 7:11 a.m. OK GNU C++ TESTS 47 15 0 2000
3915942 shineFly B June 19, 2013, 3:15 a.m. OK GNU C++ TESTS 47 15 0 2000
3911385 krijgertje B June 17, 2013, 8:01 p.m. OK GNU C++ TESTS 47 15 0 2000
3909964 hanamaki B June 17, 2013, 1:33 p.m. OK GNU C++ TESTS 47 15 0 2000
3860464 MinakoKojima B June 12, 2013, 12:44 p.m. OK GNU C++0x TESTS 47 15 0 2000
4039992 harhrayr B July 8, 2013, 6:31 p.m. OK GNU C++0x TESTS 47 15 0 2000
3854310 diego_v1 B June 10, 2013, 2:27 p.m. OK GNU C++0x TESTS 47 15 0 2000
3847722 tatsuhiro.t B June 8, 2013, 3:38 p.m. OK GNU C++0x TESTS 47 15 0 2000
3840024 sokian B June 7, 2013, 4:58 p.m. OK GNU C++0x TESTS 47 15 0 2000
3843363 mruxim B June 7, 2013, 6:19 p.m. OK GNU C++0x TESTS 47 15 102400 2000
3836240 Edvard B June 7, 2013, 4:10 p.m. OK GNU C++0x TESTS 47 15 102400 2000
3836398 shindo B June 7, 2013, 4:12 p.m. OK GNU C++0x TESTS 47 15 204800 2000
3835615 KADR B June 7, 2013, 4:04 p.m. OK GNU C++0x TESTS 47 15 1740800 2000
3847718 diego_v1 B June 8, 2013, 3:38 p.m. OK GNU C++0x TESTS 47 15 4300800 2000
19533206 supasaya B July 31, 2016, 7:58 a.m. OK GNU C++11 TESTS 47 30 0 2000
19471072 Ioana B July 29, 2016, 2:50 a.m. OK GNU C++11 TESTS 47 30 0 2000
16783242 ko_osaga B March 18, 2016, 2:12 p.m. OK GNU C++11 TESTS 47 30 0 2000
14509249 OmarHashim B Nov. 27, 2015, 10:41 a.m. OK GNU C++11 TESTS 47 30 0 2000
12983390 JohStraat B Sept. 13, 2015, 11:51 a.m. OK GNU C++11 TESTS 47 30 0 2000
15021699 vjudge1 B Dec. 25, 2015, 7:17 p.m. OK GNU C++11 TESTS 47 30 204800 2000
14625213 tenshi_kanade B Dec. 2, 2015, 7:41 p.m. OK GNU C++11 TESTS 47 30 204800 2000
12550846 vjudge5 B Aug. 15, 2015, 5:36 p.m. OK GNU C++11 TESTS 47 30 204800 2000
19602073 I_Love_Ginger B Aug. 3, 2016, 4:49 p.m. OK GNU C++11 TESTS 47 30 409600 2000
11997151 skrydg B July 10, 2015, 11:52 a.m. OK GNU C++11 TESTS 47 30 1228800 2000
31117363 TheQueen B Oct. 7, 2017, 1:57 p.m. OK GNU C++14 TESTS 47 30 0 2000
29616459 Minnakhmetov B Aug. 20, 2017, 8:45 a.m. OK GNU C++14 TESTS 47 30 102400 2000
29915196 narcissist B Aug. 30, 2017, 11:01 a.m. OK GNU C++14 TESTS 47 30 409600 2000
29915190 narcissist B Aug. 30, 2017, 11:01 a.m. OK GNU C++14 TESTS 47 30 409600 2000
35130081 loyolman B Feb. 10, 2018, 3:45 p.m. OK GNU C++14 TESTS 47 30 1945600 2000
31629508 hahavodox B Oct. 23, 2017, 1:01 p.m. OK GNU C++14 TESTS 47 30 1945600 2000
23386174 Mohammad.Sj B Dec. 28, 2016, 8:07 p.m. OK GNU C++14 TESTS 47 30 1945600 2000
25791835 TianyiChen B March 25, 2017, 7:58 a.m. OK GNU C++14 TESTS 47 30 2048000 2000
36052137 bluefi B March 7, 2018, 5:01 p.m. OK GNU C++14 TESTS 47 30 2048000 2000
36033520 bluefi B March 7, 2018, 5:39 a.m. OK GNU C++14 TESTS 47 30 2048000 2000
53274322 ruo B April 25, 2019, 8:30 a.m. OK GNU C++17 TESTS 47 60 0 2000
47878508 Maycon_708 B Jan. 3, 2019, 4:52 p.m. OK GNU C++17 TESTS 47 60 409600 2000
52273611 JoJo B April 3, 2019, 1:59 p.m. OK GNU C++17 TESTS 47 60 13926400 2000
47518081 klchen0112 B Dec. 26, 2018, 11:17 a.m. OK GNU C++17 TESTS 47 62 0 2000
47458062 IA_Rhythm B Dec. 24, 2018, 1:36 p.m. OK GNU C++17 TESTS 47 62 0 2000
42141521 ak532 B Aug. 27, 2018, 5:53 a.m. OK GNU C++17 TESTS 47 62 0 2000
38618720 3agwa B May 25, 2018, 10:31 p.m. OK GNU C++17 TESTS 47 62 0 2000
40842055 ag_orz B July 27, 2018, 10:01 a.m. OK GNU C++17 TESTS 47 62 102400 2000
48427901 naman44 B Jan. 15, 2019, 3:47 p.m. OK GNU C++17 TESTS 47 62 307200 2000
48455052 JacobianDet B Jan. 16, 2019, 12:20 p.m. OK GNU C++17 TESTS 47 62 512000 2000
3843883 hiukim B June 7, 2013, 7:20 p.m. OK Java 6 TESTS 47 62 2252800 2000
3843263 dusty.and.rusty B June 7, 2013, 6:12 p.m. OK Java 6 TESTS 47 78 2252800 2000
3843752 dusty.and.rusty B June 7, 2013, 6:59 p.m. OK Java 6 TESTS 47 93 2252800 2000
3836951 uwi B June 7, 2013, 4:18 p.m. OK Java 6 TESTS 47 93 2457600 2000
3843902 uwi B June 7, 2013, 7:23 p.m. OK Java 6 TESTS 47 109 2355200 2000
4867503 DiegoAE B Oct. 24, 2013, 8:26 p.m. OK Java 6 TESTS 47 218 0 2000
3844219 kyldvs B June 7, 2013, 9:16 p.m. OK Java 7 TESTS 47 78 102400 2000
3933116 yarrr B June 21, 2013, 5:17 p.m. OK Java 7 TESTS 47 93 0 2000
3844185 m.radwan B June 7, 2013, 8:56 p.m. OK Java 7 TESTS 47 93 0 2000
3842929 API B June 7, 2013, 5:57 p.m. OK Java 7 TESTS 47 93 0 2000
3839848 pashkal B June 7, 2013, 4:56 p.m. OK Java 7 TESTS 47 93 0 2000
3838830 indy256 B June 7, 2013, 4:41 p.m. OK Java 7 TESTS 47 93 0 2000
3837657 SergeyLazarev B June 7, 2013, 4:26 p.m. OK Java 7 TESTS 47 93 0 2000
3835982 oimaster B June 7, 2013, 4:08 p.m. OK Java 7 TESTS 47 93 0 2000
3854902 0p9o8i B June 10, 2013, 5:47 p.m. OK Java 7 TESTS 47 93 102400 2000
3849407 S.Yesipenko B June 9, 2013, 5:34 a.m. OK Java 7 TESTS 47 93 102400 2000
11543390 Yury_Bandarchuk B June 12, 2015, 12:19 p.m. OK Java 8 TESTS 47 248 0 2000
35744088 Noureldin B Feb. 26, 2018, 7:52 p.m. OK Java 8 TESTS 47 278 20889600 2000
44740595 Temld4 B Oct. 23, 2018, 2:33 p.m. OK Java 8 TESTS 47 280 0 2000
46579951 ankurdua15 B Dec. 4, 2018, 10:48 a.m. OK Java 8 TESTS 47 280 0 2000
61512803 StayAwayFromBitches B Sept. 29, 2019, 4:30 p.m. OK Java 8 TESTS 47 280 0 2000
38895504 amnesiac_dusk B June 2, 2018, 2:49 p.m. OK Java 8 TESTS 47 280 20480000 2000
10275868 alibaba B March 14, 2015, 5:19 p.m. OK Java 8 TESTS 47 310 0 2000
54085665 saurabh0611 B May 14, 2019, 7:12 a.m. OK Java 8 TESTS 47 374 0 2000
37828871 Ahmad B May 2, 2018, 2:19 a.m. OK Java 8 TESTS 47 404 21401600 2000
39085837 dipankar12 B June 10, 2018, 7:20 a.m. OK Java 8 TESTS 47 434 0 2000
3836505 chokudai B June 7, 2013, 4:13 p.m. OK Mono C# TESTS 47 859 2048000 2000
3843774 marat.snowbear B June 7, 2013, 7:03 p.m. OK MS C# TESTS 47 78 2252800 2000
3840657 Logvinov_Leon B June 7, 2013, 5:07 p.m. OK MS C++ TESTS 47 15 0 2000
4022091 bidzilya B July 4, 2013, 4:28 p.m. OK MS C++ TESTS 47 15 0 2000
3850553 Im_too_old_for_this_shit B June 9, 2013, 12:10 p.m. OK MS C++ TESTS 47 15 0 2000
3842643 Monyura B June 7, 2013, 5:47 p.m. OK MS C++ TESTS 47 15 0 2000
3839185 bayleef B June 7, 2013, 4:46 p.m. OK MS C++ TESTS 47 15 0 2000
3838821 Gabaum B June 7, 2013, 4:41 p.m. OK MS C++ TESTS 47 15 0 2000
3837698 Xnewfolder B June 7, 2013, 4:27 p.m. OK MS C++ TESTS 47 15 0 2000
3837489 Dabek B June 7, 2013, 4:25 p.m. OK MS C++ TESTS 47 15 0 2000
3836987 Milanin B June 7, 2013, 4:19 p.m. OK MS C++ TESTS 47 15 0 2000
3835986 Olja B June 7, 2013, 4:08 p.m. OK MS C++ TESTS 47 15 0 2000
57852446 GomBu B July 27, 2019, 1:41 p.m. OK MS C++ 2017 TESTS 47 62 0 2000
3834979 kevinsogo B June 7, 2013, 3:58 p.m. OK Python 2 TESTS 47 62 0 2000
4008457 coconut B July 3, 2013, 10:14 p.m. OK Python 2 TESTS 47 62 307200 2000
3848013 carvajal B June 8, 2013, 5:04 p.m. OK Python 2 TESTS 47 62 409600 2000
3849675 lyubimov.denis B June 9, 2013, 7:41 a.m. OK Python 2 TESTS 47 187 5427200 2000

remove filters

Back to search problems