Codeforces Round 249 (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
435 Codeforces Round 249 (Div. 2) FINISHED False 7200 336234597 May 30, 2014, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2587 ) C Cardiogram PROGRAMMING implementation 1600

B"In this problem, your task is to use ASCII graphics to paint a cardiogram. A cardiogram is a polyline with the following corners: That is, a cardiogram is fully defined by a sequence of positive integers a1, xe2 x80 x89a2, xe2 x80 x89..., xe2 x80 x89an. Your task is to paint a cardiogram by given sequence ai. The first line contains integer n (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000). The next line contains the sequence of integers a1, xe2 x80 x89a2, xe2 x80 x89..., xe2 x80 x89an (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000). It is guaranteed that the sum of all ai doesn't exceed 1000. Print max |yi xe2 x80 x89- xe2 x80 x89yj| lines (where yk is the y coordinate of the k-th point of the polyline), in each line print characters. Each character must equal either xc2 xab xe2 x80 x89/ xe2 x80 x89 xc2 xbb (slash), xc2 xab xc2 xbb (backslash), xc2 xab xc2 xbb (space). The printed image must be the image of the given polyline. Please study the test samples for better understanding of how to print a cardiogram. Note that in this problem the checker checks your answer taking spaces into consideration. Do not print any extra characters. Remember that the wrong answer to the first pretest doesn't give you a penalty. Due to the technical reasons the answers for the samples cannot be copied from the statement. We've attached two text documents with the answers below. http://assets.codeforces.com/rounds/435/1.txt http://assets.codeforces.com/rounds/435/2.txt"...

Tutorials

