Codeforces Round 232 (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
396 Codeforces Round 232 (Div. 1) FINISHED False 7200 344183404 Feb. 26, 2014, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1523 ) A On Number of Decompositions into Multipliers PROGRAMMING combinatorics math number theory

B'You are given an integer m as a product of integers a1, xe2 x80 x89a2, xe2 x80 x89... an . Your task is to find the number of distinct decompositions of number m into the product of n ordered positive integers. Decomposition into n products, given in the input, must also be considered in the answer. As the answer can be very large, print it modulo 1000000007 (109 xe2 x80 x89+ xe2 x80 x897). The first line contains positive integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89500). The second line contains 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). In a single line print a single number k -- the number of distinct decompositions of number m into n ordered multipliers modulo 1000000007 (109 xe2 x80 x89+ xe2 x80 x897). In the second sample, the get a decomposition of number 2, you need any one number out of three to equal 2, and the rest to equal 1. In the third sample, the possible ways of decomposing into ordered multipliers are [7,5], [5,7], [1,35], [35,1]. A decomposition of positive integer m into n ordered multipliers is a cortege of positive integers b xe2 x80 x89= xe2 x80 x89{b1, xe2 x80 x89b2, xe2 x80 x89... bn} such that . Two decompositions b and c are considered different, if there exists index i such that bi xe2 x80 x89 xe2 x89 xa0 xe2 x80 x89ci.'...

Tutorials

