Hello 2020

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
1284 Hello 2020 FINISHED False 9000 159213311 Jan. 4, 2020, 12:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3198 ) D New Year and Conference PROGRAMMING binary search data structures hashing sortings 2100

B'Filled with optimism, Hyunuk will host a conference about how great this new year will be! The conference will have n lectures. Hyunuk has two candidate venues a and b . For each of the n lectures, the speaker specified two time intervals [sa_i, ea_i] ( sa_i <= ea_i ) and [sb_i, eb_i] ( sb_i <= eb_i ). If the conference is situated in venue a , the lecture will be held from sa_i to ea_i , and if the conference is situated in venue b , the lecture will be held from sb_i to eb_i . Hyunuk will choose one of these venues and all lectures will be held at that venue. Two lectures are said to overlap if they share any point in time in common. Formally, a lecture held in interval [x, y] overlaps with a lecture held in interval [u, v] if and only if max(x, u) <= min(y, v) . We say that a participant can attend a subset s of the lectures if the lectures in s do not pairwise overlap (i.e. no two lectures overlap). Note that the possibility of attending may depend on whether Hyunuk selected venue a or venue b to hold the conference. A subset of lectures s is said to be venue-sensitive if, for one of the venues, the participant can attend s , but for the other venue, the participant cannot attend s . A venue-sensitive set is problematic for a participant who is interested in attending the lectures in s because the participant cannot be sure whether the lecture times will overlap. Hyunuk will be happy if and only if there are no venue-sensitive sets. Determine whether Hyunuk will be happy. The first line contains an integer n ( 1 <= n <= 100 ,000 ), the number of lectures held in the conference. Each of the next n lines contains four integers sa_i , ea_i , sb_i , eb_i ( 1 <= sa_i, ea_i, sb_i, eb_i <= 10^9 , sa_i <= ea_i, sb_i <= eb_i ). Print "YES" if Hyunuk will be happy. Print'...

Tutorials