Codeforces Round #249 (Div. 2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
6755792 xfce8888 C May 31, 2014, 8:14 a.m. OK Delphi TESTS 46 30 2048000 1600
6958397 MRedor C June 25, 2014, 2:30 p.m. OK Delphi TESTS 46 31 2048000 1600
6757476 M0sTik C May 31, 2014, 1:54 p.m. OK Delphi TESTS 46 31 2048000 1600
6750920 PAG C May 30, 2014, 5:24 p.m. OK Delphi TESTS 46 31 2048000 1600
6744783 Maestr0 C May 30, 2014, 3:54 p.m. OK Delphi TESTS 46 31 2048000 1600
6744699 iamnotfake C May 30, 2014, 3:53 p.m. OK Delphi TESTS 46 31 2048000 1600
6751440 Casio C May 30, 2014, 5:41 p.m. OK Delphi TESTS 46 31 2457600 1600
12267396 igdor99 C July 29, 2015, 5:16 p.m. OK Delphi TESTS 46 31 3993600 1600
6754735 artem1416 C May 31, 2014, 4:39 a.m. OK Delphi TESTS 46 31 4096000 1600
6751764 yevhenii44 C May 30, 2014, 5:52 p.m. OK Delphi TESTS 46 31 4096000 1600
6763465 minhhoang97 C June 1, 2014, 9:37 a.m. OK FPC TESTS 46 15 1228800 1600
6754106 pqhuy98 C May 31, 2014, 2:19 a.m. OK FPC TESTS 46 15 8396800 1600
6755967 acoehu C May 31, 2014, 8:42 a.m. OK FPC TESTS 46 30 1228800 1600
6779356 graceoflives C June 2, 2014, 5:14 a.m. OK FPC TESTS 46 31 1228800 1600
6754212 farizazmip C May 31, 2014, 2:35 a.m. OK FPC TESTS 46 31 1228800 1600
6748860 HeyGuys C May 30, 2014, 4:45 p.m. OK FPC TESTS 46 31 1228800 1600
6763141 Duc_cmn_Le C June 1, 2014, 8:23 a.m. OK FPC TESTS 46 31 1843200 1600
7850442 ongvuacon C Sept. 19, 2014, 9:23 a.m. OK FPC TESTS 46 31 2764800 1600
7055264 WARenie C July 9, 2014, 8:58 p.m. OK FPC TESTS 46 31 2969600 1600
6755040 xrz199721 C May 31, 2014, 5:47 a.m. OK FPC TESTS 46 31 6553600 1600
6755089 sdlzx C May 31, 2014, 5:56 a.m. OK GNU C TESTS 46 15 1024000 1600
6747144 sdlzx C May 30, 2014, 4:20 p.m. OK GNU C TESTS 46 15 1024000 1600
6750825 EKASMA C May 30, 2014, 5:22 p.m. OK GNU C TESTS 46 15 1228800 1600
6751381 coderbd C May 30, 2014, 5:39 p.m. OK GNU C TESTS 46 15 2048000 1600
6749778 p0ff C May 30, 2014, 5:01 p.m. OK GNU C TESTS 46 15 4403200 1600
20485345 rainboy C Sept. 9, 2016, 7:34 p.m. OK GNU C TESTS 46 30 50176000 1600
6780658 mikeCAT C June 2, 2014, 8:50 a.m. OK GNU C TESTS 46 31 0 1600
6747695 sgtlaugh C May 30, 2014, 4:27 p.m. OK GNU C TESTS 46 31 9113600 1600
14547144 Mohamed_AboBakr C Nov. 28, 2015, 7:33 p.m. OK GNU C TESTS 46 46 1024000 1600
6814743 Aritra C June 4, 2014, 10:15 p.m. OK GNU C TESTS 46 46 1024000 1600
31257667 Anisharma C Oct. 12, 2017, 6:14 p.m. OK GNU C++ TESTS 46 15 0 1600
7295191 dhaw92 C July 30, 2014, 7:57 p.m. OK GNU C++ TESTS 46 15 0 1600
6834495 mivael C June 7, 2014, 11:30 p.m. OK GNU C++ TESTS 46 15 0 1600
6756217 mopodao C May 31, 2014, 9:28 a.m. OK GNU C++ TESTS 46 15 0 1600
6756184 mopodao C May 31, 2014, 9:23 a.m. OK GNU C++ TESTS 46 15 0 1600
6750055 senwil2 C May 30, 2014, 5:07 p.m. OK GNU C++ TESTS 46 15 0 1600
6749351 vermen C May 30, 2014, 4:53 p.m. OK GNU C++ TESTS 46 15 0 1600
6743057 TankEngineer C May 30, 2014, 3:41 p.m. OK GNU C++ TESTS 46 15 0 1600
6759102 sven C May 31, 2014, 10:02 p.m. OK GNU C++ TESTS 46 15 204800 1600
6752504 enrevol C May 30, 2014, 6:58 p.m. OK GNU C++ TESTS 46 15 204800 1600
8239588 tuna_salad C Oct. 15, 2014, 4:45 p.m. OK GNU C++0x TESTS 46 15 204800 1600
6745108 MrDindows C May 30, 2014, 3:57 p.m. OK GNU C++0x TESTS 46 15 819200 1600
6986192 EarlOfDitches C June 30, 2014, 12:55 p.m. OK GNU C++0x TESTS 46 15 1024000 1600
6754875 killer.z C May 31, 2014, 5:13 a.m. OK GNU C++0x TESTS 46 15 1024000 1600
6753797 yuusti C May 31, 2014, 1:03 a.m. OK GNU C++0x TESTS 46 15 1024000 1600
6750790 cdkrot C May 30, 2014, 5:21 p.m. OK GNU C++0x TESTS 46 15 1024000 1600
6749508 Kondrat_Voronov C May 30, 2014, 4:56 p.m. OK GNU C++0x TESTS 46 15 1024000 1600
6748808 Baby_Steps C May 30, 2014, 4:44 p.m. OK GNU C++0x TESTS 46 15 1024000 1600
6748379 akulinich C May 30, 2014, 4:37 p.m. OK GNU C++0x TESTS 46 15 1024000 1600
6748282 sokian C May 30, 2014, 4:35 p.m. OK GNU C++0x TESTS 46 15 1024000 1600
30947463 RNS_KSB C Oct. 2, 2017, 3:54 p.m. OK GNU C++11 TESTS 46 15 0 1600
22648976 islamtaha C Dec. 1, 2016, 9:45 p.m. OK GNU C++11 TESTS 46 15 1024000 1600
21108217 OmarHashim C Oct. 2, 2016, 7:37 a.m. OK GNU C++11 TESTS 46 15 1024000 1600
15915661 Velter C Feb. 9, 2016, 2:17 p.m. OK GNU C++11 TESTS 46 15 1024000 1600
30575745 Ahmad__ C Sept. 21, 2017, 11:41 a.m. OK GNU C++11 TESTS 46 15 1228800 1600
20541055 sjkelleyjr C Sept. 11, 2016, 10:36 p.m. OK GNU C++11 TESTS 46 15 1331200 1600
15909348 yongwhan C Feb. 9, 2016, 10:18 a.m. OK GNU C++11 TESTS 46 15 1331200 1600
14563772 merolish C Nov. 29, 2015, 10:09 p.m. OK GNU C++11 TESTS 46 15 1331200 1600
15445166 ADIEU C Jan. 19, 2016, 11:50 p.m. OK GNU C++11 TESTS 46 15 2048000 1600
11517919 Lingsong C June 10, 2015, 7:13 a.m. OK GNU C++11 TESTS 46 15 2048000 1600
30609468 DiaaEddin C Sept. 22, 2017, 8:37 a.m. OK GNU C++14 TESTS 46 15 1228800 1600
30306647 mahmoud2407 C Sept. 13, 2017, 12:23 p.m. OK GNU C++14 TESTS 46 15 2048000 1600
29101884 vode C Aug. 1, 2017, 1:32 p.m. OK GNU C++14 TESTS 46 15 2969600 1600
35804219 waynetuinfor C March 1, 2018, 6:58 a.m. OK GNU C++14 TESTS 46 15 5222400 1600
34715730 grands C Jan. 30, 2018, 4:37 p.m. OK GNU C++14 TESTS 46 15 11980800 1600
41733854 Bekh C Aug. 18, 2018, 1:05 a.m. OK GNU C++14 TESTS 46 30 1024000 1600
20933356 wewark C Sept. 26, 2016, 7:33 p.m. OK GNU C++14 TESTS 46 30 2355200 1600
30233593 Wolf. C Sept. 9, 2017, 8:21 p.m. OK GNU C++14 TESTS 46 31 204800 1600
47418177 artur.socha C Dec. 23, 2018, 2:33 p.m. OK GNU C++14 TESTS 46 31 1024000 1600
41733916 Bekh C Aug. 18, 2018, 1:07 a.m. OK GNU C++14 TESTS 46 31 1024000 1600
35766011 112 C Feb. 27, 2018, 2:43 p.m. OK GNU C++17 TESTS 46 15 3174400 1600
41084462 Mohamed.Sobhy C Aug. 1, 2018, 1:33 p.m. OK GNU C++17 TESTS 46 31 204800 1600
41083764 Mohamed.Sobhy C Aug. 1, 2018, 1:14 p.m. OK GNU C++17 TESTS 46 31 204800 1600
39025890 Photon_ C June 7, 2018, 3:39 p.m. OK GNU C++17 TESTS 46 31 1024000 1600
39528028 safy97 C June 22, 2018, 9:11 p.m. OK GNU C++17 TESTS 46 31 1945600 1600
40729496 SoGood C July 25, 2018, 6:55 a.m. OK GNU C++17 TESTS 46 31 2355200 1600
46885386 A.samir.A C Dec. 10, 2018, 11:17 p.m. OK GNU C++17 TESTS 46 31 2662400 1600
38264542 filippos C May 15, 2018, 10:40 a.m. OK GNU C++17 TESTS 46 31 4403200 1600
41908372 dmkozyrev C Aug. 20, 2018, 3:57 p.m. OK GNU C++17 TESTS 46 31 6656000 1600
58507078 _overrated_ C Aug. 9, 2019, 4:58 p.m. OK GNU C++17 TESTS 46 31 21094400 1600
6995327 betaveros C July 2, 2014, 5:23 a.m. OK Haskell TESTS 46 61 1024000 1600
7545090 mkirsche C Aug. 21, 2014, 3:27 p.m. OK Java 6 TESTS 46 78 0 1600
6748580 thisisjustm3 C May 30, 2014, 4:40 p.m. OK Java 6 TESTS 46 93 0 1600
7358638 maitony C Aug. 6, 2014, 7:56 a.m. OK Java 6 TESTS 46 93 102400 1600
6891798 maxkvant C June 14, 2014, 6:52 p.m. OK Java 6 TESTS 46 109 0 1600
7194008 shoriful C July 21, 2014, 11:49 a.m. OK Java 6 TESTS 46 109 102400 1600
6759224 asilverstein C May 31, 2014, 10:46 p.m. OK Java 6 TESTS 46 109 102400 1600
7553453 nikunjbanka C Aug. 22, 2014, 3:11 p.m. OK Java 6 TESTS 46 124 0 1600
6752031 val C May 30, 2014, 6:08 p.m. OK Java 6 TESTS 46 139 102400 1600
6786094 haruki57 C June 3, 2014, 8:39 a.m. OK Java 6 TESTS 46 248 26419200 1600
6910491 dkc C June 19, 2014, 6:03 a.m. OK Java 6 TESTS 46 841 0 1600
8542836 megaspazz C Nov. 4, 2014, 5:26 a.m. OK Java 7 TESTS 46 77 0 1600
8532415 upsolving C Nov. 3, 2014, 7:58 a.m. OK Java 7 TESTS 46 77 0 1600
8370952 di_halt C Oct. 23, 2014, 7:17 p.m. OK Java 7 TESTS 46 77 0 1600
7340926 miguelmaurizio C Aug. 4, 2014, 12:43 a.m. OK Java 7 TESTS 46 77 0 1600
7236308 LuuNhatPhi C July 25, 2014, 12:49 a.m. OK Java 7 TESTS 46 77 0 1600
6749308 godmar C May 30, 2014, 4:52 p.m. OK Java 7 TESTS 46 77 0 1600
6746887 simenl C May 30, 2014, 4:17 p.m. OK Java 7 TESTS 46 77 0 1600
6746232 spartacus C May 30, 2014, 4:09 p.m. OK Java 7 TESTS 46 77 0 1600
6751803 ixxa C May 30, 2014, 5:54 p.m. OK Java 7 TESTS 46 78 0 1600
6751655 OnShuffle C May 30, 2014, 5:48 p.m. OK Java 7 TESTS 46 78 0 1600
9920215 niyaznigmatul C Feb. 18, 2015, 9:35 p.m. OK Java 8 TESTS 46 109 0 1600
22868916 Minaa C Dec. 11, 2016, 2:10 a.m. OK Java 8 TESTS 46 109 1331200 1600
31430669 VerticesEdge C Oct. 16, 2017, 6:51 p.m. OK Java 8 TESTS 46 109 20377600 1600
25419363 Hoda_Hisham C March 11, 2017, 9:36 p.m. OK Java 8 TESTS 46 109 20377600 1600
9439118 dumak C Jan. 15, 2015, 9:29 p.m. OK Java 8 TESTS 46 124 0 1600
23669301 EsraaSalah C Jan. 9, 2017, 6:48 p.m. OK Java 8 TESTS 46 124 20582400 1600
40502182 Batpro C July 18, 2018, 6:47 a.m. OK Java 8 TESTS 46 139 0 1600
20365870 Dukkha C Sept. 3, 2016, 4:16 p.m. OK Java 8 TESTS 46 139 0 1600
12702164 Abkreno94 C Aug. 26, 2015, 12:19 a.m. OK Java 8 TESTS 46 139 0 1600
10032068 essar C Feb. 26, 2015, 12:30 p.m. OK Java 8 TESTS 46 139 0 1600
6745945 Eeyore C May 30, 2014, 4:06 p.m. OK JavaScript TESTS 46 31 9625600 1600
6749817 igor.pisarev C May 30, 2014, 5:02 p.m. OK MS C# TESTS 46 46 7987200 1600
6746948 og.kostya C May 30, 2014, 4:17 p.m. OK MS C# TESTS 46 46 7987200 1600
6749408 kasarino C May 30, 2014, 4:54 p.m. OK MS C# TESTS 46 46 8192000 1600
6746746 AlexSam C May 30, 2014, 4:15 p.m. OK MS C# TESTS 46 61 7782400 1600
19743287 Sid_Adams C Aug. 9, 2016, 8:13 a.m. OK MS C# TESTS 46 61 12492800 1600
6758457 nick5 C May 31, 2014, 5:59 p.m. OK MS C# TESTS 46 62 4710400 1600
8301317 camypaper C Oct. 19, 2014, 8:04 a.m. OK MS C# TESTS 46 62 5017600 1600
6751773 roland_ C May 30, 2014, 5:53 p.m. OK MS C# TESTS 46 62 5939200 1600
6750573 Kavir C May 30, 2014, 5:17 p.m. OK MS C# TESTS 46 62 5939200 1600
6751634 scanhex C May 30, 2014, 5:47 p.m. OK MS C# TESTS 46 62 19558400 1600
6749874 ameolp C May 30, 2014, 5:03 p.m. OK MS C++ TESTS 46 15 0 1600
6751407 differ C May 30, 2014, 5:40 p.m. OK MS C++ TESTS 46 15 1024000 1600
6747164 wawawa C May 30, 2014, 4:20 p.m. OK MS C++ TESTS 46 15 1024000 1600
14200055 DeZi C Nov. 11, 2015, 5:54 p.m. OK MS C++ TESTS 46 15 1331200 1600
14200036 DeZi C Nov. 11, 2015, 5:53 p.m. OK MS C++ TESTS 46 15 1331200 1600
14200030 DeZi C Nov. 11, 2015, 5:53 p.m. OK MS C++ TESTS 46 15 1331200 1600
6755525 simpletest C May 31, 2014, 7:23 a.m. OK MS C++ TESTS 46 15 1331200 1600
6752271 Ghassan.Khazaal C May 30, 2014, 6:29 p.m. OK MS C++ TESTS 46 15 1331200 1600
6750546 GR1992 C May 30, 2014, 5:16 p.m. OK MS C++ TESTS 46 15 1331200 1600
6749856 ashkan_d13 C May 30, 2014, 5:03 p.m. OK MS C++ TESTS 46 15 1331200 1600
66620389 Samanter C Dec. 11, 2019, 6:41 a.m. OK MS C++ 2017 TESTS 46 218 3276800 1600
6747443 BC_ C May 30, 2014, 4:24 p.m. OK Ocaml TESTS 46 31 3788800 1600
11926105 mayakin C July 4, 2015, 7:06 p.m. OK PHP TESTS 46 202 1638400 1600
35805500 StillFantasy C March 1, 2018, 8:03 a.m. OK PyPy 3 TESTS 46 295 37888000 1600
49683984 r57shell C Feb. 10, 2019, 5:40 a.m. OK PyPy 3 TESTS 46 373 8704000 1600
7332519 saher.neklawy C Aug. 2, 2014, 7:11 p.m. OK Python 2 TESTS 46 62 2764800 1600
6745686 nwi C May 30, 2014, 4:03 p.m. OK Python 2 TESTS 46 62 6553600 1600
6750991 vadym_doroshenko C May 30, 2014, 5:25 p.m. OK Python 2 TESTS 46 77 4403200 1600
6745935 kit1980 C May 30, 2014, 4:05 p.m. OK Python 2 TESTS 46 78 5734400 1600
6850159 DDDDDDDDDDDDDDDDDDDDDDDD C June 8, 2014, 6:33 p.m. OK Python 2 TESTS 46 93 5324800 1600
6755325 nealzane C May 31, 2014, 6:49 a.m. OK Python 2 TESTS 46 93 8908800 1600
6754393 slowboris2go C May 31, 2014, 3:16 a.m. OK Python 2 TESTS 46 93 8908800 1600
6748816 roiti46 C May 30, 2014, 4:44 p.m. OK Python 2 TESTS 46 93 8908800 1600
6747028 ngochai94 C May 30, 2014, 4:18 p.m. OK Python 2 TESTS 46 93 8908800 1600
6746581 aosuka C May 30, 2014, 4:13 p.m. OK Python 2 TESTS 46 93 9420800 1600
6747973 ZhNV C May 30, 2014, 4:31 p.m. OK Python 3 TESTS 46 78 102400 1600
6759050 diselivanov C May 31, 2014, 9:34 p.m. OK Python 3 TESTS 46 93 1126400 1600
6746807 manoprenko C May 30, 2014, 4:16 p.m. OK Python 3 TESTS 46 93 4505600 1600
6747895 broomrider C May 30, 2014, 4:30 p.m. OK Python 3 TESTS 46 93 5632000 1600
6755072 m1_k3 C May 31, 2014, 5:52 a.m. OK Python 3 TESTS 46 93 8601600 1600
6755066 m1_k3 C May 31, 2014, 5:51 a.m. OK Python 3 TESTS 46 93 8601600 1600
6751116 Jakob37 C May 30, 2014, 5:27 p.m. OK Python 3 TESTS 46 124 5324800 1600
10655998 CHVRCHES C April 11, 2015, 8:49 a.m. OK Python 3 TESTS 46 124 8601600 1600
7281612 Dwayne C July 29, 2014, 1:44 a.m. OK Python 3 TESTS 46 124 8704000 1600
6756018 yugle7 C May 31, 2014, 8:51 a.m. OK Python 3 TESTS 46 124 8704000 1600
7563667 knight-erraunt C Aug. 23, 2014, 11:51 p.m. OK Ruby TESTS 46 124 5529600 1600
7271897 yusuf.saber C July 27, 2014, 9:01 p.m. OK Ruby TESTS 46 233 55500800 1600
6751619 gojira C May 30, 2014, 5:47 p.m. OK Scala TESTS 46 280 0 1600
6745456 limed C May 30, 2014, 4:01 p.m. OK Scala TESTS 46 296 102400 1600

remove filters

Back to search problems