Educational Codeforces Round 103 (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
1476 Educational Codeforces Round 103 (Rated for Div. 2) FINISHED False 7200 125249063 Jan. 29, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 592 ) G Minimum Difference PROGRAMMING data structures two pointers

B"You are given an integer array a of size n . You have to perform m queries. Each query has one of two types: The first line contains two integers n and m ( 1 <= n, m <= 10^5 ) -- the size of the array a and the number of queries. The second line contains n integers a_1, a_2, ... , a_n ( 1 <= a_i <= 10^5 ). Next m lines contain queries (one per line). Each query has one of two types: It's guaranteed that there is at least one query of the first type. For each query of the first type, print the minimum value of dif that satisfies all required conditions, or -1 if it is impossible to choose k distinct integers. "...

Tutorials

87356

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
105975526 Mr_Wu G Jan. 30, 2021, 3:31 a.m. OK GNU C++11 TESTS 133 1154 6246400
105956299 0375w G Jan. 29, 2021, 7:04 p.m. OK GNU C++11 TESTS 133 1388 12083200
105956654 0375w G Jan. 29, 2021, 7:09 p.m. OK GNU C++11 TESTS 133 1404 12083200
105973666 0375w G Jan. 30, 2021, 2:46 a.m. OK GNU C++11 TESTS 133 1419 12083200
105950691 sh1194 G Jan. 29, 2021, 6:01 p.m. OK GNU C++11 TESTS 133 1981 7168000
105950530 sh1194 G Jan. 29, 2021, 6 p.m. OK GNU C++11 TESTS 133 1996 7168000
105950840 sh1194 G Jan. 29, 2021, 6:03 p.m. OK GNU C++11 TESTS 133 2027 7168000
105980957 HJKL1018 G Jan. 30, 2021, 5:33 a.m. OK GNU C++11 TESTS 133 2028 6041600
105934727 maojiayi G Jan. 29, 2021, 4:28 p.m. OK GNU C++11 TESTS 133 2028 7168000
105977441 ClCN G Jan. 30, 2021, 4:13 a.m. OK GNU C++11 TESTS 133 2121 8089600

remove filters

Back to search problems