Codeforces Round 680 (Div. 2, based on Moscow Team Olympiad)

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
1445 Codeforces Round 680 (Div. 2, based on Moscow Team Olympiad) FINISHED False 7200 127594499 Nov. 1, 2020, 11:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 15350 ) B Elimination PROGRAMMING math

B'There is a famous olympiad, which has more than a hundred participants. The Olympiad consists of two stages: the elimination stage, and the final stage. At least a hundred participants will advance to the final stage. The elimination stage in turn consists of two contests. A result of the elimination stage is the total score in two contests, but, unfortunately, the jury lost the final standings and has only standings for the first and for the second contest separately. In each contest, the participants are ranked by their point score in non-increasing order. When two participants have a tie (earned the same score), they are ranked by their passport number (in accordance with local regulations, all passport numbers are distinct). In the first contest, the participant on the 100-th place scored a points. Also, the jury checked all participants from the 1-st to the 100-th place (inclusive) in the first contest and found out that all of them have at least b points in the second contest. Similarly, for the second contest, the participant on the 100-th place has c points. And the jury checked that all the participants from the 1-st to the 100-th place (inclusive) have at least d points in the first contest. After two contests, all participants are ranked by their total score in two contests in non-increasing order. When participants have the same total score, tie-breaking with passport numbers is used. The cutoff score to qualify to the final stage is the total score of the participant on the 100-th place. Given integers a , b , c , d , please help the jury determine the smallest possible value of the cutoff score. You need to process t test cases. The first line contains an integer t ( 1 <= q t <= q 3025 ) -- the number of test cases. Then descriptions of t test cases follow. The first line of each test case contains four integers a , b , c , d ( 0 <= a, ,b, ,c, ,d <= '...

Tutorials

