Codeforces Round 144 (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
232 Codeforces Round 144 (Div. 1) FINISHED False 7200 387210563 Oct. 11, 2012, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1490 ) B Table PROGRAMMING bitmasks combinatorics dp math 2200

B"John Doe has an n xe2 x80 x89 xc3 x97 xe2 x80 x89m table. John Doe can paint points in some table cells, not more than one point in one table cell. John Doe wants to use such operations to make each square subtable of size n xe2 x80 x89 xc3 x97 xe2 x80 x89n have exactly k points. John Doe wondered, how many distinct ways to fill the table with points are there, provided that the condition must hold. As this number can be rather large, John Doe asks to find its remainder after dividing by 1000000007 (109 xe2 x80 x89+ xe2 x80 x897). You should assume that John always paints a point exactly in the center of some cell. Two ways to fill a table are considered distinct, if there exists a table cell, that has a point in one way and doesn't have it in the other. A single line contains space-separated integers n, m, k (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100; n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891018; 0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n2) -- the number of rows of the table, the number of columns of the table and the number of points each square must contain. Please, do not use 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. In a single line print a single integer -- the remainder from dividing the described number of ways by 1000000007 (109 xe2 x80 x89+ xe2 x80 x897). Let's consider the first test case: "...

Tutorials

Editorial for Codeforces Round #144

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
2348663 valeriy.stromov B Oct. 11, 2012, 7:22 p.m. OK Delphi TESTS 112 1171 71372800 2200
2348163 valeriy.stromov B Oct. 11, 2012, 6:30 p.m. OK Delphi TESTS 112 1984 8089600 2200
2347928 Depool B Oct. 11, 2012, 6:15 p.m. OK Delphi TESTS 112 1984 8089600 2200
2344942 Alex_2oo8 B Oct. 11, 2012, 4:41 p.m. OK FPC TESTS 112 1578 4198400 2200
2344785 Aerolight B Oct. 11, 2012, 4:39 p.m. OK FPC TESTS 112 1593 8192000 2200
2435923 joker1569 B Oct. 26, 2012, 2:59 a.m. OK FPC TESTS 112 1703 32563200 2200
2419890 luby B Oct. 24, 2012, 4:38 a.m. OK FPC TESTS 112 1953 32563200 2200
2344217 Berezin B Oct. 11, 2012, 4:29 p.m. OK FPC TESTS 112 1984 16384000 2200
4204111 chipchip3412 B July 30, 2013, 12:15 p.m. OK FPC TESTS 112 2058 24780800 2200
2383828 wzcjj B Oct. 18, 2012, 1:12 p.m. OK FPC TESTS 112 2328 8089600 2200
2351835 Timur_Keks B Oct. 12, 2012, 1:26 p.m. OK FPC TESTS 112 2328 8294400 2200
5551386 PTNK13091996 B Dec. 29, 2013, 2:50 p.m. OK FPC TESTS 112 2464 4300800 2200
2359230 boba B Oct. 14, 2012, 5:29 p.m. OK FPC TESTS 112 2468 8806400 2200
2343079 kawatea B Oct. 11, 2012, 4:11 p.m. OK GNU C TESTS 112 1093 8192000 2200
7200590 vis10326 B July 22, 2014, 8:17 a.m. OK GNU C TESTS 112 1652 8704000 2200
40990646 ReaLNero1 B July 31, 2018, 12:06 a.m. OK GNU C++ TESTS 112 124 204800 2200
2353374 I-juice B Oct. 12, 2012, 8:34 p.m. OK GNU C++ TESTS 112 281 102400 2200
2353389 I-juice B Oct. 12, 2012, 8:49 p.m. OK GNU C++ TESTS 112 328 204800 2200
12542651 vjudge5 B Aug. 15, 2015, 7:22 a.m. OK GNU C++ TESTS 112 373 8908800 2200
41323023 vjudge3 B Aug. 8, 2018, 2:49 a.m. OK GNU C++ TESTS 112 405 102400 2200
35849218 ______n______ B March 2, 2018, 5:11 p.m. OK GNU C++ TESTS 112 421 6041600 2200
35849060 ______u______ B March 2, 2018, 5:07 p.m. OK GNU C++ TESTS 112 421 6041600 2200
35848617 _____i_____ B March 2, 2018, 5:01 p.m. OK GNU C++ TESTS 112 421 6041600 2200
35848567 _____k_____ B March 2, 2018, 5:01 p.m. OK GNU C++ TESTS 112 421 6041600 2200
35841961 ______h______ B March 2, 2018, 2:44 p.m. OK GNU C++ TESTS 112 421 6041600 2200
2346262 watashi B Oct. 11, 2012, 5:06 p.m. OK GNU C++0x TESTS 112 500 16998400 2200
10020388 sdya B Feb. 25, 2015, 1:53 p.m. OK GNU C++0x TESTS 112 530 10854400 2200
2347355 cafelier B Oct. 11, 2012, 5:25 p.m. OK GNU C++0x TESTS 112 625 102400 2200
10099491 Zzyzx B March 1, 2015, 5:52 p.m. OK GNU C++0x TESTS 112 702 4198400 2200
2342019 roosephu B Oct. 11, 2012, 3:57 p.m. OK GNU C++0x TESTS 112 1046 97177600 2200
7494699 andrew.volchek B Aug. 17, 2014, 5:36 p.m. OK GNU C++0x TESTS 112 1060 8499200 2200
4400795 Mark_Fan B Sept. 3, 2013, 10:56 a.m. OK GNU C++0x TESTS 112 1122 8396800 2200
7954947 fwm94 B Sept. 26, 2014, 9:47 a.m. OK GNU C++0x TESTS 112 1122 8908800 2200
10155110 marat.snowbear B March 5, 2015, 12:36 a.m. OK GNU C++0x TESTS 112 1138 102400 2200
2342315 Archon.JK B Oct. 11, 2012, 4:01 p.m. OK GNU C++0x TESTS 112 1281 102400 2200
19069581 magieNoire B July 13, 2016, 9:32 a.m. OK GNU C11 TESTS 112 889 9216000 2200
60028799 rainboy B Sept. 4, 2019, 2:50 p.m. OK GNU C11 TESTS 112 1029 4096000 2200
19481289 Motarack B July 29, 2016, 2:01 p.m. OK GNU C++11 TESTS 112 78 4198400 2200
45420845 vjudge1 B Nov. 7, 2018, 5:08 p.m. OK GNU C++11 TESTS 112 265 8192000 2200
45420862 ayyy B Nov. 7, 2018, 5:09 p.m. OK GNU C++11 TESTS 112 265 8192000 2200
24586731 Artemis_Fowl B Feb. 11, 2017, 10:15 a.m. OK GNU C++11 TESTS 112 296 7884800 2200
19428990 maratonando B July 26, 2016, 7:53 p.m. OK GNU C++11 TESTS 112 327 10854400 2200
50041654 xielinhan B Feb. 17, 2019, 2:30 a.m. OK GNU C++11 TESTS 112 343 3993600 2200
31875470 DeadPillow B Oct. 29, 2017, 7:12 p.m. OK GNU C++11 TESTS 112 358 9420800 2200
57821938 py_ultron B July 27, 2019, 12:08 a.m. OK GNU C++11 TESTS 112 374 9216000 2200
44531646 dasxxx B Oct. 19, 2018, 6:48 a.m. OK GNU C++11 TESTS 112 390 8908800 2200
57899067 lopare B July 28, 2019, 2:53 p.m. OK GNU C++11 TESTS 112 390 9216000 2200
23280374 bukefala B Dec. 24, 2016, 10:40 p.m. OK GNU C++14 TESTS 112 358 6553600 2200
41295827 Eden_CY B Aug. 7, 2018, 7:08 a.m. OK GNU C++14 TESTS 112 390 8601600 2200
30488787 LiChenKoh B Sept. 19, 2017, 5:32 a.m. OK GNU C++14 TESTS 112 405 204800 2200
63876310 vjudge2 B Oct. 30, 2019, 7:07 p.m. OK GNU C++14 TESTS 112 405 4300800 2200
41295481 Solashiro B Aug. 7, 2018, 6:55 a.m. OK GNU C++14 TESTS 112 421 4710400 2200
41295847 vjudge3 B Aug. 7, 2018, 7:09 a.m. OK GNU C++14 TESTS 112 421 8601600 2200
34102555 Toxel B Jan. 12, 2018, 9:17 a.m. OK GNU C++14 TESTS 112 436 2048000 2200
39871910 Heisenberg4269 B July 2, 2018, 2:59 p.m. OK GNU C++14 TESTS 112 436 14848000 2200
29137138 srinu37 B Aug. 2, 2017, 5:56 p.m. OK GNU C++14 TESTS 112 467 6963200 2200
25593246 joyfun B March 18, 2017, 7:48 a.m. OK GNU C++14 TESTS 112 468 6656000 2200
56458691 hkyiitd B July 3, 2019, 5:41 a.m. OK GNU C++17 TESTS 112 296 5017600 2200
50423017 ruo B Feb. 24, 2019, 10:03 a.m. OK GNU C++17 TESTS 112 343 9523200 2200
41298786 vjudge1 B Aug. 7, 2018, 8:43 a.m. OK GNU C++17 TESTS 112 405 9728000 2200
41297460 Zerokei B Aug. 7, 2018, 8:01 a.m. OK GNU C++17 TESTS 112 405 9728000 2200
65526396 ZZHzzh0_0 B Nov. 22, 2019, 10:34 a.m. OK GNU C++17 TESTS 112 420 8499200 2200
41303585 Shima_KZ B Aug. 7, 2018, 11:47 a.m. OK GNU C++17 TESTS 112 452 5017600 2200
46310170 Martin53 B Nov. 28, 2018, 12:43 p.m. OK GNU C++17 TESTS 112 529 4710400 2200
54877010 TungPM B May 31, 2019, 12:19 p.m. OK GNU C++17 TESTS 112 529 8601600 2200
56224040 Atreus B June 28, 2019, 11:10 a.m. OK GNU C++17 TESTS 112 530 102400 2200
51262926 ivan100sic B March 13, 2019, 2:07 p.m. OK GNU C++17 TESTS 112 592 4300800 2200
2350091 pyshnograev B Oct. 12, 2012, 7:01 a.m. OK Java 6 TESTS 112 1421 14643200 2200
2347237 llaki B Oct. 11, 2012, 5:23 p.m. OK Java 6 TESTS 112 1625 0 2200
2341685 Egor B Oct. 11, 2012, 3:53 p.m. OK Java 6 TESTS 112 1765 0 2200
2692500 ahmad_mamdouh B Dec. 3, 2012, 8:04 p.m. OK Java 6 TESTS 112 1890 0 2200
2692494 ahmad_mamdouh B Dec. 3, 2012, 8:01 p.m. OK Java 6 TESTS 112 1906 0 2200
2343882 chavit B Oct. 11, 2012, 4:23 p.m. OK Java 6 TESTS 112 2078 0 2200
2341476 fetetriste B Oct. 11, 2012, 3:50 p.m. OK Java 6 TESTS 112 2140 102400 2200
2352355 mkirsche B Oct. 12, 2012, 3:21 p.m. OK Java 6 TESTS 112 2312 142950400 2200
2341395 ivan.popelyshev B Oct. 11, 2012, 3:49 p.m. OK Java 6 TESTS 112 2718 102400 2200
2344045 dgozman B Oct. 11, 2012, 4:26 p.m. OK Java 6 TESTS 112 2828 0 2200
11702735 niquefa_diego B June 21, 2015, 10:43 p.m. OK Java 7 TESTS 112 1465 0 2200
2345312 tanzaku B Oct. 11, 2012, 4:48 p.m. OK Java 7 TESTS 112 1500 0 2200
10201548 vjudge1 B March 8, 2015, 7:14 a.m. OK Java 7 TESTS 112 1575 0 2200
7211800 KNIGHT0X300 B July 23, 2014, 7:51 p.m. OK Java 7 TESTS 112 1590 0 2200
2356114 jiangzhijie B Oct. 13, 2012, 5:02 p.m. OK Java 7 TESTS 112 1609 0 2200
2350145 nitegazer B Oct. 12, 2012, 7:22 a.m. OK Java 7 TESTS 112 1687 14540800 2200
2359186 mashinist B Oct. 14, 2012, 5:10 p.m. OK Java 7 TESTS 112 1953 0 2200
2360127 oimaster B Oct. 15, 2012, 7:20 a.m. OK Java 7 TESTS 112 2218 0 2200
2686376 tjsuwd B Dec. 2, 2012, 11:59 a.m. OK Java 7 TESTS 112 2234 0 2200
2346501 yarrr B Oct. 11, 2012, 5:10 p.m. OK Java 7 TESTS 112 3125 102400 2200
28298339 bhishma B July 5, 2017, 8:02 a.m. OK Java 8 TESTS 112 1060 20582400 2200
45977579 Ahmad B Nov. 19, 2018, 7:43 p.m. OK Java 8 TESTS 112 1387 0 2200
60028797 Dukkha B Sept. 4, 2019, 2:50 p.m. OK Java 8 TESTS 112 1575 0 2200
28277739 bhishma B July 4, 2017, 10:37 a.m. OK Java 8 TESTS 112 1824 20582400 2200
28276478 bhishma B July 4, 2017, 9:16 a.m. OK Java 8 TESTS 112 1824 20582400 2200
11757301 santa_calus B June 25, 2015, 8:14 a.m. OK Java 8 TESTS 112 1918 0 2200
16431779 Sumeet.Varma B Feb. 29, 2016, 7:30 p.m. OK Java 8 TESTS 112 1949 0 2200
12382982 alibaba B Aug. 6, 2015, 6:24 a.m. OK Java 8 TESTS 112 2074 0 2200
9739607 AStepanov B Feb. 6, 2015, 7:27 p.m. OK Java 8 TESTS 112 2090 0 2200
12383014 alibaba B Aug. 6, 2015, 6:27 a.m. OK Java 8 TESTS 112 2121 0 2200
2342673 it4.kp B Oct. 11, 2012, 4:05 p.m. OK Mono C# TESTS 112 1765 7372800 2200
2352688 mylifefordota B Oct. 12, 2012, 4:53 p.m. OK Mono C# TESTS 112 1906 8294400 2200
2345922 Olja B Oct. 11, 2012, 4:59 p.m. OK MS C++ TESTS 112 515 4915200 2200
2342967 NuM B Oct. 11, 2012, 4:10 p.m. OK MS C++ TESTS 112 531 5427200 2200
45090730 vjudge2 B Oct. 30, 2018, 9:26 a.m. OK MS C++ TESTS 112 873 10137600 2200
45090602 vjudge3 B Oct. 30, 2018, 9:23 a.m. OK MS C++ TESTS 112 873 10342400 2200
43279120 vjudge5 B Sept. 23, 2018, 3:24 a.m. OK MS C++ TESTS 112 904 9420800 2200
45277404 vjudge3 B Nov. 4, 2018, 11:51 a.m. OK MS C++ TESTS 112 936 30617600 2200
3554760 RAD B April 17, 2013, 1:50 a.m. OK MS C++ TESTS 112 968 9932800 2200
3715895 RiKang B May 13, 2013, 9:33 a.m. OK MS C++ TESTS 112 1031 8499200 2200
2344581 Hohol B Oct. 11, 2012, 4:35 p.m. OK MS C++ TESTS 112 1031 32665600 2200
2343108 Milanin B Oct. 11, 2012, 4:12 p.m. OK MS C++ TESTS 112 1046 5427200 2200
60461824 pajenegod B Sept. 12, 2019, 9:10 p.m. OK PyPy 2 TESTS 112 2480 4812800 2200

remove filters

Back to search problems