2022-2023 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Preferably Teams)

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
1765 2022-2023 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Preferably Teams) FINISHED False 18000 67721063 Nov. 27, 2022, 10:35 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 608 ) L Project Manager PROGRAMMING implementation 2400

B'There are n employees at Bersoft company, numbered from 1 to n . Each employee works on some days of the week and rests on the other days. You are given the lists of working days of the week for each employee. There are regular days and holidays. On regular days, only those employees work that have the current day of the week on their list. On holidays, no one works. You are provided with a list of days that are holidays. The days are numbered from 1 onwards, day 1 is Monday. The company receives k project offers they have to complete. The projects are numbered from 1 to k in the order of decreasing priority. Each project consists of multiple parts, where the i -th part must be completed by the a_i -th employee. The parts must be completed in order (i. xe2 x80 x89e. the (i+1) -st part can only be started when the i -th part is completed). Each part takes the corresponding employee a day to complete. The projects can be worked on simultaneously. However, one employee can complete a part of only one project during a single day. If they have a choice of what project to complete a part on, they always go for the project with the highest priority (the lowest index). For each project, output the day that project will be completed on. The first line contains three integers n, m and k ( 1 <= n, m, k <= 2 cdot 10^5 ) -- the number of employees, the number of holidays and the number of projects. The i -th of the next n lines contains the list of working days of the i -th employee. First, a single integer t ( 1 <= t <= 7 ) -- the number of working days. Then t days of the week in the increasing order. The possible days are: "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday". The next line contains m integers h_1, h_2, ... , h_m ( 1 <= h_1 < h_2 < ... < h_m <= 10^9 ) -- the list of holidays. The j -th'...

Tutorials

109642

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
182919743 Jimanbanashi L Nov. 27, 2022, 2:51 p.m. OK GNU C++14 TESTS 65 670 24473600 2400
182909897 Heibor CodigoL reedef L Nov. 27, 2022, 1:32 p.m. OK GNU C++14 TESTS 65 764 50073600 2400
182918875 AkaiLemon L Nov. 27, 2022, 2:44 p.m. OK GNU C++14 TESTS 65 780 267468800 2400
182953628 omeganot L Nov. 27, 2022, 10:05 p.m. OK GNU C++14 TESTS 65 3072 101376000 2400
182932409 Sempr L Nov. 27, 2022, 4:51 p.m. OK GNU C++17 TESTS 65 529 33075200 2400
182933051 Sempr L Nov. 27, 2022, 4:58 p.m. OK GNU C++17 TESTS 65 530 33075200 2400
182931582 Sempr L Nov. 27, 2022, 4:42 p.m. OK GNU C++17 TESTS 65 530 40448000 2400
182929914 Sempr L Nov. 27, 2022, 4:25 p.m. OK GNU C++17 TESTS 65 545 40448000 2400
182908946 fanache99 L Nov. 27, 2022, 1:24 p.m. OK GNU C++17 TESTS 65 561 97996800 2400
182916223 surgutti kamilszymczak1 Rafi22 L Nov. 27, 2022, 2:22 p.m. OK GNU C++17 TESTS 65 623 44953600 2400
182899058 Vladik vilcheuski L Nov. 27, 2022, 12:12 p.m. OK GNU C++17 TESTS 65 780 146227200 2400
182920185 aa2985759 L Nov. 27, 2022, 2:55 p.m. OK GNU C++17 TESTS 65 826 30924800 2400
182922738 MiNOcean kylinever joww L Nov. 27, 2022, 3:19 p.m. OK GNU C++17 TESTS 65 888 135782400 2400
182915184 CSQ31 Spheniscine L Nov. 27, 2022, 2:13 p.m. OK GNU C++17 TESTS 65 967 112844800 2400
182904924 kotatsugame L Nov. 27, 2022, 12:54 p.m. OK GNU C++17 (64) TESTS 65 420 108646400 2400
182911488 mcdx9524 Andreasyan L Nov. 27, 2022, 1:44 p.m. OK GNU C++17 (64) TESTS 65 468 39424000 2400
182909037 Juanzhang zihouzhong Arraiter L Nov. 27, 2022, 1:25 p.m. OK GNU C++17 (64) TESTS 65 499 166400000 2400
182918608 JoJo L Nov. 27, 2022, 2:42 p.m. OK GNU C++17 (64) TESTS 65 560 43929600 2400
182917298 cuiaoxiang L Nov. 27, 2022, 2:30 p.m. OK GNU C++17 (64) TESTS 65 560 113459200 2400
182912873 bensonlzl dvdg6566 esleong L Nov. 27, 2022, 1:55 p.m. OK GNU C++17 (64) TESTS 65 577 70553600 2400
182946055 YaoBIG L Nov. 27, 2022, 7:49 p.m. OK GNU C++17 (64) TESTS 65 857 97792000 2400
182928198 I_HATE_GEOMETRY L Nov. 27, 2022, 4:09 p.m. OK GNU C++17 (64) TESTS 65 1294 39731200 2400
182963347 Bolshevik L Nov. 28, 2022, 2:58 a.m. OK GNU C++17 (64) TESTS 65 1340 35942400 2400
182912182 Zappeko errorgorn rama_pang L Nov. 27, 2022, 1:49 p.m. OK GNU C++17 (64) TESTS 65 1372 115097600 2400
182905327 AdaptiveControl AlternatingCurrent njwrz L Nov. 27, 2022, 12:57 p.m. OK GNU C++20 (64) TESTS 65 327 34508800 2400
182903876 aditya.verma akcube codelegend L Nov. 27, 2022, 12:46 p.m. OK GNU C++20 (64) TESTS 65 389 27238400 2400
182910025 353cerega Batrr L Nov. 27, 2022, 1:33 p.m. OK GNU C++20 (64) TESTS 65 389 47411200 2400
182826688 Merkurev Um_nik L Nov. 27, 2022, 11:54 a.m. OK GNU C++20 (64) TESTS 65 389 48640000 2400
182915168 Gary2005 platelet LZDQ L Nov. 27, 2022, 2:13 p.m. OK GNU C++20 (64) TESTS 65 405 41472000 2400
182924551 Kirundel dalex L Nov. 27, 2022, 3:34 p.m. OK GNU C++20 (64) TESTS 65 451 52121600 2400
182925266 dalex L Nov. 27, 2022, 3:41 p.m. OK GNU C++20 (64) TESTS 65 467 52121600 2400
182924578 Kirundel dalex L Nov. 27, 2022, 3:34 p.m. OK GNU C++20 (64) TESTS 65 467 52121600 2400
182924482 Kirundel dalex L Nov. 27, 2022, 3:34 p.m. OK GNU C++20 (64) TESTS 65 467 52121600 2400
182924519 Kirundel dalex L Nov. 27, 2022, 3:34 p.m. OK GNU C++20 (64) TESTS 65 468 52121600 2400
182925114 knightL L Nov. 27, 2022, 3:39 p.m. OK Java 11 TESTS 65 1216 69017600 2400
182917782 Sudin7362 TfueBiley merlin_ L Nov. 27, 2022, 2:34 p.m. OK Java 17 TESTS 65 1840 229580800 2400
182902974 arvindf232 L Nov. 27, 2022, 12:39 p.m. OK Kotlin 1.6 TESTS 65 1684 148275200 2400
182922521 ArtyomTsepov reshke Friska L Nov. 27, 2022, 3:17 p.m. OK MS C++ 2017 TESTS 65 3041 319180800 2400
182913040 Egor L Nov. 27, 2022, 1:56 p.m. OK Rust 2021 TESTS 65 420 125849600 2400

remove filters

Back to search problems