Codeforces Round #680 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
97359345 Gassa B Nov. 1, 2020, 1:54 p.m. OK D TESTS 3 46 0
97353939 ke_123 B Nov. 1, 2020, 1:03 p.m. OK GNU C11 TESTS 3 15 0
97344575 8848isdada B Nov. 1, 2020, 12:35 p.m. OK GNU C11 TESTS 3 15 0
97397336 mayeed B Nov. 2, 2020, 4:37 a.m. OK GNU C11 TESTS 3 15 0
97400943 rky673 B Nov. 2, 2020, 5:57 a.m. OK GNU C11 TESTS 3 15 0
97390333 BugLeave B Nov. 2, 2020, 12:37 a.m. OK GNU C11 TESTS 3 30 0
97373349 ja1467 B Nov. 1, 2020, 4:46 p.m. OK GNU C11 TESTS 3 30 0
97354745 babaiserror B Nov. 1, 2020, 1:04 p.m. OK GNU C11 TESTS 3 31 0
97350375 allay B Nov. 1, 2020, 12:53 p.m. OK GNU C11 TESTS 3 31 0
97348920 NeelShah B Nov. 1, 2020, 12:49 p.m. OK GNU C11 TESTS 3 31 0
97397860 AdarshGupta1 B Nov. 2, 2020, 4:51 a.m. OK GNU C11 TESTS 3 31 0
97348139 somanaik B Nov. 1, 2020, 12:46 p.m. OK GNU C++11 TESTS 3 0 0
97393713 tphuc2908 B Nov. 2, 2020, 2:53 a.m. OK GNU C++11 TESTS 3 15 0
97400837 vice_why112 B Nov. 2, 2020, 5:55 a.m. OK GNU C++11 TESTS 3 15 0
97399985 pinog B Nov. 2, 2020, 5:38 a.m. OK GNU C++11 TESTS 3 15 0
97398964 sandoval B Nov. 2, 2020, 5:16 a.m. OK GNU C++11 TESTS 3 15 0
97398923 AbdurashidZhez B Nov. 2, 2020, 5:15 a.m. OK GNU C++11 TESTS 3 15 0
97397091 yinzai B Nov. 2, 2020, 4:30 a.m. OK GNU C++11 TESTS 3 15 0
97397050 YJEthan B Nov. 2, 2020, 4:29 a.m. OK GNU C++11 TESTS 3 15 0
97395746 olimpo B Nov. 2, 2020, 3:49 a.m. OK GNU C++11 TESTS 3 15 0
97392757 4790iop B Nov. 2, 2020, 2:25 a.m. OK GNU C++11 TESTS 3 15 0
97357436 123456bei B Nov. 1, 2020, 1:37 p.m. OK GNU C++14 TESTS 3 0 0
97349855 vikrambish B Nov. 1, 2020, 12:52 p.m. OK GNU C++14 TESTS 3 0 0
97395266 Itsmdshahin B Nov. 2, 2020, 3:37 a.m. OK GNU C++14 TESTS 3 0 1024000
97398854 f2016941 B Nov. 2, 2020, 5:14 a.m. OK GNU C++14 TESTS 3 15 0
97395686 saurav1717 B Nov. 2, 2020, 3:48 a.m. OK GNU C++14 TESTS 3 15 0
97390247 Murtaza1112 B Nov. 2, 2020, 12:34 a.m. OK GNU C++14 TESTS 3 15 0
97399053 sher_locked99 B Nov. 2, 2020, 5:18 a.m. OK GNU C++14 TESTS 3 15 0
97399221 hemantraj712 B Nov. 2, 2020, 5:22 a.m. OK GNU C++14 TESTS 3 15 0
97399314 myth_69 B Nov. 2, 2020, 5:24 a.m. OK GNU C++14 TESTS 3 15 0
97399332 sanskar_kush11 B Nov. 2, 2020, 5:24 a.m. OK GNU C++14 TESTS 3 15 0
97360330 Igor_2017 B Nov. 1, 2020, 2:04 p.m. OK GNU C++17 TESTS 3 0 0
97397607 Jaincode123 B Nov. 2, 2020, 4:44 a.m. OK GNU C++17 TESTS 3 15 0
97397510 sudhirnandlalpal B Nov. 2, 2020, 4:42 a.m. OK GNU C++17 TESTS 3 15 0
97397803 shubham7999 B Nov. 2, 2020, 4:50 a.m. OK GNU C++17 TESTS 3 15 0
97400354 illogical_Coder B Nov. 2, 2020, 5:45 a.m. OK GNU C++17 TESTS 3 15 0
97400612 djdarshan7 B Nov. 2, 2020, 5:51 a.m. OK GNU C++17 TESTS 3 15 0
97400288 Ashwathama B Nov. 2, 2020, 5:44 a.m. OK GNU C++17 TESTS 3 15 0
97398683 v.run B Nov. 2, 2020, 5:11 a.m. OK GNU C++17 TESTS 3 15 0
97398568 Alisher B Nov. 2, 2020, 5:08 a.m. OK GNU C++17 TESTS 3 15 0
97397878 _arp_ B Nov. 2, 2020, 4:52 a.m. OK GNU C++17 TESTS 3 15 0
97373184 Atoev__Urvatullo B Nov. 1, 2020, 4:43 p.m. OK GNU C++17 (64) TESTS 3 0 0
97358953 arpan_100 B Nov. 1, 2020, 1:50 p.m. OK GNU C++17 (64) TESTS 3 0 0
97379891 rushiS007 B Nov. 1, 2020, 6:35 p.m. OK GNU C++17 (64) TESTS 3 0 0
97373396 PurpleCrayon B Nov. 1, 2020, 4:46 p.m. OK GNU C++17 (64) TESTS 3 0 0
97385244 _KMS_ B Nov. 1, 2020, 8:42 p.m. OK GNU C++17 (64) TESTS 3 0 7987200
97398309 israil445 B Nov. 2, 2020, 5:03 a.m. OK GNU C++17 (64) TESTS 3 15 0
97397096 diyora13 B Nov. 2, 2020, 4:30 a.m. OK GNU C++17 (64) TESTS 3 15 0
97393232 vjudge2 B Nov. 2, 2020, 2:40 a.m. OK GNU C++17 (64) TESTS 3 15 0
97400658 randow B Nov. 2, 2020, 5:51 a.m. OK GNU C++17 (64) TESTS 3 15 0
97397589 JooDdae B Nov. 2, 2020, 4:44 a.m. OK GNU C++17 (64) TESTS 3 15 0
97366792 kunalkatiyar9 B Nov. 1, 2020, 3:17 p.m. OK Java 11 TESTS 3 155 0
97390000 Agnimandur B Nov. 2, 2020, 12:22 a.m. OK Java 11 TESTS 3 155 0
97360952 vipin__sharma B Nov. 1, 2020, 2:10 p.m. OK Java 11 TESTS 3 155 0
97347290 akman10 B Nov. 1, 2020, 12:44 p.m. OK Java 11 TESTS 3 155 0
97372317 kiberKotleta2009 B Nov. 1, 2020, 4:29 p.m. OK Java 11 TESTS 3 171 0
97355642 shekabhi369 B Nov. 1, 2020, 1:25 p.m. OK Java 11 TESTS 3 171 0
97389910 Jason_hacker B Nov. 2, 2020, 12:17 a.m. OK Java 11 TESTS 3 171 0
97387662 blackBird B Nov. 1, 2020, 10:13 p.m. OK Java 11 TESTS 3 171 0
97383505 mphillotry B Nov. 1, 2020, 7:51 p.m. OK Java 11 TESTS 3 171 0
97398908 bishal141119 B Nov. 2, 2020, 5:15 a.m. OK Java 11 TESTS 3 186 0
97356807 prezrohit B Nov. 1, 2020, 1:32 p.m. OK Java 8 TESTS 3 93 0
97344736 cu.17bcs1685 B Nov. 1, 2020, 12:35 p.m. OK Java 8 TESTS 3 93 0
97349500 Om_Prakash B Nov. 1, 2020, 12:51 p.m. OK Java 8 TESTS 3 93 0
97385566 procrastinate7 B Nov. 1, 2020, 8:52 p.m. OK Java 8 TESTS 3 93 0
97380043 RichardBot7000 B Nov. 1, 2020, 6:37 p.m. OK Java 8 TESTS 3 93 0
97355632 arpit_c10992 B Nov. 1, 2020, 1:25 p.m. OK Java 8 TESTS 3 93 0
97348985 XiangLi B Nov. 1, 2020, 12:49 p.m. OK Java 8 TESTS 3 108 0
97360615 ujjwalavishek B Nov. 1, 2020, 2:07 p.m. OK Java 8 TESTS 3 108 0
97359876 coolManit B Nov. 1, 2020, 1:59 p.m. OK Java 8 TESTS 3 108 0
97352982 pulkit14 B Nov. 1, 2020, 1:01 p.m. OK Java 8 TESTS 3 108 0
97361048 koper B Nov. 1, 2020, 2:11 p.m. OK Kotlin TESTS 3 155 614400
97348170 ggxxdd B Nov. 1, 2020, 12:46 p.m. OK MS C++ TESTS 3 30 0
97349317 FGXAchilles B Nov. 1, 2020, 12:50 p.m. OK MS C++ TESTS 3 31 0
97349724 CXD123 B Nov. 1, 2020, 12:52 p.m. OK MS C++ TESTS 3 46 0
97348876 wm233 B Nov. 1, 2020, 12:49 p.m. OK MS C++ TESTS 3 46 0
97344210 xuyuchen B Nov. 1, 2020, 12:34 p.m. OK MS C++ 2017 TESTS 3 30 0
97348978 kiruhah B Nov. 1, 2020, 12:49 p.m. OK MS C++ 2017 TESTS 3 30 0
97373068 thy0602 B Nov. 1, 2020, 4:41 p.m. OK MS C++ 2017 TESTS 3 31 0
97376926 kopris B Nov. 1, 2020, 5:44 p.m. OK MS C++ 2017 TESTS 3 31 0
97365294 dominotim B Nov. 1, 2020, 2:59 p.m. OK MS C++ 2017 TESTS 3 31 0
97358967 ustaritz B Nov. 1, 2020, 1:50 p.m. OK MS C++ 2017 TESTS 3 31 0
97345160 yanhao B Nov. 1, 2020, 12:37 p.m. OK MS C++ 2017 TESTS 3 31 0
97344358 tawfekhesham B Nov. 1, 2020, 12:34 p.m. OK MS C++ 2017 TESTS 3 31 1024000
97358546 Gravekper B Nov. 1, 2020, 1:46 p.m. OK MS C++ 2017 TESTS 3 46 0
97352740 VladislavArt B Nov. 1, 2020, 1 p.m. OK MS C++ 2017 TESTS 3 46 0
97360156 FadBy B Nov. 1, 2020, 2:02 p.m. OK .NET Core C# TESTS 3 93 921600
97360899 ansergeyg B Nov. 1, 2020, 2:10 p.m. OK .NET Core C# TESTS 3 93 1024000
97350292 Kiral55 B Nov. 1, 2020, 12:53 p.m. OK PHP TESTS 3 46 0
97373597 beethoven97 B Nov. 1, 2020, 4:50 p.m. OK PyPy 2 TESTS 3 233 1024000
97368675 shadoX B Nov. 1, 2020, 3:40 p.m. OK PyPy 3 TESTS 3 155 3379200
97364428 umrhiumrhi B Nov. 1, 2020, 2:49 p.m. OK PyPy 3 TESTS 3 155 3379200
97344707 bitshifter42 B Nov. 1, 2020, 12:35 p.m. OK PyPy 3 TESTS 3 155 3584000
97394286 lmatt B Nov. 2, 2020, 3:10 a.m. OK PyPy 3 TESTS 3 155 4198400
97377459 reddevil100 B Nov. 1, 2020, 5:53 p.m. OK PyPy 3 TESTS 3 170 2764800
97373099 tiwari0000 B Nov. 1, 2020, 4:42 p.m. OK PyPy 3 TESTS 3 170 4505600
97396695 derek1234 B Nov. 2, 2020, 4:19 a.m. OK PyPy 3 TESTS 3 171 3584000
97373087 BelieveInYourself B Nov. 1, 2020, 4:41 p.m. OK PyPy 3 TESTS 3 171 3584000
97385245 Sahitya02 B Nov. 1, 2020, 8:42 p.m. OK PyPy 3 TESTS 3 171 3891200
97375094 TheVan B Nov. 1, 2020, 5:14 p.m. OK PyPy 3 TESTS 3 186 3686400
97360772 ytsong B Nov. 1, 2020, 2:09 p.m. OK Python 3 TESTS 3 93 0
97344780 mk_mohtashim B Nov. 1, 2020, 12:36 p.m. OK Python 3 TESTS 3 93 0
97378282 zimpZamp B Nov. 1, 2020, 6:06 p.m. OK Python 3 TESTS 3 93 307200
97378557 Man24 B Nov. 1, 2020, 6:11 p.m. OK Python 3 TESTS 3 108 0
97372932 funkid B Nov. 1, 2020, 4:39 p.m. OK Python 3 TESTS 3 108 0
97372373 Lithosphere B Nov. 1, 2020, 4:30 p.m. OK Python 3 TESTS 3 108 0
97344738 thenromanov B Nov. 1, 2020, 12:35 p.m. OK Python 3 TESTS 3 108 0
97353578 anoop.anil199821 B Nov. 1, 2020, 1:02 p.m. OK Python 3 TESTS 3 108 0
97367209 skiracer B Nov. 1, 2020, 3:22 p.m. OK Python 3 TESTS 3 108 0
97365239 rtsaurav B Nov. 1, 2020, 2:58 p.m. OK Python 3 TESTS 3 108 0

remove filters

Back to search problems