Codeforces Round #232 Editorial (restored)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
6011106 Nik_Storm_2010 A March 13, 2014, 5:11 p.m. OK Delphi TESTS 85 109 40243200
7699538 ruban A Sept. 7, 2014, 11:47 a.m. OK Delphi TESTS 85 389 98713600
9946835 i_love_gold_and_nt A Feb. 21, 2015, 10:19 a.m. OK FPC TESTS 85 46 921600
6001758 SanSiroWaltz A March 12, 2014, 9:14 a.m. OK FPC TESTS 85 78 4505600
12909303 xszxxc A Sept. 9, 2015, 12:30 p.m. OK FPC TESTS 85 93 80486400
5926230 ZeRoGerc A March 4, 2014, 7:17 p.m. OK FPC TESTS 85 187 1024000
5953228 babameme A March 6, 2014, 7:15 p.m. OK FPC TESTS 85 295 33382400
16085135 Valerich A Feb. 17, 2016, 5:30 p.m. OK FPC TESTS 85 343 32051200
6015189 lzhexp A March 14, 2014, 1:40 p.m. OK GNU C TESTS 85 30 102400
6562961 vacuumer A May 6, 2014, 2:23 p.m. OK GNU C++ TESTS 85 15 614400
6306182 m_bezrutchka A April 9, 2014, 2:12 p.m. OK GNU C++ TESTS 85 15 614400
16967223 maratonando3 A March 27, 2016, 8:02 a.m. OK GNU C++ TESTS 85 15 2560000
7191418 apia A July 21, 2014, 6:30 a.m. OK GNU C++ TESTS 85 15 16384000
6446620 rijulsaini A April 22, 2014, 2:10 p.m. OK GNU C++ TESTS 85 30 819200
6013305 vjudge3 A March 14, 2014, 6:37 a.m. OK GNU C++ TESTS 85 30 2457600
29373684 NEU_ACM A Aug. 12, 2017, 9:20 a.m. OK GNU C++ TESTS 85 30 2764800
7423962 YouCode A Aug. 11, 2014, 6 a.m. OK GNU C++ TESTS 85 30 3891200
5925037 PAP A March 4, 2014, 3:57 p.m. OK GNU C++ TESTS 85 30 8704000
42013192 Scut82 A Aug. 24, 2018, 3:37 a.m. OK GNU C++ TESTS 85 31 204800
9281640 akaiNeko paulwang eddy1021 A Dec. 27, 2014, 7:52 a.m. OK GNU C++0x TESTS 85 31 307200
8233194 tanphatls987 A Oct. 15, 2014, 3:44 a.m. OK GNU C++0x TESTS 85 31 1024000
9270116 triveni A Dec. 25, 2014, 5:33 p.m. OK GNU C++0x TESTS 85 46 204800
5925246 ikatanic A March 4, 2014, 4:31 p.m. OK GNU C++0x TESTS 85 46 204800
9332453 hakobyan.tigran A Dec. 31, 2014, 10:14 a.m. OK GNU C++0x TESTS 85 46 409600
9331959 hakobyan.tigran A Dec. 31, 2014, 8:59 a.m. OK GNU C++0x TESTS 85 46 409600
9422138 _iris_ A Jan. 13, 2015, 8:20 a.m. OK GNU C++0x TESTS 85 61 921600
8859335 I_love_Hoang_Yen A Nov. 26, 2014, 12:13 p.m. OK GNU C++0x TESTS 85 61 1024000
10331604 VictorAA A March 18, 2015, 2:14 a.m. OK GNU C++0x TESTS 85 62 512000
10331062 Errichto A March 18, 2015, 12:20 a.m. OK GNU C++0x TESTS 85 62 7987200
15902901 SaMer A Feb. 8, 2016, 9:42 p.m. OK GNU C++11 TESTS 85 15 204800
14736941 jatinyadav25 A Dec. 9, 2015, 10:56 p.m. OK GNU C++11 TESTS 85 15 1024000
17015942 takumi A March 29, 2016, 8:15 a.m. OK GNU C++11 TESTS 85 15 2560000
14974925 rr_ A Dec. 24, 2015, 3 p.m. OK GNU C++11 TESTS 85 30 512000
34549594 s_h_shahin A Jan. 25, 2018, 2:42 p.m. OK GNU C++11 TESTS 85 30 2252800
23334347 jerry73204 A Dec. 26, 2016, 7 a.m. OK GNU C++11 TESTS 85 30 2252800
19588531 askgdasjldhasldas A Aug. 2, 2016, 11:31 p.m. OK GNU C++11 TESTS 85 31 0
13613581 numbertheorist17 A Oct. 14, 2015, 6:48 p.m. OK GNU C++11 TESTS 85 31 0
18616240 jtnydv25 A June 20, 2016, 3:04 p.m. OK GNU C++11 TESTS 85 31 102400
19601086 Ahmed- A Aug. 3, 2016, 3:48 p.m. OK GNU C++11 TESTS 85 31 204800
23334371 jerry73204 A Dec. 26, 2016, 7:02 a.m. OK GNU C++14 TESTS 85 15 2252800
25730549 193s A March 23, 2017, 10:35 a.m. OK GNU C++14 TESTS 85 30 2150400
69093634 xvenom99 A Jan. 19, 2020, 11:09 a.m. OK GNU C++14 TESTS 85 31 2048000
34296335 avi224 A Jan. 19, 2018, 8:16 a.m. OK GNU C++14 TESTS 85 31 2560000
25724164 fsshakkhor A March 23, 2017, 12:49 a.m. OK GNU C++14 TESTS 85 31 3072000
37524563 Yoshiyuki A April 21, 2018, 11:02 p.m. OK GNU C++14 TESTS 85 31 4710400
36775485 Joker_98 A March 31, 2018, 1:41 p.m. OK GNU C++14 TESTS 85 31 4710400
56281182 gsaivishal A June 29, 2019, 4:53 p.m. OK GNU C++14 TESTS 85 46 1024000
61832031 CTFang A Oct. 4, 2019, 6:50 a.m. OK GNU C++14 TESTS 85 46 1331200
32915144 Flash-boy A Dec. 4, 2017, 7:51 a.m. OK GNU C++14 TESTS 85 46 2048000
41518665 Photon_ A Aug. 12, 2018, 7:37 a.m. OK GNU C++17 TESTS 85 31 512000
47708231 ivan100sic A Dec. 29, 2018, 10:58 p.m. OK GNU C++17 TESTS 85 31 614400
69083822 binhtranit A Jan. 19, 2020, 7:31 a.m. OK GNU C++17 TESTS 85 31 716800
52035312 aleonov A March 30, 2019, 5:27 p.m. OK GNU C++17 TESTS 85 31 8704000
69274070 SharpC A Jan. 22, 2020, 12:11 a.m. OK GNU C++17 TESTS 85 46 307200
40921585 Bogdanisar A July 29, 2018, 3:05 p.m. OK GNU C++17 TESTS 85 46 307200
48181708 mohammadrobot A Jan. 10, 2019, 12:52 p.m. OK GNU C++17 TESTS 85 46 921600
56444508 ish.ranga11 A July 2, 2019, 6:09 p.m. OK GNU C++17 TESTS 85 46 1228800
55118591 Left_utkarsh A June 5, 2019, 9:55 a.m. OK GNU C++17 TESTS 85 46 2150400
47874113 charity A Jan. 3, 2019, 2:24 p.m. OK GNU C++17 TESTS 85 46 3686400
69420862 WangJialei A Jan. 23, 2020, 2:21 p.m. OK Go TESTS 85 124 0
6725203 erikr A May 28, 2014, 6:37 a.m. OK Haskell TESTS 85 93 1126400
6334192 xiaowuc1 A April 12, 2014, 6:40 p.m. OK Java 6 TESTS 85 124 0
5926601 mkirsche A March 4, 2014, 8:38 p.m. OK Java 6 TESTS 85 218 55500800
6011502 alibaba A March 13, 2014, 6:23 p.m. OK Java 6 TESTS 85 327 14336000
5931017 _null A March 5, 2014, 11:34 a.m. OK Java 6 TESTS 85 499 142745600
5926417 bendyna.ivan A March 4, 2014, 7:55 p.m. OK Java 7 TESTS 85 139 0
10559399 marcose18 A April 3, 2015, 11:30 a.m. OK Java 7 TESTS 85 140 0
5945109 m.radwan A March 5, 2014, 6:37 p.m. OK Java 7 TESTS 85 170 102400
9439591 ctunoku A Jan. 16, 2015, 12:26 a.m. OK Java 7 TESTS 85 171 0
5925661 RestlessAnchoret A March 4, 2014, 5:33 p.m. OK Java 7 TESTS 85 202 49971200
5930589 Sokolov A March 5, 2014, 10:50 a.m. OK Java 7 TESTS 85 202 53248000
6313908 DoublePointer A April 10, 2014, 5:52 p.m. OK Java 7 TESTS 85 217 102400
6836811 0p9o8i A June 8, 2014, 12:13 p.m. OK Java 7 TESTS 85 296 160972800
7670669 fathallah A Sept. 2, 2014, 9:37 p.m. OK Java 7 TESTS 85 654 143155200
7668243 Aya.moneim A Sept. 2, 2014, 2:28 p.m. OK Java 7 TESTS 85 702 143257600
27345086 RP_9 A May 25, 2017, 8:54 p.m. OK Java 8 TESTS 85 140 0
10233232 Pimpom A March 11, 2015, 3:48 a.m. OK Java 8 TESTS 85 156 0
58325097 prem_cse A Aug. 5, 2019, 7:26 a.m. OK Java 8 TESTS 85 171 0
41376555 KulikAlex A Aug. 8, 2018, 9:26 p.m. OK Java 8 TESTS 85 171 0
27462764 Maulik_Patel A May 31, 2017, 9:09 a.m. OK Java 8 TESTS 85 171 0
17377340 alculquicondor A April 18, 2016, 2:27 p.m. OK Java 8 TESTS 85 171 20582400
58507714 adityagupta1089 A Aug. 9, 2019, 5:17 p.m. OK Java 8 TESTS 85 186 0
12728332 SabuwalaMustafa A Aug. 28, 2015, 7:54 a.m. OK Java 8 TESTS 85 186 0
36044048 parth_15 A March 7, 2018, 12:32 p.m. OK Java 8 TESTS 85 187 20684800
38582668 Golmol A May 24, 2018, 10:09 a.m. OK Java 8 TESTS 85 202 0
7737884 Amir.bh A Sept. 10, 2014, 9:43 p.m. OK MS C++ TESTS 85 46 409600
5927483 Death_Knight_DK A March 5, 2014, 1:11 a.m. OK MS C++ TESTS 85 46 40755200
19155646 DEGwer A July 15, 2016, 2:30 p.m. OK MS C++ TESTS 85 61 2457600
8077714 F.H.N.98 A Oct. 4, 2014, 12:39 p.m. OK MS C++ TESTS 85 62 0
6027162 tangchuanxin A March 16, 2014, 1:19 p.m. OK MS C++ TESTS 85 62 102400
5969692 rtriangle A March 9, 2014, 3:11 p.m. OK MS C++ TESTS 85 62 33177600
6096330 a654889339 A March 21, 2014, 4:58 a.m. OK MS C++ TESTS 85 77 307200
5929655 caustique A March 5, 2014, 8:32 a.m. OK MS C++ TESTS 85 77 31334400
7574223 mjy0503 A Aug. 25, 2014, 4:22 p.m. OK MS C++ TESTS 85 78 32153600
9225431 Kazim A Dec. 22, 2014, 3:46 p.m. OK MS C++ TESTS 85 93 0
45148339 YESMAths A Oct. 31, 2018, 6:10 p.m. OK PyPy 2 TESTS 85 202 4300800
6484934 nwi A April 27, 2014, 3:05 p.m. OK Python 2 TESTS 85 202 1126400
50093913 pootis A Feb. 18, 2019, 11:50 a.m. OK Python 2 TESTS 85 561 512000
13013695 orailly A Sept. 15, 2015, 8:44 p.m. OK Python 3 TESTS 85 312 512000
5963253 yugle7 A March 8, 2014, 2:07 p.m. OK Python 3 TESTS 85 436 614400
69571343 Joker1010123 A Jan. 26, 2020, 2:11 p.m. OK Python 3 TESTS 85 498 1740800
57808032 preethamreddy123 A July 26, 2019, 3:58 p.m. OK Python 3 TESTS 85 545 1433600
5995524 hza A March 11, 2014, 11:41 a.m. OK Python 3 TESTS 85 545 1433600
41984900 Mk_Python_v1 A Aug. 23, 2018, 5:22 a.m. OK Python 3 TESTS 85 592 1126400
53683010 vjudge3 A May 2, 2019, 8:47 p.m. OK Python 3 TESTS 85 638 614400
25731497 cympfh A March 23, 2017, 11:25 a.m. OK Rust TESTS 85 46 2048000
25731356 cympfh A March 23, 2017, 11:18 a.m. OK Rust TESTS 85 46 2048000

remove filters

Back to search problems