Hello 2020 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
68188287 Gassa D Jan. 4, 2020, 1:38 p.m. OK D TESTS 51 249 22323200 2100
68177869 hos.lyric D Jan. 4, 2020, 12:45 p.m. OK D TESTS 51 686 35840000 2100
68194268 physics0523 D Jan. 4, 2020, 2:12 p.m. OK GNU C11 TESTS 51 436 221388800 2100
69275657 realSpongeBob D Jan. 22, 2020, 1:49 a.m. OK GNU C++11 TESTS 70 62 6451200 2100
69276576 luogu_bot3 D Jan. 22, 2020, 2:40 a.m. OK GNU C++11 TESTS 70 62 6451200 2100
68193590 yqaty D Jan. 4, 2020, 2:08 p.m. OK GNU C++11 TESTS 51 78 6144000 2100
68182376 sagumew D Jan. 4, 2020, 1:07 p.m. OK GNU C++11 TESTS 51 78 7065600 2100
68184413 CYJian D Jan. 4, 2020, 1:17 p.m. OK GNU C++11 TESTS 51 78 8294400 2100
68229785 CYJian D Jan. 5, 2020, 8:45 a.m. OK GNU C++11 TESTS 68 78 8294400 2100
69472038 shuashuawan D Jan. 24, 2020, 2:51 p.m. OK GNU C++11 TESTS 70 78 18022400 2100
69089038 vjudge5 D Jan. 19, 2020, 9:27 a.m. OK GNU C++11 TESTS 70 93 2969600 2100
68695636 Juanzhang D Jan. 13, 2020, 7:49 a.m. OK GNU C++11 TESTS 70 93 6451200 2100
68175279 yasugongshang D Jan. 4, 2020, 12:34 p.m. OK GNU C++11 TESTS 51 93 7270400 2100
69088895 Asif_Sanjary D Jan. 19, 2020, 9:24 a.m. OK GNU C++14 TESTS 70 108 3174400 2100
68187360 Lunat D Jan. 4, 2020, 1:33 p.m. OK GNU C++14 TESTS 51 109 1638400 2100
69084796 Asif_Sanjary D Jan. 19, 2020, 7:53 a.m. OK GNU C++14 TESTS 70 109 4812800 2100
68189170 Egor D Jan. 4, 2020, 1:43 p.m. OK GNU C++14 TESTS 51 109 7270400 2100
68350960 IgoRamli D Jan. 7, 2020, 9:49 a.m. OK GNU C++14 TESTS 70 139 11264000 2100
68327865 OTTFF D Jan. 6, 2020, 5:33 p.m. OK GNU C++14 TESTS 70 140 5632000 2100
69082700 c337134154 D Jan. 19, 2020, 7:05 a.m. OK GNU C++14 TESTS 70 140 6451200 2100
68203680 Naturain D Jan. 4, 2020, 4:44 p.m. OK GNU C++14 TESTS 51 155 5222400 2100
68225591 Naturain D Jan. 5, 2020, 7 a.m. OK GNU C++14 TESTS 68 155 5632000 2100
68314811 llx2020 D Jan. 6, 2020, 12:48 p.m. OK GNU C++14 TESTS 70 155 5632000 2100
68203358 vito1036 D Jan. 4, 2020, 4:39 p.m. OK GNU C++17 TESTS 51 61 7987200 2100
68211898 vito1036 D Jan. 4, 2020, 7:48 p.m. OK GNU C++17 TESTS 51 62 6348800 2100
68202313 vito1036 D Jan. 4, 2020, 4:26 p.m. OK GNU C++17 TESTS 51 62 7987200 2100
68212252 vito1036 D Jan. 4, 2020, 8:01 p.m. OK GNU C++17 TESTS 51 108 6348800 2100
68218496 YoungK D Jan. 5, 2020, 2:37 a.m. OK GNU C++17 TESTS 51 139 1638400 2100
68205508 Alchemist0 D Jan. 4, 2020, 5:15 p.m. OK GNU C++17 TESTS 51 139 7987200 2100
68203810 olya.masaeva D Jan. 4, 2020, 4:46 p.m. OK GNU C++17 TESTS 51 140 1638400 2100
68437653 kongroo D Jan. 9, 2020, 9:36 a.m. OK GNU C++17 TESTS 70 140 7270400 2100
68198545 vito1036 D Jan. 4, 2020, 2:33 p.m. OK GNU C++17 TESTS 51 140 7987200 2100
69052970 Siyuan D Jan. 18, 2020, 1:23 p.m. OK GNU C++17 TESTS 70 140 24064000 2100
68177064 eatmore D Jan. 4, 2020, 12:42 p.m. OK Java 11 TESTS 51 343 614400 2100
68193311 potatmen D Jan. 4, 2020, 2:06 p.m. OK Java 11 TESTS 51 451 8601600 2100
68182774 mikit D Jan. 4, 2020, 1:09 p.m. OK Java 11 TESTS 51 997 9523200 2100
68182760 barakraganosungam D Jan. 4, 2020, 1:09 p.m. OK Java 11 TESTS 51 1200 32563200 2100
68185577 Ahmad D Jan. 4, 2020, 1:23 p.m. OK Java 8 TESTS 51 311 20377600 2100
68202717 dusty.and.rusty D Jan. 4, 2020, 4:31 p.m. OK Java 8 TESTS 51 452 17305600 2100
68207363 polyakoff D Jan. 4, 2020, 5:53 p.m. OK Java 8 TESTS 51 514 8396800 2100
68178006 dalt D Jan. 4, 2020, 12:46 p.m. OK Java 8 TESTS 51 577 49766400 2100
68213222 2u_my_light D Jan. 4, 2020, 8:38 p.m. OK Java 8 TESTS 51 826 17305600 2100
68192720 NinjaDoggy D Jan. 4, 2020, 2:03 p.m. OK Java 8 TESTS 51 857 5836800 2100
68206943 Xylenox D Jan. 4, 2020, 5:44 p.m. OK Java 8 TESTS 51 904 19558400 2100
68241746 insert_cool_handle D Jan. 5, 2020, 1:03 p.m. OK Java 8 TESTS 70 904 33587200 2100
68208785 KharYusuf D Jan. 4, 2020, 6:23 p.m. OK Java 8 TESTS 51 920 41881600 2100
68186397 conqueror_of_tourist D Jan. 4, 2020, 1:28 p.m. OK Java 8 TESTS 51 950 22425600 2100
68553630 Spheniscine D Jan. 10, 2020, 4:18 p.m. OK Kotlin TESTS 70 1200 17612800 2100
68186463 knightL D Jan. 4, 2020, 1:28 p.m. OK Kotlin TESTS 51 1731 20377600 2100
68181411 Tlatoani D Jan. 4, 2020, 1:02 p.m. OK Kotlin TESTS 51 1840 38912000 2100
68187287 EmK D Jan. 4, 2020, 1:33 p.m. OK Mono C# TESTS 51 576 36352000 2100
68198353 hibatibati D Jan. 4, 2020, 2:32 p.m. OK Mono C# TESTS 51 951 18841600 2100
68185126 keymoon D Jan. 4, 2020, 1:21 p.m. OK Mono C# TESTS 51 1045 62361600 2100
68222676 DM7PvTyc D Jan. 5, 2020, 5:42 a.m. OK Mono C# TESTS 68 1715 24985600 2100
68771596 vjudge2 D Jan. 14, 2020, 12:03 p.m. OK MS C++ TESTS 70 202 4812800 2100
68193792 math957963 D Jan. 4, 2020, 2:09 p.m. OK MS C++ TESTS 51 202 20582400 2100
68204086 tarattata1 D Jan. 4, 2020, 4:50 p.m. OK MS C++ TESTS 51 390 10752000 2100
68747717 vjudge1 D Jan. 14, 2020, 5:27 a.m. OK MS C++ TESTS 70 451 7987200 2100
68198554 r57shell D Jan. 4, 2020, 2:33 p.m. OK MS C++ TESTS 51 811 36966400 2100
68189239 tarattata1 D Jan. 4, 2020, 1:43 p.m. OK MS C++ TESTS 51 1403 21913600 2100
68203382 AleksanderBalobanov D Jan. 4, 2020, 4:39 p.m. OK MS C++ 2017 TESTS 51 327 22425600 2100
68209841 youx D Jan. 4, 2020, 6:50 p.m. OK MS C++ 2017 TESTS 51 389 18841600 2100
68195831 imbirik D Jan. 4, 2020, 2:20 p.m. OK MS C++ 2017 TESTS 51 545 22528000 2100
68207626 AlexanderL D Jan. 4, 2020, 5:59 p.m. OK MS C++ 2017 TESTS 51 654 10035200 2100
68658788 sudha_18501 D Jan. 12, 2020, 1 p.m. OK MS C++ 2017 TESTS 70 670 9728000 2100
68228050 Alexandr_TS D Jan. 5, 2020, 8:01 a.m. OK MS C++ 2017 TESTS 68 670 10547200 2100
68641699 18wh1a0546 D Jan. 12, 2020, 7:44 a.m. OK MS C++ 2017 TESTS 70 701 9728000 2100
68608388 varsha_18524 D Jan. 11, 2020, 2:49 p.m. OK MS C++ 2017 TESTS 70 717 9728000 2100
68185807 Catmoonlight D Jan. 4, 2020, 1:25 p.m. OK MS C++ 2017 TESTS 51 779 9216000 2100
68187576 vpike D Jan. 4, 2020, 1:34 p.m. OK MS C++ 2017 TESTS 51 779 10649600 2100
68197499 infinigon D Jan. 4, 2020, 2:28 p.m. OK Ocaml TESTS 51 810 23961600 2100
68675408 MVP D Jan. 12, 2020, 6:25 p.m. OK PyPy 2 TESTS 70 1981 65843200 2100
68229587 Kiri8128 D Jan. 5, 2020, 8:40 a.m. OK PyPy 3 TESTS 68 904 54988800 2100
69451892 c337134154 D Jan. 24, 2020, 6:37 a.m. OK PyPy 3 TESTS 70 951 56524800 2100
68229895 Kiri8128 D Jan. 5, 2020, 8:48 a.m. OK PyPy 3 TESTS 68 967 52531200 2100
69451608 c337134154 D Jan. 24, 2020, 6:29 a.m. OK PyPy 3 TESTS 70 1060 65945600 2100
68197042 neterukun D Jan. 4, 2020, 2:26 p.m. OK PyPy 3 TESTS 51 1653 61337600 2100
68230640 pineriver D Jan. 5, 2020, 9:03 a.m. OK PyPy 3 TESTS 68 1747 122675200 2100
68198408 Kiri8128 D Jan. 4, 2020, 2:32 p.m. OK PyPy 3 TESTS 51 1856 64204800 2100
68197815 pineriver D Jan. 4, 2020, 2:29 p.m. OK PyPy 3 TESTS 51 1871 123289600 2100
68208101 Kiri8128 D Jan. 4, 2020, 6:08 p.m. OK PyPy 3 TESTS 51 1980 86323200 2100
68208166 Kiri8128 D Jan. 4, 2020, 6:09 p.m. OK PyPy 3 TESTS 51 1981 90931200 2100
68240431 titia D Jan. 5, 2020, 12:35 p.m. OK Python 3 TESTS 70 1653 37990400 2100
68217729 terraformer D Jan. 5, 2020, 1:47 a.m. OK Rust TESTS 51 467 16998400 2100
68187047 ichyo D Jan. 4, 2020, 1:31 p.m. OK Rust TESTS 51 561 17817600 2100
68189225 tuna_salad D Jan. 4, 2020, 1:43 p.m. OK Rust TESTS 51 701 21504000 2100

remove filters

Back to search problems