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
( 373 ) E Sereja and Squares PROGRAMMING dp 2900

B'Sereja painted n points on the plane, point number i (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89i xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n) has coordinates (i, xe2 x80 x890). Then Sereja marked each point with a small or large English letter. Sereja don 't like letter "x", so he didn 't use it to mark points. Sereja thinks that the points are marked beautifully if the following conditions holds: Little Petya erased some small and all large letters marking the points. Now Sereja wonders how many ways are there to return the removed letters so that the points were marked beautifully. The first line contains integer n the number of points (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105). The second line contains a sequence consisting of n small English letters and question marks -- the sequence of letters, that mark points, in order of increasing x-coordinate of points. Question marks denote the points without letters (Petya erased them). It is guaranteed that the input string doesn 't contain letter "x". In a single line print the answer to the problem modulo 4294967296. If there is no way to return the removed letters, print number 0. Please, do not write the %lld specifier to read or write 64-bit integers in xd0 xa1++. It is preferred to use the cin, cout streams or the %I64d specifier.'...

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
3851802 vlad107 E June 9, 2013, 6:52 p.m. OK Delphi TESTS 42 2031 614400 2900
11337909 Amr_Hassan E May 28, 2015, 7:22 p.m. OK Delphi TESTS 42 2838 614400 2900
10243975 403369233 E March 12, 2015, 6:30 a.m. OK FPC TESTS 42 2744 716800 2900
3851633 James E June 9, 2013, 5:44 p.m. OK GNU C TESTS 42 1000 307200 2900
3856409 vfleaking E June 11, 2013, 7:33 a.m. OK GNU C++ TESTS 42 1000 307200 2900
3856402 vfleaking E June 11, 2013, 7:32 a.m. OK GNU C++ TESTS 42 1000 307200 2900
3860384 dhh1995 E June 12, 2013, 12:18 p.m. OK GNU C++ TESTS 42 1000 512000 2900
3850401 vjudge2 E June 9, 2013, 11:17 a.m. OK GNU C++ TESTS 42 1000 512000 2900
4141995 PeterTong97 E July 23, 2013, 3:56 p.m. OK GNU C++ TESTS 42 1015 512000 2900
3850515 smxrwzdx E June 9, 2013, noon OK GNU C++ TESTS 42 1015 512000 2900
3852382 zhj E June 10, 2013, 1:50 a.m. OK GNU C++ TESTS 42 1015 614400 2900
3846539 BSBandme E June 8, 2013, 10:30 a.m. OK GNU C++ TESTS 42 1015 2150400 2900
3843754 rng_58 E June 7, 2013, 6:59 p.m. OK GNU C++ TESTS 42 1046 409600 2900
8170776 wwx E Oct. 11, 2014, 3:49 a.m. OK GNU C++ TESTS 42 1092 409600 2900
3847660 error202 E June 8, 2013, 3:24 p.m. OK GNU C++0x TESTS 42 1046 716800 2900
3851855 vlad107 E June 9, 2013, 7:19 p.m. OK GNU C++0x TESTS 42 2015 512000 2900
6164612 niquefa_diego E March 28, 2014, 3:08 a.m. OK GNU C++0x TESTS 42 2090 512000 2900
6164617 niquefa_diego E March 28, 2014, 3:11 a.m. OK GNU C++0x TESTS 42 2120 512000 2900
8807416 -XraY- E Nov. 22, 2014, 10:42 p.m. OK GNU C++0x TESTS 42 2246 921600 2900
8807395 -XraY- E Nov. 22, 2014, 10:37 p.m. OK GNU C++0x TESTS 42 2776 921600 2900
4282249 andreihh E Aug. 15, 2013, 1:28 p.m. OK GNU C++0x TESTS 42 2808 512000 2900
9329319 equation314 E Dec. 31, 2014, 2:46 a.m. OK GNU C++0x TESTS 42 3150 512000 2900
8282357 zshi E Oct. 17, 2014, 1:46 p.m. OK GNU C++0x TESTS 42 3274 1843200 2900
4042189 harhrayr E July 9, 2013, 11:26 a.m. OK GNU C++0x TESTS 42 3453 512000 2900
48952916 vjudge2 E Jan. 26, 2019, 1:52 a.m. OK GNU C++11 TESTS 42 936 307200 2900
47838965 skywalkert E Jan. 2, 2019, 10:33 a.m. OK GNU C++11 TESTS 42 936 512000 2900
57895845 lopare E July 28, 2019, 1:32 p.m. OK GNU C++11 TESTS 42 1058 102400 2900
65540156 JCC_ E Nov. 22, 2019, 3:29 p.m. OK GNU C++11 TESTS 42 1060 1024000 2900
64640089 Zward E Nov. 10, 2019, 12:51 p.m. OK GNU C++11 TESTS 42 1060 1024000 2900
56973837 luogu_bot2 E July 13, 2019, 11:25 a.m. OK GNU C++11 TESTS 42 1090 512000 2900
57821047 py_ultron E July 26, 2019, 11:14 p.m. OK GNU C++11 TESTS 42 1092 102400 2900
64357740 luogu_bot1 E Nov. 6, 2019, 10:49 a.m. OK GNU C++11 TESTS 42 1092 512000 2900
59654470 luogu_bot4 E Aug. 29, 2019, 9:43 a.m. OK GNU C++11 TESTS 42 1092 921600 2900
59652599 luogu_bot2 E Aug. 29, 2019, 8:55 a.m. OK GNU C++11 TESTS 42 1122 921600 2900
49990311 Amorphophallus E Feb. 16, 2019, 12:29 p.m. OK GNU C++14 TESTS 42 624 512000 2900
49990060 Amorphophallus E Feb. 16, 2019, 12:22 p.m. OK GNU C++14 TESTS 42 934 512000 2900
49989837 Amorphophallus E Feb. 16, 2019, 12:15 p.m. OK GNU C++14 TESTS 42 936 512000 2900
56391604 Scut82 E July 1, 2019, 12:48 p.m. OK GNU C++14 TESTS 42 936 1740800 2900
25363596 DEGwer E March 9, 2017, 3:39 p.m. OK GNU C++14 TESTS 42 1184 2867200 2900
23511952 jasonvictoryan E Jan. 3, 2017, 7:47 a.m. OK GNU C++14 TESTS 42 1404 2867200 2900
62098257 vjudge4 E Oct. 8, 2019, 8:15 a.m. OK GNU C++14 TESTS 42 1434 716800 2900
43480011 attack233 E Sept. 27, 2018, 6:24 a.m. OK GNU C++14 TESTS 42 1434 819200 2900
37525675 nickluo E April 22, 2018, 1:55 a.m. OK GNU C++14 TESTS 42 1434 4300800 2900
37513387 vjudge3 E April 21, 2018, 12:16 p.m. OK GNU C++14 TESTS 42 1434 4300800 2900
49991311 chenmingyu E Feb. 16, 2019, 12:58 p.m. OK GNU C++17 TESTS 42 936 512000 2900
49991425 chenmingyu E Feb. 16, 2019, 1 p.m. OK GNU C++17 TESTS 42 966 512000 2900
37593730 BackOnTrack E April 25, 2018, 10:38 a.m. OK GNU C++17 TESTS 42 1340 4710400 2900
41968538 BackOnTrack E Aug. 22, 2018, 1:40 p.m. OK GNU C++17 TESTS 42 1370 1024000 2900
37593760 BackOnTrack E April 25, 2018, 10:39 a.m. OK GNU C++17 TESTS 42 1372 4608000 2900
37628571 purple_sun E April 26, 2018, 8:26 a.m. OK GNU C++17 TESTS 42 1402 3686400 2900
37512357 BackOnTrack E April 21, 2018, 11:24 a.m. OK GNU C++17 TESTS 42 1402 4710400 2900
37543149 the_silliest E April 23, 2018, 2:19 a.m. OK GNU C++17 TESTS 42 1404 4300800 2900
53308564 ruo E April 26, 2019, 4:48 a.m. OK GNU C++17 TESTS 42 1434 512000 2900
43235141 BackOnTrack E Sept. 22, 2018, 7:47 a.m. OK GNU C++17 TESTS 42 1434 1024000 2900
3848757 niyaznigmatul E June 8, 2013, 9:14 p.m. OK Java 7 TESTS 42 2937 0 2900
3844273 cerealguy E June 7, 2013, 9:45 p.m. OK MS C++ TESTS 42 437 307200 2900
3844261 cerealguy E June 7, 2013, 9:38 p.m. OK MS C++ TESTS 42 593 307200 2900
3844231 cerealguy E June 7, 2013, 9:22 p.m. OK MS C++ TESTS 42 593 307200 2900
3844270 cerealguy E June 7, 2013, 9:43 p.m. OK MS C++ TESTS 42 609 307200 2900
3844242 cerealguy E June 7, 2013, 9:27 p.m. OK MS C++ TESTS 42 625 307200 2900
40989835 ReaLNero1 E July 30, 2018, 11:20 p.m. OK MS C++ TESTS 42 654 307200 2900
3844199 cerealguy E June 7, 2013, 9:06 p.m. OK MS C++ TESTS 42 875 307200 2900
3844183 cerealguy E June 7, 2013, 8:55 p.m. OK MS C++ TESTS 42 1015 307200 2900
24447325 Bubble_age E Feb. 5, 2017, 8:29 a.m. OK MS C++ TESTS 42 1622 2969600 2900
24447176 Bubble_age E Feb. 5, 2017, 8:19 a.m. OK MS C++ TESTS 42 1652 2969600 2900

remove filters

Back to search problems