Educational Codeforces Round 95 (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
1418 Educational Codeforces Round 95 (Rated for Div. 2) FINISHED False 7200 137085863 Sept. 14, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2082 ) G Three Occurrences PROGRAMMING data structures hashing two pointers

B'You are given an array a consisting of n integers. We denote the subarray a[l..r] as the array [a_l, a_{l + 1}, ... , a_r] ( 1 <= l <= r <= n ). A subarray is considered good if every integer that occurs in this subarray occurs there exactly thrice. For example, the array [1, 2, 2, 2, 1, 1, 2, 2, 2] has three good subarrays: Calculate the number of good subarrays of the given array a . The first line contains one integer n ( 1 <= n <= 5 cdot 10^5 ). The second line contains n integers a_1 , a_2 , ..., a_n ( 1 <= a_i <= n ). Print one integer -- the number of good subarrays of the array a . '...

Tutorials

Unofficial Editorial for Educational Round 95 (Div. 2)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
92831984 MOAstray G Sept. 14, 2020, 4:01 p.m. OK GNU C++11 TESTS 87 530 36147200
92869758 Asriel_Dreemurr G Sept. 15, 2020, 3:53 a.m. OK GNU C++11 TESTS 87 545 36044800
92868630 YLWang G Sept. 15, 2020, 3:24 a.m. OK GNU C++11 TESTS 87 592 36352000
92835714 KilIerX G Sept. 14, 2020, 4:17 p.m. OK GNU C++11 TESTS 87 639 41267200
92865346 fzszchy2001 G Sept. 15, 2020, 1:36 a.m. OK GNU C++11 TESTS 87 654 56217600
92863272 RainAir G Sept. 15, 2020, midnight OK GNU C++11 TESTS 87 655 30105600
92872481 jzp G Sept. 15, 2020, 5:01 a.m. OK GNU C++11 TESTS 87 670 48230400
92862278 jzp G Sept. 14, 2020, 11 p.m. OK GNU C++11 TESTS 87 717 48230400
92868460 emofunc G Sept. 15, 2020, 3:18 a.m. OK GNU C++11 TESTS 87 764 30105600
92844153 Abrar_Hussain_Dar G Sept. 14, 2020, 5:10 p.m. OK GNU C++11 TESTS 87 826 68300800
92867335 Mackerel_Pike G Sept. 15, 2020, 2:46 a.m. OK GNU C++14 TESTS 87 624 26624000
92870109 Elo G Sept. 15, 2020, 4:03 a.m. OK GNU C++14 TESTS 87 670 335462400
92855735 patou G Sept. 14, 2020, 7:35 p.m. OK GNU C++14 TESTS 87 701 32870400
92870022 Elo G Sept. 15, 2020, 4 a.m. OK GNU C++14 TESTS 87 717 335462400
92867403 tzxydby G Sept. 15, 2020, 2:48 a.m. OK GNU C++14 TESTS 87 794 50790400
92839418 GregFocker G Sept. 14, 2020, 4:33 p.m. OK GNU C++14 TESTS 87 810 50380800
92859895 xb0nS G Sept. 14, 2020, 9:09 p.m. OK GNU C++14 TESTS 87 826 44339200
92855568 Zoli9 G Sept. 14, 2020, 7:32 p.m. OK GNU C++14 TESTS 87 841 46387200
92831881 qxforever G Sept. 14, 2020, 4:01 p.m. OK GNU C++14 TESTS 87 841 68403200
92829871 Potassium_Fan G Sept. 14, 2020, 3:53 p.m. OK GNU C++14 TESTS 87 842 44339200
92843443 amiralisalimi G Sept. 14, 2020, 5:04 p.m. OK GNU C++17 TESTS 87 389 56115200
92861769 greencis G Sept. 14, 2020, 10:32 p.m. OK GNU C++17 TESTS 87 467 44032000
92861575 greencis G Sept. 14, 2020, 10:21 p.m. OK GNU C++17 TESTS 87 514 44032000
92871810 tlnllkbp G Sept. 15, 2020, 4:45 a.m. OK GNU C++17 TESTS 87 576 346931200
92837778 AM. G Sept. 14, 2020, 4:26 p.m. OK GNU C++17 TESTS 87 592 38297600
92845899 Atalasion G Sept. 14, 2020, 5:28 p.m. OK GNU C++17 TESTS 87 592 46284800
92868835 IsaacMoris G Sept. 15, 2020, 3:29 a.m. OK GNU C++17 TESTS 87 670 36352000
92869590 HanaYukii G Sept. 15, 2020, 3:49 a.m. OK GNU C++17 TESTS 87 717 331161600
92836554 Arg_007 G Sept. 14, 2020, 4:20 p.m. OK GNU C++17 TESTS 87 748 45056000
92833625 RUSH_D_CAT G Sept. 14, 2020, 4:08 p.m. OK GNU C++17 TESTS 87 748 47001600
92851183 fivefourthreeone G Sept. 14, 2020, 6:29 p.m. OK GNU C++17 (64) TESTS 87 358 69017600
92851023 Rahul G Sept. 14, 2020, 6:27 p.m. OK GNU C++17 (64) TESTS 87 452 51814400
92845267 Felerius G Sept. 14, 2020, 5:22 p.m. OK GNU C++17 (64) TESTS 87 514 26112000
92840853 crackersamdjam G Sept. 14, 2020, 4:41 p.m. OK GNU C++17 (64) TESTS 87 530 79667200
92863409 wasa855 G Sept. 15, 2020, 12:07 a.m. OK GNU C++17 (64) TESTS 87 561 34099200
92854972 neal G Sept. 14, 2020, 7:23 p.m. OK GNU C++17 (64) TESTS 87 623 375705600
92834338 zlc1114 G Sept. 14, 2020, 4:11 p.m. OK GNU C++17 (64) TESTS 87 654 44134400
92840404 emengdeath G Sept. 14, 2020, 4:38 p.m. OK GNU C++17 (64) TESTS 87 686 48332800
92847526 Ari G Sept. 14, 2020, 5:46 p.m. OK GNU C++17 (64) TESTS 87 686 67686400
92855419 neal G Sept. 14, 2020, 7:30 p.m. OK GNU C++17 (64) TESTS 87 686 375705600
92850227 Rahul G Sept. 14, 2020, 6:17 p.m. OK Go TESTS 87 358 82739200
92849967 Rahul G Sept. 14, 2020, 6:14 p.m. OK Go TESTS 87 358 82739200
92848579 uwi G Sept. 14, 2020, 5:58 p.m. OK Java 11 TESTS 87 701 84992000
92838491 Tlatoani G Sept. 14, 2020, 4:29 p.m. OK Kotlin TESTS 87 1185 92569600
92874933 gintoki_s G Sept. 15, 2020, 5:49 a.m. OK PyPy 3 TESTS 87 1638 147558400
92865285 sansen G Sept. 15, 2020, 1:34 a.m. OK Rust TESTS 87 1559 91852800

remove filters

Back to search problems