Educational Codeforces Round 92 (Rated for 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
1389 Educational Codeforces Round 92 (Rated for Div. 2) FINISHED False 7200 135789899 July 29, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3473 ) E Calendar Ambiguity PROGRAMMING math number theory

B'Berland year consists of m months with d days each. Months are numbered from 1 to m . Berland week consists of w days. The first day of the year is also the first day of the week. Note that the last week of the year might be shorter than w days. A pair (x, y) such that x < y is ambiguous if day x of month y is the same day of the week as day y of month x . Count the number of ambiguous pairs. The first line contains a single integer t ( 1 <= t <= 1000 ) -- the number of testcases. Each of the next t lines contains three integers m , d and w ( 1 <= m, d, w <= 10^9 ) -- the number of months in a year, the number of days in a month and the number of days in a week. Print t integers -- for each testcase output the number of pairs (x, y) such that x < y and day x of month y is the same day of the week as day y of month x . Here are the pairs for the first test case: '...

Tutorials

80809

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
88923449 dyxx E Aug. 5, 2020, 7:03 a.m. OK GNU C11 TESTS 10 15 3686400
88762353 xyzyzl_ E Aug. 2, 2020, 10:17 p.m. OK GNU C11 TESTS 10 31 3686400
90016691 WTY_ZJOI E Aug. 15, 2020, 12:05 p.m. OK GNU C++11 TESTS 10 15 0
89875087 yuzhechuan E Aug. 14, 2020, 1:42 p.m. OK GNU C++11 TESTS 10 15 0
89793675 WhiteCmile E Aug. 13, 2020, 12:33 p.m. OK GNU C++11 TESTS 10 15 0
91210857 yy_makemelove E Aug. 28, 2020, 1:19 p.m. OK GNU C++11 TESTS 10 15 0
91114877 ChenKaifeng E Aug. 27, 2020, 8:06 a.m. OK GNU C++11 TESTS 10 15 0
91558377 Igor_Zielinski E Sept. 1, 2020, 10:59 a.m. OK GNU C++11 TESTS 10 15 0
91648020 BLUESKY007 E Sept. 2, 2020, 2:11 p.m. OK GNU C++11 TESTS 10 15 0
89839214 luogu_bot5 E Aug. 14, 2020, 4 a.m. OK GNU C++11 TESTS 10 15 1024000
89486880 Eganrak E Aug. 10, 2020, 6:50 a.m. OK GNU C++11 TESTS 10 15 3686400
89653054 hyt E Aug. 12, 2020, 1:08 p.m. OK GNU C++11 TESTS 10 15 3686400
90045500 Natsu01 E Aug. 15, 2020, 8:36 p.m. OK GNU C++14 TESTS 10 15 0
88867219 AM_I_Learning E Aug. 4, 2020, 11:56 a.m. OK GNU C++14 TESTS 10 15 3686400
89078575 gemini_man E Aug. 6, 2020, 1:30 a.m. OK GNU C++14 TESTS 10 15 3686400
89804854 pvannvuILQD E Aug. 13, 2020, 2:52 p.m. OK GNU C++14 TESTS 10 30 0
90499836 mahdi.hasnat E Aug. 20, 2020, 11:52 p.m. OK GNU C++14 TESTS 10 30 0
89813147 codingkshatriya E Aug. 13, 2020, 4:34 p.m. OK GNU C++14 TESTS 10 30 0
88906887 daxkofficial E Aug. 5, 2020, 12:05 a.m. OK GNU C++14 TESTS 10 30 3686400
89369965 higro E Aug. 9, 2020, 2:46 a.m. OK GNU C++14 TESTS 10 30 3686400
89625952 dimdim E Aug. 12, 2020, 6:17 a.m. OK GNU C++14 TESTS 10 30 3686400
89540996 num73 E Aug. 11, 2020, 1:01 a.m. OK GNU C++14 TESTS 10 30 3686400
88903573 lclpsoz E Aug. 4, 2020, 9:14 p.m. OK GNU C++17 TESTS 10 15 3686400
89323587 anish_sofat E Aug. 8, 2020, 9:41 a.m. OK GNU C++17 TESTS 10 15 3686400
88699095 wenqi E Aug. 2, 2020, 2:10 a.m. OK GNU C++17 TESTS 10 15 3686400
88642501 WJMDBMR E Aug. 1, 2020, 7:25 a.m. OK GNU C++17 TESTS 10 15 3788800
88640196 kira2612 E Aug. 1, 2020, 6:51 a.m. OK GNU C++17 TESTS 10 15 3788800
90453635 rohanblueboybaijal E Aug. 20, 2020, 10:24 a.m. OK GNU C++17 TESTS 10 30 0
90449128 aaryandosaj E Aug. 20, 2020, 9:12 a.m. OK GNU C++17 TESTS 10 30 0
90448358 Mudit_Bhardwaj E Aug. 20, 2020, 9:01 a.m. OK GNU C++17 TESTS 10 30 0
91710635 aka2000_14 E Sept. 3, 2020, 11:07 a.m. OK GNU C++17 TESTS 10 30 0
91280137 _comfortably_numb E Aug. 29, 2020, 11:26 a.m. OK GNU C++17 TESTS 10 30 0
91170719 lucifer1004 E Aug. 27, 2020, 11:06 p.m. OK GNU C++17 (64) TESTS 10 15 0
89788456 uruuru8888 E Aug. 13, 2020, 11:27 a.m. OK GNU C++17 (64) TESTS 10 15 204800
88859520 Nanored E Aug. 4, 2020, 9:47 a.m. OK GNU C++17 (64) TESTS 10 15 4300800
88702371 vjudge5 E Aug. 2, 2020, 4:10 a.m. OK GNU C++17 (64) TESTS 10 15 4300800
88686610 tonyli00000 E Aug. 1, 2020, 6:13 p.m. OK GNU C++17 (64) TESTS 10 15 4300800
89124456 sharrad99 E Aug. 6, 2020, 1:15 p.m. OK GNU C++17 (64) TESTS 10 15 4300800
88684898 8-_-8 E Aug. 1, 2020, 5:40 p.m. OK GNU C++17 (64) TESTS 10 15 4300800
88867591 hiddenStudent E Aug. 4, 2020, 12:01 p.m. OK GNU C++17 (64) TESTS 10 15 4300800
89793499 ivan100sic E Aug. 13, 2020, 12:31 p.m. OK GNU C++17 (64) TESTS 10 30 204800
90712252 Apelsinus E Aug. 22, 2020, 6:54 p.m. OK GNU C++17 (64) TESTS 10 30 4300800
90362152 PizzaLovers007 E Aug. 19, 2020, 6:15 a.m. OK Java 11 TESTS 10 186 0
88779392 Richard727 E Aug. 3, 2020, 7:23 a.m. OK Java 11 TESTS 10 202 23859200
88642018 saniya3010 E Aug. 1, 2020, 7:18 a.m. OK Java 11 TESTS 10 217 23859200
88908205 StepMommy E Aug. 5, 2020, 1:13 a.m. OK Java 11 TESTS 10 248 24473600
90193841 eng_hardik E Aug. 17, 2020, 4:55 a.m. OK Java 8 TESTS 10 109 0
89482024 lucasmaps E Aug. 10, 2020, 5:30 a.m. OK Java 8 TESTS 10 109 20377600
88788385 godxpunk E Aug. 3, 2020, 9:58 a.m. OK Java 8 TESTS 10 109 20377600
88880006 bhautik_77 E Aug. 4, 2020, 2:35 p.m. OK Java 8 TESTS 10 109 20684800
88673850 an09mous E Aug. 1, 2020, 2:45 p.m. OK Java 8 TESTS 10 124 20377600
88677000 shubho96 E Aug. 1, 2020, 3:30 p.m. OK Java 8 TESTS 10 124 20480000
89205660 sef E Aug. 7, 2020, 12:58 p.m. OK Java 8 TESTS 10 139 20480000
90856091 RichardBot7000 E Aug. 24, 2020, 7:43 p.m. OK Java 8 TESTS 10 171 0
88915596 wuchaojie925 E Aug. 5, 2020, 4:45 a.m. OK Kotlin TESTS 10 155 21606400
90782705 Anish1712 E Aug. 23, 2020, 8:03 p.m. OK Kotlin TESTS 10 170 21708800
88927621 canderys E Aug. 5, 2020, 8:10 a.m. OK Kotlin TESTS 10 171 21708800
90524778 azukun E Aug. 21, 2020, 10:54 a.m. OK Mono C# TESTS 10 62 10854400
89508727 EmK E Aug. 10, 2020, 12:26 p.m. OK Mono C# TESTS 10 62 108953600
90104708 Ivan_Dunko E Aug. 16, 2020, 2:53 p.m. OK MS C++ 2017 TESTS 10 31 0
88904439 deltameth E Aug. 4, 2020, 9:47 p.m. OK MS C++ 2017 TESTS 10 31 3686400
89162076 yumtam E Aug. 6, 2020, 11:25 p.m. OK PyPy 2 TESTS 10 109 23552000
88660666 raj1307 E Aug. 1, 2020, 11:43 a.m. OK PyPy 2 TESTS 10 187 23552000
88719394 tycyd E Aug. 2, 2020, 9:37 a.m. OK PyPy 3 TESTS 10 171 23859200
88817425 me170003054 E Aug. 3, 2020, 4:52 p.m. OK PyPy 3 TESTS 10 187 23040000
88912989 _.THUNDER._ E Aug. 5, 2020, 3:39 a.m. OK PyPy 3 TESTS 10 187 23244800
89154135 timdresv E Aug. 6, 2020, 7:19 p.m. OK PyPy 3 TESTS 10 187 23449600
88657710 zayaz777 E Aug. 1, 2020, 11 a.m. OK PyPy 3 TESTS 10 187 24268800
91541991 dynam1c E Sept. 1, 2020, 6:46 a.m. OK PyPy 3 TESTS 10 202 2867200
89516288 nowrin_brown E Aug. 10, 2020, 2:06 p.m. OK PyPy 3 TESTS 10 202 23040000
88678343 nikolapesic2802 E Aug. 1, 2020, 3:51 p.m. OK PyPy 3 TESTS 10 202 23040000
88640329 neterukun E Aug. 1, 2020, 6:53 a.m. OK PyPy 3 TESTS 10 202 23142400
88674836 aaaaaaaaaa2230 E Aug. 1, 2020, 2:59 p.m. OK PyPy 3 TESTS 10 218 23142400
88807692 _Backl1ght E Aug. 3, 2020, 2:33 p.m. OK Python 3 TESTS 10 93 6963200
90906296 mrudula_2000 E Aug. 25, 2020, 2:11 p.m. OK Python 3 TESTS 10 109 0
90044853 rbamhore20 E Aug. 15, 2020, 8:16 p.m. OK Python 3 TESTS 10 109 0
88949978 antik_64 E Aug. 5, 2020, 1:27 p.m. OK Python 3 TESTS 10 109 6656000
88924147 janardhan_6635 E Aug. 5, 2020, 7:14 a.m. OK Python 3 TESTS 10 109 6758400
88863807 steph1 E Aug. 4, 2020, 10:51 a.m. OK Python 3 TESTS 10 109 6963200
89828186 chromium97 E Aug. 13, 2020, 9:25 p.m. OK Python 3 TESTS 10 124 0
88750347 fayezazeyan E Aug. 2, 2020, 5:11 p.m. OK Python 3 TESTS 10 124 6656000
88736320 sunitha2000 E Aug. 2, 2020, 1:56 p.m. OK Python 3 TESTS 10 124 6656000
88640580 jaaguptamme E Aug. 1, 2020, 6:57 a.m. OK Python 3 TESTS 10 124 6656000
88818552 Andrey_R E Aug. 3, 2020, 5:10 p.m. OK Ruby TESTS 10 483 48947200
88726492 Strorkis E Aug. 2, 2020, 11:23 a.m. OK Rust TESTS 10 61 3788800

remove filters

Back to search problems