Codeforces Round #FF (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
446 Codeforces Round #FF (Div. 1) FINISHED False 7200 331923563 July 13, 2014, 1 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3614 ) B DZY Loves Modification PROGRAMMING brute force data structures greedy 2100

B'As we know, DZY loves playing games. One day DZY decided to play with a n xe2 x80 x89 xc3 x97 xe2 x80 x89m matrix. To be more precise, he decided to modify the matrix with exactly k operations. Each modification is one of the following: DZY wants to know: what is the largest total value of pleasure he could get after performing exactly k modifications? Please, help him to calculate this value. The first line contains four space-separated integers n, xe2 x80 x89m, xe2 x80 x89k and p (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89103; 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106; 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89p xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100). Then n lines follow. Each of them contains m integers representing aij (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89aij xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89103) -- the elements of the current row of the matrix. Output a single integer -- the maximum possible total pleasure value DZY could get. For the first sample test, we can modify: column 2, row 2. After that the matrix becomes: For the second sample test, we can modify: column 2, row 2, row 1, column 1, column 2. After that the matrix becomes:'...

Tutorials

Codeforces Round #FF(255) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
7355583 hos.lyric B Aug. 5, 2014, 7:22 p.m. OK D TESTS 23 420 31641600 2100
7099786 izuru B July 14, 2014, 11:09 a.m. OK D TESTS 23 1637 27750400 2100
7576327 vjudge1 B Aug. 26, 2014, 1:46 a.m. OK FPC TESTS 23 295 28057600 2100
7090627 weizhaohui B July 13, 2014, 3:41 p.m. OK FPC TESTS 23 295 28057600 2100
8167903 Hoblovski B Oct. 10, 2014, 4:46 p.m. OK FPC TESTS 23 343 16076800 2100
7577840 vjudge5 B Aug. 26, 2014, 7:23 a.m. OK FPC TESTS 23 358 16076800 2100
7571954 Archer_C B Aug. 25, 2014, 9:53 a.m. OK FPC TESTS 23 373 24064000 2100
7576417 HXT B Aug. 26, 2014, 2:03 a.m. OK FPC TESTS 23 374 24064000 2100
7576593 vjudge3 B Aug. 26, 2014, 2:35 a.m. OK FPC TESTS 23 390 24064000 2100
7856415 Hoblovski B Sept. 19, 2014, 4:31 p.m. OK FPC TESTS 23 405 16076800 2100
39738540 chaorenhaha B June 28, 2018, 9:39 a.m. OK FPC TESTS 23 405 48128000 2100
7576833 HXT B Aug. 26, 2014, 3:39 a.m. OK FPC TESTS 23 420 48128000 2100
18053758 TsReaper B May 24, 2016, 10:33 a.m. OK GNU C TESTS 23 327 22220800 2100
24604205 qianlisijun B Feb. 12, 2017, 8:18 a.m. OK GNU C TESTS 23 358 21913600 2100
7109642 crccw B July 15, 2014, 1:56 p.m. OK GNU C TESTS 23 420 20172800 2100
40988274 ReaLNero1 B July 30, 2018, 9:51 p.m. OK GNU C++ TESTS 23 139 20172800 2100
7099319 Maxim B July 14, 2014, 10:09 a.m. OK GNU C++ TESTS 23 171 16076800 2100
7097066 Nika86 B July 14, 2014, 5:14 a.m. OK GNU C++ TESTS 23 171 16076800 2100
7298596 curabis B July 31, 2014, 10:02 a.m. OK GNU C++ TESTS 23 171 22528000 2100
7099482 krijgertje B July 14, 2014, 10:31 a.m. OK GNU C++ TESTS 23 171 28057600 2100
7086563 V--o_o--V B July 13, 2014, 2:27 p.m. OK GNU C++ TESTS 23 187 24166400 2100
7095461 FancyCoder B July 14, 2014, 12:56 a.m. OK GNU C++ TESTS 23 202 8908800 2100
7663287 thesilione B Sept. 1, 2014, 6:52 p.m. OK GNU C++ TESTS 23 202 16076800 2100
7079913 flashmt B July 13, 2014, 1:31 p.m. OK GNU C++ TESTS 23 202 16076800 2100
19576528 vjudge3 B Aug. 2, 2016, 9:41 a.m. OK GNU C++ TESTS 23 202 17715200 2100
7115549 cinderela B July 16, 2014, 11:22 a.m. OK GNU C++0x TESTS 23 140 16076800 2100
7082362 bill125 B July 13, 2014, 1:49 p.m. OK GNU C++0x TESTS 23 202 20172800 2100
7116266 JoriQ B July 16, 2014, 12:57 p.m. OK GNU C++0x TESTS 23 217 16076800 2100
7102878 MinakoKojima B July 14, 2014, 5:18 p.m. OK GNU C++0x TESTS 23 217 24166400 2100
9369681 alexpizarroj B Jan. 6, 2015, 4:55 a.m. OK GNU C++0x TESTS 23 218 20070400 2100
7087703 howsiwei B July 13, 2014, 2:38 p.m. OK GNU C++0x TESTS 23 218 20377600 2100
7252701 step5 B July 26, 2014, 8:53 p.m. OK GNU C++0x TESTS 23 233 24371200 2100
7143391 alculquicondor B July 18, 2014, 2:11 a.m. OK GNU C++0x TESTS 23 234 16076800 2100
7083741 YYOne B July 13, 2014, 2:01 p.m. OK GNU C++0x TESTS 23 249 12902400 2100
7183230 yuusti B July 20, 2014, 4:34 a.m. OK GNU C++0x TESTS 23 249 16076800 2100
44991567 Hany01 B Oct. 28, 2018, 1:09 p.m. OK GNU C++11 TESTS 23 93 20275200 2100
45159009 SovietPower B Nov. 1, 2018, 7:17 a.m. OK GNU C++11 TESTS 23 186 8192000 2100
45160948 luogu_bot4 B Nov. 1, 2018, 9:04 a.m. OK GNU C++11 TESTS 23 186 24064000 2100
69089589 luogu_bot2 B Jan. 19, 2020, 9:38 a.m. OK GNU C++11 TESTS 23 186 24166400 2100
48391194 vjudge4 B Jan. 14, 2019, 3:24 p.m. OK GNU C++11 TESTS 23 186 25190400 2100
65178571 luogu_bot2 B Nov. 16, 2019, 2:58 p.m. OK GNU C++11 TESTS 23 186 32460800 2100
52776942 menjiantong B April 15, 2019, 12:27 p.m. OK GNU C++11 TESTS 23 186 104448000 2100
53866991 anand B May 8, 2019, 5:09 a.m. OK GNU C++11 TESTS 23 187 16076800 2100
45123438 vjudge5 B Oct. 31, 2018, 6:31 a.m. OK GNU C++11 TESTS 23 187 16076800 2100
11614398 wdk B June 17, 2015, 3:23 a.m. OK GNU C++11 TESTS 23 187 20480000 2100
45189542 nickluo B Nov. 2, 2018, 12:08 a.m. OK GNU C++14 TESTS 23 187 24268800 2100
44900409 waynetuinfor B Oct. 26, 2018, 8:50 a.m. OK GNU C++14 TESTS 23 311 20070400 2100
31905821 Svlad_Cjelli B Oct. 30, 2017, 9:07 p.m. OK GNU C++14 TESTS 23 311 20172800 2100
66575544 Pi-nan B Dec. 10, 2019, 7:08 a.m. OK GNU C++14 TESTS 23 311 20377600 2100
66438137 dp_n_k B Dec. 7, 2019, 7 a.m. OK GNU C++14 TESTS 23 311 20377600 2100
59824885 Vishal_00_7 B Aug. 31, 2019, 7 p.m. OK GNU C++14 TESTS 23 312 20377600 2100
52637220 Mindjolt B April 12, 2019, 10:46 a.m. OK GNU C++14 TESTS 23 312 20377600 2100
28969034 hongjun-7 B July 29, 2017, 11:35 a.m. OK GNU C++14 TESTS 23 312 22220800 2100
33862416 KtlTheBest B Jan. 2, 2018, 11:19 a.m. OK GNU C++14 TESTS 23 312 22323200 2100
55992582 nimishagarg_ng B June 24, 2019, 8:31 a.m. OK GNU C++14 TESTS 23 326 24780800 2100
56448345 denis2111 B July 2, 2019, 8:04 p.m. OK GNU C++17 TESTS 23 327 12083200 2100
60393567 gupta_samarth B Sept. 11, 2019, 2:07 p.m. OK GNU C++17 TESTS 23 327 20070400 2100
57776145 Quinas B July 26, 2019, 3:37 a.m. OK GNU C++17 TESTS 23 327 21913600 2100
69299269 PavelChadnov B Jan. 22, 2020, 1:18 p.m. OK GNU C++17 TESTS 23 327 24780800 2100
44995629 vladalos B Oct. 28, 2018, 3:25 p.m. OK GNU C++17 TESTS 23 327 26828800 2100
53836775 luogu_bot2 B May 7, 2019, 3:49 a.m. OK GNU C++17 TESTS 23 343 20172800 2100
53836735 Aestus_estus B May 7, 2019, 3:46 a.m. OK GNU C++17 TESTS 23 343 20172800 2100
39863529 majk B July 2, 2018, 9:31 a.m. OK GNU C++17 TESTS 23 343 20377600 2100
49986373 Mandir_Wahi_Banayenge B Feb. 16, 2019, 10:43 a.m. OK GNU C++17 TESTS 23 343 20992000 2100
56287097 KKOOPP B June 29, 2019, 8:21 p.m. OK GNU C++17 TESTS 23 343 24780800 2100
7141983 ronaflx B July 17, 2014, 9:46 p.m. OK Go TESTS 23 1668 36147200 2100
7141992 ronaflx B July 17, 2014, 9:47 p.m. OK Go TESTS 23 1669 36147200 2100
7094809 Thomas_Ahle B July 13, 2014, 10:30 p.m. OK Go TESTS 23 1762 20172800 2100
69208891 kashishsingh8700 B Jan. 20, 2020, 7:04 p.m. OK Java 11 TESTS 23 1450 17510400 2100
7101540 mukku B July 14, 2014, 2:09 p.m. OK Java 6 TESTS 23 639 13209600 2100
7093042 Darko B July 13, 2014, 5:08 p.m. OK Java 6 TESTS 23 686 12083200 2100
7622066 mkirsche B Aug. 29, 2014, 2:26 p.m. OK Java 6 TESTS 23 763 24064000 2100
9342106 xiaowuc1 B Jan. 1, 2015, 9:44 p.m. OK Java 6 TESTS 23 794 11571200 2100
7093531 codexile B July 13, 2014, 5:53 p.m. OK Java 6 TESTS 23 966 13619200 2100
7093549 codexile B July 13, 2014, 5:55 p.m. OK Java 6 TESTS 23 1013 13619200 2100
7081992 ika B July 13, 2014, 1:46 p.m. OK Java 6 TESTS 23 1107 13004800 2100
7094394 leogzl B July 13, 2014, 8:19 p.m. OK Java 6 TESTS 23 1731 12390400 2100
7109671 Ekaing B July 15, 2014, 1:59 p.m. OK Java 6 TESTS 23 1747 13516800 2100
7079079 Petr B July 13, 2014, 1:25 p.m. OK Java 7 TESTS 23 202 11980800 2100
7358700 trunghieu11 B Aug. 6, 2014, 8:03 a.m. OK Java 7 TESTS 23 529 20992000 2100
7081550 tanzaku B July 13, 2014, 1:42 p.m. OK Java 7 TESTS 23 561 11878400 2100
7651901 hama-du B Aug. 31, 2014, 8:07 a.m. OK Java 7 TESTS 23 561 23961600 2100
7086318 ixxa B July 13, 2014, 2:25 p.m. OK Java 7 TESTS 23 576 23756800 2100
7083844 Azat_Yusupov B July 13, 2014, 2:02 p.m. OK Java 7 TESTS 23 592 13414400 2100
7108335 asheshvidyut B July 15, 2014, 11:15 a.m. OK Java 7 TESTS 23 592 13824000 2100
7091792 uwi B July 13, 2014, 4:04 p.m. OK Java 7 TESTS 23 592 19865600 2100
7117352 pretorium B July 16, 2014, 3:17 p.m. OK Java 7 TESTS 23 607 12390400 2100
7104841 katsukare B July 15, 2014, 2:08 a.m. OK Java 7 TESTS 23 608 13312000 2100
61066777 Sasuke-u B Sept. 22, 2019, 11:21 a.m. OK Java 8 TESTS 23 218 15462400 2100
8438740 Abinash B Oct. 27, 2014, 6:45 p.m. OK Java 8 TESTS 23 374 819200 2100
54482580 amolpratap007 B May 22, 2019, 11:41 a.m. OK Java 8 TESTS 23 546 20889600 2100
50206764 saurabh0611 B Feb. 19, 2019, 7:44 p.m. OK Java 8 TESTS 23 546 23756800 2100
57733546 jenish9599 B July 25, 2019, 9:15 a.m. OK Java 8 TESTS 23 561 22323200 2100
7103083 Pimpom B July 14, 2014, 5:53 p.m. OK Java 8 TESTS 23 577 1433600 2100
46691562 harshhx17 B Dec. 6, 2018, 4:54 p.m. OK Java 8 TESTS 23 592 15667200 2100
61067132 Sasuke-u B Sept. 22, 2019, 11:28 a.m. OK Java 8 TESTS 23 607 15564800 2100
57145262 AryssonFigueiredo B July 16, 2019, 12:41 p.m. OK Java 8 TESTS 23 607 23040000 2100
68303803 prem_cse B Jan. 6, 2020, 8:05 a.m. OK Java 8 TESTS 23 608 15564800 2100
9730898 azukun B Feb. 5, 2015, 7:15 p.m. OK MS C# TESTS 23 1918 27136000 2100
10062313 a88027180 B Feb. 28, 2015, 10:06 a.m. OK MS C++ TESTS 23 264 16076800 2100
7089213 ainta B July 13, 2014, 2:52 p.m. OK MS C++ TESTS 23 264 20172800 2100
7083547 Milanin B July 13, 2014, 1:59 p.m. OK MS C++ TESTS 23 265 16076800 2100
18117371 WhatIsLove B May 27, 2016, 11:45 a.m. OK MS C++ TESTS 23 265 20070400 2100
7101222 veckal B July 14, 2014, 1:34 p.m. OK MS C++ TESTS 23 265 20070400 2100
7081776 bayleef B July 13, 2014, 1:44 p.m. OK MS C++ TESTS 23 280 16076800 2100
7079509 BalloonphiliaR B July 13, 2014, 1:28 p.m. OK MS C++ TESTS 23 280 16179200 2100
54365456 vjudge2 B May 19, 2019, 2:13 a.m. OK MS C++ TESTS 23 280 20070400 2100
7406303 pjsdream B Aug. 9, 2014, 1:44 p.m. OK MS C++ TESTS 23 280 20070400 2100
7194819 SparkOO7 B July 21, 2014, 12:40 p.m. OK MS C++ TESTS 23 280 20070400 2100
7099572 Darooha B July 14, 2014, 10:43 a.m. OK Ocaml TESTS 23 1996 50995200 2100
36413291 pavankatta B March 19, 2018, 2:28 p.m. OK PyPy 2 TESTS 23 1840 217497600 2100
7108158 NovemberRain B July 15, 2014, 10:46 a.m. OK Scala TESTS 23 467 307200 2100

remove filters

Back to search problems