Educational Codeforces Round 131 (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
1701 Educational Codeforces Round 131 (Rated for Div. 2) FINISHED False 7200 74532299 July 8, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 952 ) F Points PROGRAMMING combinatorics data structures math matrices

B'A triple of points i , j and k on a coordinate line is called beautiful if i < j < k and k - i <= d . You are given a set of points on a coordinate line, initially empty. You have to process queries of three types: The first line contains two integers q and d ( 1 <= q, d <= 2 cdot 10^5 ) -- the number of queries and the parameter for defining if a triple is beautiful, respectively. The second line contains q integers a_1, a_2, ... , a_q ( 1 <= a_i <= 2 cdot 10^5 ) denoting the queries. The integer a_i denotes the i -th query in the following way: For each query, print one integer -- the number of beautiful triples after processing the respective query. '...

Tutorials

Educational Codeforces Round 131 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
163319666 dlalswp25 F July 8, 2022, 8:19 p.m. OK GNU C++14 TESTS 35 358 13926400
163332495 BlueLove25 F July 9, 2022, 2:35 a.m. OK GNU C++14 TESTS 37 436 20275200
163343939 st_pp F July 9, 2022, 5:47 a.m. OK GNU C++14 TESTS 37 467 25907200
163344322 win10 F July 9, 2022, 5:52 a.m. OK GNU C++14 TESTS 37 467 37580800
163332436 Mryange F July 9, 2022, 2:34 a.m. OK GNU C++14 TESTS 37 529 25088000
163335342 qwds F July 9, 2022, 3:27 a.m. OK GNU C++14 TESTS 37 529 26726400
163330923 Mryange F July 9, 2022, 2:05 a.m. OK GNU C++14 TESTS 37 561 28262400
163330416 Mryange F July 9, 2022, 1:53 a.m. OK GNU C++14 TESTS 37 561 28262400
163332302 BlueLove25 F July 9, 2022, 2:31 a.m. OK GNU C++14 TESTS 37 592 27443200
163329502 fks20011206 F July 9, 2022, 1:31 a.m. OK GNU C++14 TESTS 37 639 19456000
163332213 Cherumi F July 9, 2022, 2:30 a.m. OK GNU C++17 TESTS 37 468 32870400
163321814 MohammadAghil F July 8, 2022, 9:07 p.m. OK GNU C++17 TESTS 35 499 13004800
163326176 huihui1124 F July 8, 2022, 11:32 p.m. OK GNU C++17 TESTS 37 529 25702400
163305098 Whiteqwq F July 8, 2022, 5:02 p.m. OK GNU C++17 TESTS 35 576 24166400
163304895 prabowo F July 8, 2022, 5 p.m. OK GNU C++17 TESTS 35 592 23859200
163331578 Dog_food_is_me F July 9, 2022, 2:18 a.m. OK GNU C++17 TESTS 37 592 27340800
163337614 beacon_cwk F July 9, 2022, 4:13 a.m. OK GNU C++17 TESTS 37 685 23654400
163326131 huihui1124 F July 8, 2022, 11:30 p.m. OK GNU C++17 TESTS 37 717 25702400
163332754 maomao90 F July 9, 2022, 2:40 a.m. OK GNU C++17 TESTS 37 763 22630400
163329099 suiren F July 9, 2022, 1:19 a.m. OK GNU C++17 TESTS 37 826 11468800
163310395 lightseba F July 8, 2022, 5:57 p.m. OK GNU C++17 (64) TESTS 35 265 9830400
163309975 lightseba F July 8, 2022, 5:53 p.m. OK GNU C++17 (64) TESTS 35 280 10444800
163318111 MtSaka F July 8, 2022, 7:50 p.m. OK GNU C++17 (64) TESTS 35 295 19558400
163330847 Kenshin2438 F July 9, 2022, 2:03 a.m. OK GNU C++17 (64) TESTS 37 295 20377600
163308476 Zima_queen F July 8, 2022, 5:35 p.m. OK GNU C++17 (64) TESTS 35 296 27238400
163300718 huangxiaohua F July 8, 2022, 4:36 p.m. OK GNU C++17 (64) TESTS 35 296 27238400
163303212 huangxiaohua F July 8, 2022, 4:49 p.m. OK GNU C++17 (64) TESTS 35 327 27238400
163299587 huangxiaohua F July 8, 2022, 4:33 p.m. OK GNU C++17 (64) TESTS 35 358 27238400
163328219 xcyle F July 9, 2022, 12:51 a.m. OK GNU C++17 (64) TESTS 37 373 25702400
163302722 mattagar6 F July 8, 2022, 4:46 p.m. OK GNU C++17 (64) TESTS 35 373 27238400
163338118 erray F July 9, 2022, 4:22 a.m. OK GNU C++20 (64) TESTS 37 155 15257600
163319589 ars_kiadub F July 8, 2022, 8:17 p.m. OK GNU C++20 (64) TESTS 35 217 9830400
163303326 spy20051623 F July 8, 2022, 4:49 p.m. OK GNU C++20 (64) TESTS 35 280 28057600
163319713 _Stefan_ F July 8, 2022, 8:20 p.m. OK GNU C++20 (64) TESTS 35 295 21094400
163331796 xdO_o F July 9, 2022, 2:22 a.m. OK GNU C++20 (64) TESTS 37 327 27238400
163311803 ParsaEs F July 8, 2022, 6:15 p.m. OK GNU C++20 (64) TESTS 35 358 19251200
163331054 Forza_Ferrari F July 9, 2022, 2:07 a.m. OK GNU C++20 (64) TESTS 37 373 25600000
163308560 turmax F July 8, 2022, 5:36 p.m. OK GNU C++20 (64) TESTS 35 373 54886400
163340627 lx_tyin F July 9, 2022, 5:05 a.m. OK GNU C++20 (64) TESTS 37 374 155545600
163307801 vipjml F July 8, 2022, 5:28 p.m. OK GNU C++20 (64) TESTS 35 405 32153600
163308807 qwerty787788 F July 8, 2022, 5:39 p.m. OK Rust 2021 TESTS 35 3743 8806400

remove filters

Back to search problems