Codeforces Round 608 (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
1271 Codeforces Round 608 (Div. 2) FINISHED False 7200 161037887 Dec. 15, 2019, 9:15 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 203 ) F Divide The Students PROGRAMMING brute force 3000

B"Recently a lot of students were enrolled in Berland State University. All students were divided into groups according to their education program. Some groups turned out to be too large to attend lessons in the same auditorium, so these groups should be divided into two subgroups. Your task is to help divide the first-year students of the computer science faculty. There are t new groups belonging to this faculty. Students have to attend classes on three different subjects -- maths, programming and P. xe2 x80 x89E. All classes are held in different places according to the subject -- maths classes are held in auditoriums, programming classes are held in computer labs, and P. E. classes are held in gyms. Each group should be divided into two subgroups so that there is enough space in every auditorium, lab or gym for all students of the subgroup. For the first subgroup of the i -th group, maths classes are held in an auditorium with capacity of a_{i, 1} students; programming classes are held in a lab that accomodates up to b_{i, 1} students; and P. xe2 x80 x89E. classes are held in a gym having enough place for c_{i, 1} students. Analogically, the auditorium, lab and gym for the second subgroup can accept no more than a_{i, 2} , b_{i, 2} and c_{i, 2} students, respectively. As usual, some students skip some classes. Each student considers some number of subjects (from 0 to 3 ) to be useless -- that means, he skips all classes on these subjects (and attends all other classes). This data is given to you as follows -- the i -th group consists of: There is one more type of students -- those who don't attend any classes at all (but they, obviously, don't need any place in auditoriums, labs or gyms, so the number of those students is insignificant in this problem). Your task is to divide each group into two subgroups so that every auditorium (or lab, or gym) assigned to each subgroup has enough place for all students f"...

Tutorials

72247

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
67001204 wasa855 F Dec. 16, 2019, 5:49 a.m. OK GNU C++11 TESTS 125 31 0 3000
67132669 Sweetlemon F Dec. 18, 2019, 1:26 a.m. OK GNU C++11 TESTS 125 46 0 3000
67028258 aa2985759 F Dec. 16, 2019, 3:02 p.m. OK GNU C++11 TESTS 125 46 0 3000
67021009 xht37 F Dec. 16, 2019, 12:57 p.m. OK GNU C++11 TESTS 125 46 0 3000
67001307 wasa855 F Dec. 16, 2019, 5:52 a.m. OK GNU C++11 TESTS 125 46 0 3000
66964609 LJC00118 F Dec. 15, 2019, 11:12 a.m. OK GNU C++11 TESTS 125 46 0 3000
67650728 geneanlyz F Dec. 26, 2019, 12:02 p.m. OK GNU C++11 TESTS 125 78 0 3000
68217277 birka0 F Jan. 5, 2020, 1:13 a.m. OK GNU C++11 TESTS 125 171 0 3000
67421154 code_struck F Dec. 22, 2019, 11:43 a.m. OK GNU C++11 TESTS 125 1076 0 3000
66967247 DeadMan F Dec. 15, 2019, 12:14 p.m. OK GNU C++11 TESTS 125 1653 0 3000
67431711 baohiep F Dec. 22, 2019, 3:26 p.m. OK GNU C++14 TESTS 125 31 0 3000
67431342 baohiep F Dec. 22, 2019, 3:19 p.m. OK GNU C++14 TESTS 125 31 0 3000
67431276 baohiep F Dec. 22, 2019, 3:18 p.m. OK GNU C++14 TESTS 125 31 0 3000
67431106 baohiep F Dec. 22, 2019, 3:15 p.m. OK GNU C++14 TESTS 125 31 0 3000
67430842 baohiep F Dec. 22, 2019, 3:09 p.m. OK GNU C++14 TESTS 125 31 0 3000
67034452 Benq F Dec. 16, 2019, 4:55 p.m. OK GNU C++14 TESTS 125 31 0 3000
67031363 hjc20032003 F Dec. 16, 2019, 3:56 p.m. OK GNU C++14 TESTS 125 31 0 3000
66989431 paulica F Dec. 15, 2019, 7:36 p.m. OK GNU C++14 TESTS 125 31 0 3000
66968186 cookiedoth F Dec. 15, 2019, 12:26 p.m. OK GNU C++14 TESTS 125 31 0 3000
68426324 the_tester_ F Jan. 9, 2020, 3:39 a.m. OK GNU C++14 TESTS 125 31 102400 3000
68685249 oskarfiuk1 F Jan. 13, 2020, 2:50 a.m. OK GNU C++17 TESTS 125 31 0 3000
68329572 LionCaptial F Jan. 6, 2020, 6:11 p.m. OK GNU C++17 TESTS 125 31 0 3000
68286605 cristian1997 F Jan. 5, 2020, 6:45 p.m. OK GNU C++17 TESTS 125 31 0 3000
68020496 emma F Dec. 31, 2019, 10:23 p.m. OK GNU C++17 TESTS 125 31 0 3000
67765464 eidan F Dec. 28, 2019, 3:21 a.m. OK GNU C++17 TESTS 125 31 0 3000
67473702 ManuelLoaiza F Dec. 23, 2019, 1:38 p.m. OK GNU C++17 TESTS 125 31 0 3000
67473588 ManuelLoaiza F Dec. 23, 2019, 1:36 p.m. OK GNU C++17 TESTS 125 31 0 3000
67293707 just_soso F Dec. 20, 2019, 4:17 p.m. OK GNU C++17 TESTS 125 31 0 3000
67293391 dreamoon_love_AA F Dec. 20, 2019, 4:12 p.m. OK GNU C++17 TESTS 125 31 0 3000
67287239 just_soso F Dec. 20, 2019, 2:36 p.m. OK GNU C++17 TESTS 125 31 0 3000
66998615 sansen F Dec. 16, 2019, 4:10 a.m. OK Rust TESTS 125 4524 0 3000
67174066 gearjack F Dec. 18, 2019, 6:27 p.m. OK Rust TESTS 125 5116 102400 3000

remove filters

Back to search problems