Educational Codeforces Round 107 (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
1511 Educational Codeforces Round 107 (Rated for Div. 2) FINISHED False 7200 118941863 April 12, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 23206 ) B GCD Length PROGRAMMING constructive algorithms math number theory

B'You are given three integers a , b and c . Find two positive integers x and y ( x > 0 , y > 0 ) such that: gcd(x, y) denotes the greatest common divisor (GCD) of integers x and y . Output x and y . If there are multiple answers, output any of them. The first line contains a single integer t ( 1 <= t <= 285 ) -- the number of testcases. Each of the next t lines contains three integers a , b and c ( 1 <= a, b <= 9 , 1 <= c <= min(a, b) ) -- the required lengths of the numbers. It can be shown that the answer exists for all testcases under the given constraints. Additional constraint on the input: all testcases are different. For each testcase print two positive integers -- x and y ( x > 0 , y > 0 ) such that In the example: '...

Tutorials

89634

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
112861833 AhMaD_eLMoMaNi B April 12, 2021, 5:07 p.m. OK Clang++17 Diagnostics TESTS 7 31 4096
112885626 NikOOooOO B April 13, 2021, 2:48 a.m. OK Clang++17 Diagnostics TESTS 7 31 8192
112858068 YaYaing B April 12, 2021, 4:41 p.m. OK Clang++17 Diagnostics TESTS 7 31 8192
112859901 AGurindapalli B April 12, 2021, 4:52 p.m. OK .NET Core C# TESTS 7 92 331776

remove filters

Back to search problems