Codeforces Round 266 (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
466 Codeforces Round 266 (Div. 2) FINISHED False 7200 326644163 Sept. 12, 2014, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4971 ) B Wonder Room PROGRAMMING brute force math 1800

B'The start of the new academic year brought about the problem of accommodation students into dormitories. One of such dormitories has a a xe2 x80 x89 xc3 x97 xe2 x80 x89b square meter wonder room. The caretaker wants to accommodate exactly n students there. But the law says that there must be at least 6 square meters per student in a room (that is, the room for n students must have the area of at least 6n square meters). The caretaker can enlarge any (possibly both) side of the room by an arbitrary positive integer of meters. Help him change the room so as all n students could live in it and the total area of the room was as small as possible. The first line contains three space-separated integers n, a and b (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89a, xe2 x80 x89b xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) -- the number of students and the sizes of the room. Print three integers s, a1 and b1 (a xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89a1; b xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89b1) -- the final area of the room and its sizes. If there are multiple optimal solutions, print any of them.'...

Tutorials

Editorial Codeforces Round #266 (Div. 2)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
52326788 chaorenhaha B April 5, 2019, 1:36 a.m. OK FPC TESTS 33 31 0 1800
52326921 chaorenhaha B April 5, 2019, 1:45 a.m. OK FPC TESTS 33 31 0 1800
47461137 Codephot B Dec. 24, 2018, 3:09 p.m. OK FPC TESTS 33 31 0 1800
41274677 Majka B Aug. 6, 2018, 12:31 p.m. OK GNU C++ TESTS 33 30 0 1800
40722176 bojverdict2 B July 25, 2018, 2:03 a.m. OK GNU C++ TESTS 33 31 0 1800
40722076 bojverdict1 B July 25, 2018, 1:59 a.m. OK GNU C++ TESTS 33 31 0 1800
40721504 bojverdict2 B July 25, 2018, 1:37 a.m. OK GNU C++ TESTS 33 31 0 1800
39228412 maratonando3 B June 13, 2018, 11:48 p.m. OK GNU C++ TESTS 33 31 0 1800
40723792 bojverdict2 B July 25, 2018, 3:14 a.m. OK GNU C++ TESTS 33 31 0 1800
42318152 vjudge4 B Aug. 31, 2018, 6:50 p.m. OK GNU C++ TESTS 33 31 0 1800
40988013 ReaLNero1 B July 30, 2018, 9:41 p.m. OK GNU C++ TESTS 33 31 0 1800
40926159 ToErr B July 29, 2018, 6:33 p.m. OK GNU C++ TESTS 33 31 0 1800
40494313 q4460956 B July 18, 2018, 12:59 a.m. OK GNU C++ TESTS 33 46 0 1800
57888718 lopare B July 28, 2019, 11 a.m. OK GNU C++11 TESTS 33 30 0 1800
49124060 Greninja. B Jan. 28, 2019, 9:05 p.m. OK GNU C++11 TESTS 33 30 0 1800
69951623 Nyse B Feb. 1, 2020, 9:06 a.m. OK GNU C++11 TESTS 33 31 0 1800
69975781 vjudge4 B Feb. 1, 2020, 2:56 p.m. OK GNU C++11 TESTS 33 31 0 1800
69951607 vjudge2 B Feb. 1, 2020, 9:06 a.m. OK GNU C++11 TESTS 33 31 0 1800
69868174 Isanchez_Aguilar B Jan. 30, 2020, 9:37 p.m. OK GNU C++11 TESTS 33 31 0 1800
69573743 yagmur B Jan. 26, 2020, 2:53 p.m. OK GNU C++11 TESTS 33 31 0 1800
66780096 joker4everyone B Dec. 13, 2019, 11:40 a.m. OK GNU C++11 TESTS 33 31 0 1800
64709997 MCan B Nov. 11, 2019, 6:13 p.m. OK GNU C++11 TESTS 33 31 0 1800
64182152 gegewepe B Nov. 4, 2019, 1:53 a.m. OK GNU C++11 TESTS 33 31 0 1800
68610215 unique12 B Jan. 11, 2020, 3:26 p.m. OK GNU C++14 TESTS 33 15 0 1800
57322448 greeDPerson B July 19, 2019, 10:39 a.m. OK GNU C++14 TESTS 33 15 0 1800
55736492 preetham B June 19, 2019, 4:30 a.m. OK GNU C++14 TESTS 33 15 0 1800
53581984 I_love_Harpae B April 30, 2019, 4:10 p.m. OK GNU C++14 TESTS 33 15 0 1800
52524005 echozhou B April 9, 2019, 10:31 a.m. OK GNU C++14 TESTS 33 15 0 1800
49339985 rohan B Feb. 1, 2019, 9:38 p.m. OK GNU C++14 TESTS 33 15 0 1800
48466763 palak_08 B Jan. 16, 2019, 5:40 p.m. OK GNU C++14 TESTS 33 15 0 1800
47520579 Ace201m B Dec. 26, 2018, 12:50 p.m. OK GNU C++14 TESTS 33 15 0 1800
41747717 MrKasimov B Aug. 18, 2018, 8:15 a.m. OK GNU C++14 TESTS 33 15 0 1800
40357176 Angry_penguin B July 14, 2018, 8:46 p.m. OK GNU C++14 TESTS 33 15 0 1800
55300498 Nikhil_Medam B June 8, 2019, 11:50 a.m. OK GNU C++17 TESTS 33 15 0 1800
68969514 smiling_addu B Jan. 17, 2020, 6:27 a.m. OK GNU C++17 TESTS 33 15 0 1800
67022799 dhruvik1999 B Dec. 16, 2019, 1:28 p.m. OK GNU C++17 TESTS 33 15 0 1800
64798050 chauhan176 B Nov. 13, 2019, 1:35 p.m. OK GNU C++17 TESTS 33 15 0 1800
53659812 vjudge4 B May 2, 2019, 7:04 a.m. OK GNU C++17 TESTS 33 15 0 1800
49962609 Stroustrup B Feb. 15, 2019, 7:01 p.m. OK GNU C++17 TESTS 33 15 0 1800
47492971 Nickir B Dec. 25, 2018, 1:20 p.m. OK GNU C++17 TESTS 33 15 0 1800
46853379 T_BONE_289 B Dec. 10, 2018, 1:27 p.m. OK GNU C++17 TESTS 33 15 0 1800
46835039 tibrewalpratik17 B Dec. 10, 2018, 12:58 a.m. OK GNU C++17 TESTS 33 15 0 1800
69511768 prowess B Jan. 25, 2020, 10:43 a.m. OK GNU C++17 TESTS 33 30 0 1800
63358937 barakraganosungam B Oct. 25, 2019, 4:27 a.m. OK Java 8 TESTS 33 109 0 1800
68886521 sunnycarlos B Jan. 15, 2020, 9:54 p.m. OK Java 8 TESTS 33 109 0 1800
68240765 eng_hardik B Jan. 5, 2020, 12:43 p.m. OK Java 8 TESTS 33 124 0 1800
58968938 Washoum B Aug. 17, 2019, 7:13 p.m. OK Java 8 TESTS 33 124 0 1800
56068912 prakhar897 B June 26, 2019, 9:22 a.m. OK Java 8 TESTS 33 124 0 1800
52295545 BiIIy B April 4, 2019, 5:52 a.m. OK Java 8 TESTS 33 124 0 1800
51094835 AWCXV B March 9, 2019, 3:53 p.m. OK Java 8 TESTS 33 124 0 1800
61255671 shaurya_singh B Sept. 25, 2019, 9:59 a.m. OK Java 8 TESTS 33 124 0 1800
66665577 dtsarun B Dec. 12, 2019, 6:58 a.m. OK Java 8 TESTS 33 124 0 1800
66614824 Oom B Dec. 11, 2019, 2:43 a.m. OK Java 8 TESTS 33 124 0 1800
45380852 bortolozz B Nov. 6, 2018, 2:42 p.m. OK Mono C# TESTS 33 62 3584000 1800
65303132 boookva B Nov. 18, 2019, 1:56 p.m. OK Mono C# TESTS 33 78 3686400 1800
58932993 vjudge3 B Aug. 17, 2019, 2:10 a.m. OK MS C++ TESTS 33 31 0 1800
69971692 vjudge2 B Feb. 1, 2020, 1:59 p.m. OK MS C++ TESTS 33 31 0 1800
69932112 vjudge3 B Feb. 1, 2020, 12:49 a.m. OK MS C++ TESTS 33 31 0 1800
61965902 neagamaria B Oct. 6, 2019, 8:48 a.m. OK MS C++ TESTS 33 31 0 1800
58934048 vjudge5 B Aug. 17, 2019, 2:52 a.m. OK MS C++ TESTS 33 31 0 1800
69972448 vjudge2 B Feb. 1, 2020, 2:10 p.m. OK MS C++ 2017 TESTS 33 46 307200 1800
39882016 arsrivish2 B July 3, 2018, 2:31 a.m. OK PyPy 3 TESTS 33 155 102400 1800
40982681 AvY B July 30, 2018, 6:31 p.m. OK Python 2 TESTS 33 202 0 1800
38569287 atarw B May 23, 2018, 5:48 p.m. OK Python 2 TESTS 33 327 5324800 1800
42303465 Patiala_Peg B Aug. 31, 2018, 9:24 a.m. OK Python 2 TESTS 33 529 0 1800
55566557 Parag_AP B June 14, 2019, 3:45 p.m. OK Python 3 TESTS 33 124 0 1800
39055409 __Melodies B June 8, 2018, 9:39 p.m. OK Python 3 TESTS 33 155 6451200 1800
54372703 Mohamed_Ayman B May 19, 2019, 7:21 a.m. OK Python 3 TESTS 33 171 0 1800
47465528 break_my_soul B Dec. 24, 2018, 5:45 p.m. OK Python 3 TESTS 33 171 0 1800
42126033 Mk_Python_v1 B Aug. 26, 2018, 3:15 p.m. OK Python 3 TESTS 33 186 6451200 1800
69011716 nethish B Jan. 18, 2020, 3:57 a.m. OK Python 3 TESTS 33 249 716800 1800
39360659 Evil__Coder B June 18, 2018, 4:26 p.m. OK Python 3 TESTS 33 280 7270400 1800
50788723 masha_and_beer B March 4, 2019, 2:37 p.m. OK Python 3 TESTS 33 296 0 1800

remove filters

Back to search problems