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 |
---|---|---|---|---|---|---|
1886 | Educational Codeforces Round 156 (Rated for Div. 2) | FINISHED | False | 7200 | 40317863 | Oct. 9, 2023, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1551 ) | E | I Wanna be the Team Leader | PROGRAMMING | bitmasks dp two pointers |
B'Monocarp is a team leader in a massive IT company. There are m projects his team of programmers has to complete, numbered from 1 to m . The i -th project has a difficulty level b_i . There are n programmers in the team, numbered from 1 to n . The j -th programmer has a stress tolerance level a_j . Monocarp wants to assign the programmers to the projects in such a way that: Help Monocarp to find a valid assignment. If there are multiple answers, print any of them. The first line contains two integers n and m ( 1 <= n <= 2 cdot 10^5 ; 1 <= m <= 20 ) -- the number of programmers and the number of projects. The second line contains n integers a_1, a_2, ... , a_n ( 1 <= a_i <= 10^9 ) -- the stress tolerance level of each programmer. The third line contains m integers b_1, b_2, ... , b_m ( 1 <= b_i <= 10^9 ) -- the difficulty level of each project. If there is no valid assignment, print "NO". Otherwise, in the first line, print "YES". In the i -th of the next m lines, print the list of the programmers assigned to the i -th project: first, the number of programmers, then their indices in an arbitrary order. If there are multiple answers, print any of them. '... |
Educational Codeforces Round 156 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
227436000 | rainboy | E | Oct. 9, 2023, 5:35 p.m. | OK | GNU C11 | TESTS | 59 | 919 | 26009600 | ||
227428851 | Kaitokid | E | Oct. 9, 2023, 4:54 p.m. | OK | GNU C++14 | TESTS | 59 | 265 | 45875200 | ||
227471548 | wjd_ | E | Oct. 10, 2023, 2:35 a.m. | OK | GNU C++14 | TESTS | 59 | 265 | 56012800 | ||
227470655 | chenyitaoooo | E | Oct. 10, 2023, 2:20 a.m. | OK | GNU C++14 | TESTS | 59 | 280 | 29696000 | ||
227465359 | newamnesia | E | Oct. 10, 2023, 12:27 a.m. | OK | GNU C++14 | TESTS | 59 | 327 | 87449600 | ||
227469660 | 2625215223 | E | Oct. 10, 2023, 2:01 a.m. | OK | GNU C++14 | TESTS | 59 | 405 | 70553600 | ||
227442939 | 0wuming0 | E | Oct. 9, 2023, 6:26 p.m. | OK | GNU C++14 | TESTS | 59 | 483 | 29184000 | ||
227437085 | RobertoFirmino | E | Oct. 9, 2023, 5:43 p.m. | OK | GNU C++14 | TESTS | 59 | 499 | 103219200 | ||
227424224 | FudNyh | E | Oct. 9, 2023, 4:37 p.m. | OK | GNU C++14 | TESTS | 59 | 514 | 87654400 | ||
227463985 | anonymous_01 | E | Oct. 9, 2023, 11:44 p.m. | OK | GNU C++14 | TESTS | 59 | 592 | 67891200 | ||
227471645 | pring | E | Oct. 10, 2023, 2:37 a.m. | OK | GNU C++14 | TESTS | 59 | 623 | 84172800 | ||
227431151 | 3417 | E | Oct. 9, 2023, 5:05 p.m. | OK | GNU C++17 | TESTS | 59 | 234 | 47001600 | ||
227429250 | applese | E | Oct. 9, 2023, 4:56 p.m. | OK | GNU C++17 | TESTS | 59 | 249 | 32051200 | ||
227485332 | EVENBAO | E | Oct. 10, 2023, 5:45 a.m. | OK | GNU C++17 | TESTS | 59 | 249 | 44953600 | ||
227424710 | buihoatchuyenhv | E | Oct. 9, 2023, 4:38 p.m. | OK | GNU C++17 | TESTS | 59 | 265 | 23552000 | ||
227434869 | nishkarsh | E | Oct. 9, 2023, 5:27 p.m. | OK | GNU C++17 | TESTS | 59 | 265 | 27340800 | ||
227427086 | Marckess | E | Oct. 9, 2023, 4:47 p.m. | OK | GNU C++17 | TESTS | 59 | 265 | 29696000 | ||
227455824 | swift51385 | E | Oct. 9, 2023, 8:41 p.m. | OK | GNU C++17 | TESTS | 59 | 265 | 31641600 | ||
227424973 | Valters07 | E | Oct. 9, 2023, 4:39 p.m. | OK | GNU C++17 | TESTS | 59 | 265 | 62156800 | ||
227474103 | HaPpY1213 | E | Oct. 10, 2023, 3:16 a.m. | OK | GNU C++17 | TESTS | 59 | 280 | 28057600 | ||
227476068 | yyyyyd | E | Oct. 10, 2023, 3:43 a.m. | OK | GNU C++17 | TESTS | 59 | 280 | 35737600 | ||
227471670 | enslaved | E | Oct. 10, 2023, 2:37 a.m. | OK | GNU C++17 (64) | TESTS | 59 | 202 | 28160000 | ||
227485185 | chengcheng5677 | E | Oct. 10, 2023, 5:44 a.m. | OK | GNU C++17 (64) | TESTS | 59 | 217 | 46284800 | ||
227464178 | y_combinator | E | Oct. 9, 2023, 11:51 p.m. | OK | GNU C++17 (64) | TESTS | 59 | 218 | 27340800 | ||
227477552 | stan23456 | E | Oct. 10, 2023, 4:05 a.m. | OK | GNU C++17 (64) | TESTS | 59 | 218 | 31744000 | ||
227473881 | chinawcp | E | Oct. 10, 2023, 3:13 a.m. | OK | GNU C++17 (64) | TESTS | 59 | 233 | 28467200 | ||
227478397 | cxm1024 | E | Oct. 10, 2023, 4:17 a.m. | OK | GNU C++17 (64) | TESTS | 59 | 233 | 28876800 | ||
227450815 | VegeDog | E | Oct. 9, 2023, 7:41 p.m. | OK | GNU C++17 (64) | TESTS | 59 | 296 | 70553600 | ||
227429202 | SyruLoveNewTechnology | E | Oct. 9, 2023, 4:55 p.m. | OK | GNU C++17 (64) | TESTS | 59 | 312 | 31641600 | ||
227451016 | VegeDog | E | Oct. 9, 2023, 7:43 p.m. | OK | GNU C++17 (64) | TESTS | 59 | 312 | 70553600 | ||
227485234 | flysnow | E | Oct. 10, 2023, 5:44 a.m. | OK | GNU C++17 (64) | TESTS | 59 | 327 | 23859200 | ||
227473640 | rakkoon69 | E | Oct. 10, 2023, 3:09 a.m. | OK | GNU C++20 (64) | TESTS | 59 | 171 | 26828800 | ||
227477072 | JovanB | E | Oct. 10, 2023, 3:58 a.m. | OK | GNU C++20 (64) | TESTS | 59 | 187 | 24268800 | ||
227449376 | the_hyp0cr1t3 | E | Oct. 9, 2023, 7:26 p.m. | OK | GNU C++20 (64) | TESTS | 59 | 187 | 26931200 | ||
227437620 | FLself | E | Oct. 9, 2023, 5:47 p.m. | OK | GNU C++20 (64) | TESTS | 59 | 187 | 27340800 | ||
227422312 | UIT.NguyenThaiSon | E | Oct. 9, 2023, 4:33 p.m. | OK | GNU C++20 (64) | TESTS | 59 | 187 | 60006400 | ||
227458200 | ibrm | E | Oct. 9, 2023, 9:15 p.m. | OK | GNU C++20 (64) | TESTS | 59 | 202 | 23142400 | ||
227467652 | huangpj | E | Oct. 10, 2023, 1:21 a.m. | OK | GNU C++20 (64) | TESTS | 59 | 202 | 23347200 | ||
227432308 | __sleep | E | Oct. 9, 2023, 5:11 p.m. | OK | GNU C++20 (64) | TESTS | 59 | 202 | 23449600 | ||
227448664 | riverwalk7 | E | Oct. 9, 2023, 7:19 p.m. | OK | GNU C++20 (64) | TESTS | 59 | 202 | 23756800 | ||
227458405 | dyc123 | E | Oct. 9, 2023, 9:20 p.m. | OK | GNU C++20 (64) | TESTS | 59 | 202 | 27238400 | ||
227422949 | MagentaCobra | E | Oct. 9, 2023, 4:34 p.m. | OK | Java 11 | TESTS | 59 | 1435 | 72089600 | ||
227436736 | Dukkha | E | Oct. 9, 2023, 5:40 p.m. | OK | Java 17 | TESTS | 59 | 608 | 36864000 | ||
227444164 | hxu10 | E | Oct. 9, 2023, 6:36 p.m. | OK | PyPy 3 | TESTS | 59 | 1808 | 64512000 | ||
227444855 | misorin | E | Oct. 9, 2023, 6:42 p.m. | OK | PyPy 3-64 | TESTS | 59 | 1122 | 67891200 | ||
227446980 | misorin | E | Oct. 9, 2023, 7:02 p.m. | OK | PyPy 3-64 | TESTS | 59 | 1122 | 77824000 | ||
227477150 | yuki_keshiki | E | Oct. 10, 2023, 3:59 a.m. | OK | PyPy 3-64 | TESTS | 59 | 1560 | 63283200 | ||
227486357 | Little_Sheep_Yawn | E | Oct. 10, 2023, 5:57 a.m. | OK | PyPy 3-64 | TESTS | 59 | 1715 | 78438400 |
Back to search problems