Codeforces Round 196 (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
338 Codeforces Round 196 (Div. 1) FINISHED False 7200 355154399 Aug. 16, 2013, 4 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1000 ) E Optimize! PROGRAMMING data structures 2600

B"Manao is solving a problem with the following statement: He came up with a solution that produces the correct answers but is too slow. You are given the pseudocode of his solution, where the function getAnswer calculates the answer to the problem: Your task is to help Manao optimize his algorithm. The first line contains space-separated integers n, len and h (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89len xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89150000; 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89h xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109). The second line contains len space-separated integers b1, xe2 x80 x89b2, xe2 x80 x89..., xe2 x80 x89blen (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89bi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109). The third line contains n space-separated 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 x89109). Print a single number -- the answer to Manao's problem."...

Tutorials

Codeforces Round #196 — Problems Analysis

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
4322746 STArtanis E Aug. 22, 2013, 6:31 a.m. OK FPC TESTS 21 280 11980800 2600
4327446 zscnash E Aug. 23, 2013, 5:15 a.m. OK FPC TESTS 21 280 18022400 2600
4363047 PeterTong97 E Aug. 28, 2013, 4:19 p.m. OK FPC TESTS 21 312 11980800 2600
4324906 zscc E Aug. 22, 2013, 4:24 p.m. OK FPC TESTS 21 312 18022400 2600
4295705 Alex_2oo8 E Aug. 16, 2013, 5:37 p.m. OK FPC TESTS 21 936 254259200 2600
4304224 svsfzhc E Aug. 17, 2013, 3:11 p.m. OK GNU C TESTS 21 280 11468800 2600
40989600 ReaLNero1 E July 30, 2018, 11:05 p.m. OK GNU C++ TESTS 21 77 6656000 2600
21358914 lichang E Oct. 11, 2016, 12:50 p.m. OK GNU C++ TESTS 21 78 8704000 2600
17529493 maijing E April 26, 2016, 11:53 p.m. OK GNU C++ TESTS 21 78 8704000 2600
42241056 paulzrm E Aug. 29, 2018, 12:36 p.m. OK GNU C++ TESTS 21 93 6553600 2600
41882890 xymtxdy E Aug. 20, 2018, 2:21 a.m. OK GNU C++ TESTS 21 93 8396800 2600
17370965 mxh1999 E April 18, 2016, 3:18 a.m. OK GNU C++ TESTS 21 93 10649600 2600
42241143 gaofeiji E Aug. 29, 2018, 12:39 p.m. OK GNU C++ TESTS 21 108 6758400 2600
42241108 paulzrm E Aug. 29, 2018, 12:38 p.m. OK GNU C++ TESTS 21 108 6758400 2600
41882515 xymtxdy E Aug. 20, 2018, 2:10 a.m. OK GNU C++ TESTS 21 108 8396800 2600
41928335 Scut82 E Aug. 21, 2018, 8:38 a.m. OK GNU C++ TESTS 21 109 6041600 2600
10093142 LiTi E March 1, 2015, 7:56 a.m. OK GNU C++0x TESTS 21 156 6041600 2600
9910024 arthur.nascimento E Feb. 18, 2015, 4:57 a.m. OK GNU C++0x TESTS 21 217 10956800 2600
4309314 wanbo E Aug. 18, 2013, 3:56 p.m. OK GNU C++0x TESTS 21 218 6656000 2600
4309411 wanbo E Aug. 18, 2013, 4:24 p.m. OK GNU C++0x TESTS 21 248 6656000 2600
4296355 kraskevich E Aug. 16, 2013, 5:47 p.m. OK GNU C++0x TESTS 21 248 6656000 2600
4294219 MainDullMoeHand E Aug. 16, 2013, 5:16 p.m. OK GNU C++0x TESTS 21 248 6656000 2600
4325287 harhrayr E Aug. 22, 2013, 6:20 p.m. OK GNU C++0x TESTS 21 248 10854400 2600
10262666 SeyedParsa E March 13, 2015, 8:16 p.m. OK GNU C++0x TESTS 21 249 6041600 2600
10298329 M.Mahdi E March 16, 2015, 9:52 a.m. OK GNU C++0x TESTS 21 249 12595200 2600
8950058 soda_beta E Dec. 3, 2014, 9:09 a.m. OK GNU C++0x TESTS 21 280 3584000 2600
27346998 FizzyDavid E May 26, 2017, 1:31 a.m. OK GNU C++11 TESTS 21 78 6656000 2600
54846985 luogu_bot4 E May 30, 2019, 2:28 p.m. OK GNU C++11 TESTS 21 78 11468800 2600
54845455 luogu_bot1 E May 30, 2019, 1:39 p.m. OK GNU C++11 TESTS 21 78 11468800 2600
54845364 Dilute E May 30, 2019, 1:37 p.m. OK GNU C++11 TESTS 21 78 11468800 2600
51993288 S.A.R E March 29, 2019, 10:02 p.m. OK GNU C++11 TESTS 21 93 6656000 2600
31909016 xy20130630 E Oct. 31, 2017, 2:08 a.m. OK GNU C++11 TESTS 21 93 8806400 2600
27338481 ohweonfire E May 25, 2017, 2:14 p.m. OK GNU C++11 TESTS 21 93 10854400 2600
38601885 cuizhuyefei E May 25, 2018, 6:28 a.m. OK GNU C++11 TESTS 21 93 10956800 2600
54845419 Dilute E May 30, 2019, 1:38 p.m. OK GNU C++11 TESTS 21 93 11468800 2600
54845339 Dilute E May 30, 2019, 1:36 p.m. OK GNU C++11 TESTS 21 93 11468800 2600
44037460 Noam527 E Oct. 9, 2018, 1:27 p.m. OK GNU C++14 TESTS 21 124 3072000 2600
54235821 NotNight E May 16, 2019, 10:46 a.m. OK GNU C++14 TESTS 21 124 8806400 2600
47598314 vjudge2 E Dec. 27, 2018, 7:59 p.m. OK GNU C++14 TESTS 21 140 7987200 2600
49115580 tusg25 E Jan. 28, 2019, 4:48 p.m. OK GNU C++14 TESTS 21 155 5222400 2600
59704377 BamiTorabi E Aug. 30, 2019, 12:02 p.m. OK GNU C++14 TESTS 21 155 6041600 2600
42241263 naive_wcx E Aug. 29, 2018, 12:42 p.m. OK GNU C++14 TESTS 21 155 6041600 2600
47598268 NullByte E Dec. 27, 2018, 7:57 p.m. OK GNU C++14 TESTS 21 155 7987200 2600
36291538 m.r.m E March 15, 2018, 6:27 a.m. OK GNU C++14 TESTS 21 155 10035200 2600
23563678 Ali.Pi E Jan. 5, 2017, 10:09 p.m. OK GNU C++14 TESTS 21 155 11468800 2600
42230944 tender_green E Aug. 29, 2018, 6:38 a.m. OK GNU C++14 TESTS 21 156 6041600 2600
51993179 S.A.R E March 29, 2019, 9:55 p.m. OK GNU C++17 TESTS 21 109 6656000 2600
65277039 hjk1030 E Nov. 18, 2019, 2:20 a.m. OK GNU C++17 TESTS 21 140 6041600 2600
67422634 yan.silva E Dec. 22, 2019, 12:17 p.m. OK GNU C++17 TESTS 21 140 6656000 2600
56075078 AliShahali1382 E June 26, 2019, 12:26 p.m. OK GNU C++17 TESTS 21 140 6656000 2600
69986363 yura08 E Feb. 1, 2020, 5:56 p.m. OK GNU C++17 TESTS 21 140 8806400 2600
54630258 ruo E May 25, 2019, 2:05 p.m. OK GNU C++17 TESTS 21 155 6041600 2600
56075185 AliShahali1382 E June 26, 2019, 12:29 p.m. OK GNU C++17 TESTS 21 155 6656000 2600
49499170 Grapeee E Feb. 5, 2019, 2:20 p.m. OK GNU C++17 TESTS 21 155 8089600 2600
49119371 abhishek_20123 E Jan. 28, 2019, 6:29 p.m. OK GNU C++17 TESTS 21 156 5529600 2600
61517364 VodkaInTheJar E Sept. 29, 2019, 5:59 p.m. OK GNU C++17 TESTS 21 156 7065600 2600
4298450 uwi E Aug. 16, 2013, 6:25 p.m. OK Java 6 TESTS 21 404 0 2600
4318702 mmaxio E Aug. 21, 2013, 7:18 a.m. OK Java 7 TESTS 21 498 2969600 2600
4293941 ilyakor E Aug. 16, 2013, 5:12 p.m. OK Java 7 TESTS 21 592 102400 2600
4302344 gojira E Aug. 17, 2013, 8:55 a.m. OK Java 7 TESTS 21 2214 409600 2600
44710171 gazaan E Oct. 22, 2018, 6:29 p.m. OK Java 8 TESTS 21 249 5427200 2600
39277085 rzhan11 E June 16, 2018, 1:33 a.m. OK Java 8 TESTS 21 498 18432000 2600
11923790 absi2011 E July 4, 2015, 2:35 p.m. OK MS C++ TESTS 21 140 5427200 2600
15489876 pseudo E Jan. 22, 2016, 3:27 a.m. OK MS C++ TESTS 21 155 8396800 2600
4313270 lzsb E Aug. 19, 2013, 5:22 p.m. OK MS C++ TESTS 21 248 13107200 2600
4401125 oppsitre E Sept. 3, 2013, 12:14 p.m. OK MS C++ TESTS 21 280 5939200 2600
4313283 lost3030 E Aug. 19, 2013, 5:25 p.m. OK MS C++ TESTS 21 312 14336000 2600
11908648 vitux E July 3, 2015, 9:26 a.m. OK MS C++ TESTS 21 342 5222400 2600
4313343 lost3030 E Aug. 19, 2013, 5:43 p.m. OK MS C++ TESTS 21 342 14336000 2600
20100011 yangxinthu E Aug. 24, 2016, 7:05 a.m. OK MS C++ TESTS 21 343 8089600 2600
4297161 White_Bear E Aug. 16, 2013, 5:58 p.m. OK MS C++ TESTS 21 404 17817600 2600
37694855 Spitsnaz E April 28, 2018, 8:33 p.m. OK MS C++ TESTS 21 436 6144000 2600

remove filters

Back to search problems