Codeforces Round 667 (Div. 3)

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
1409 Codeforces Round 667 (Div. 3) FINISHED False 7200 132593099 Sept. 4, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 23417 ) C Yet Another Array Restoration PROGRAMMING brute force math

B"We have a secret array. You don't know this array and you have to restore it. However, you know some facts about this array: It can be proven that such an array always exists under the constraints given below. Among all possible arrays that satisfy the given conditions, we ask you to restore one which has the minimum possible maximum element. In other words, you have to minimize max(a_1, a_2, ... , a_n) . You have to answer t independent test cases. The first line of the input contains one integer t ( 1 <= t <= 100 ) -- the number of test cases. Then t test cases follow. The only line of the test case contains three integers n , x and y ( 2 <= n <= 50 ; 1 <= x < y <= 50 ) -- the length of the array and two elements that are present in the array, respectively. For each test case, print the answer: n integers a_1, a_2, ... , a_n ( 1 <= a_i <= 10^9 ), where a_i is the i -th element of the required array. If there are several answers, you can print any (it also means that the order of elements doesn't matter). It can be proven that such an array always exists under the given constraints. "...

Tutorials

Codeforces Round #667 (Div. 3) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
91885732 none126 C Sept. 4, 2020, 6:18 p.m. OK Clang++17 Diagnostics TESTS 5 46 0
91871680 runnn C Sept. 4, 2020, 4:27 p.m. OK FPC TESTS 3 15 307200
91901059 fpc_coder C Sept. 5, 2020, 2:11 a.m. OK FPC TESTS 5 31 921600
91873736 abhishek_1234 C Sept. 4, 2020, 4:31 p.m. OK GNU C11 TESTS 3 15 0
91879644 avi_p C Sept. 4, 2020, 5 p.m. OK GNU C11 TESTS 4 30 0
91882017 Shadhin08 C Sept. 4, 2020, 5:26 p.m. OK GNU C11 TESTS 5 31 0
91884535 sahasubarna08041 C Sept. 4, 2020, 6 p.m. OK GNU C11 TESTS 5 31 0
91890717 flayer_hunter C Sept. 4, 2020, 7:44 p.m. OK GNU C11 TESTS 5 31 0
91895788 metenik C Sept. 4, 2020, 10:13 p.m. OK GNU C11 TESTS 5 31 0
91906606 star_force C Sept. 5, 2020, 4:40 a.m. OK GNU C11 TESTS 5 31 0
91884496 -----Thor---- C Sept. 4, 2020, 6 p.m. OK GNU C11 TESTS 5 31 0
91898326 Mr_Newman C Sept. 5, 2020, 12:11 a.m. OK GNU C11 TESTS 5 46 0
91907409 Imakf C Sept. 5, 2020, 4:56 a.m. OK GNU C++11 TESTS 5 15 0
91906945 ChaituBoi C Sept. 5, 2020, 4:47 a.m. OK GNU C++11 TESTS 5 15 0
91906931 Raizor_ C Sept. 5, 2020, 4:46 a.m. OK GNU C++11 TESTS 5 15 0
91906671 ASTROBOYZZ C Sept. 5, 2020, 4:41 a.m. OK GNU C++11 TESTS 5 15 0
91910766 icysky C Sept. 5, 2020, 5:57 a.m. OK GNU C++11 TESTS 5 15 0
91909920 dayux C Sept. 5, 2020, 5:43 a.m. OK GNU C++11 TESTS 5 15 0
91909191 EFW_C C Sept. 5, 2020, 5:30 a.m. OK GNU C++11 TESTS 5 15 0
91908662 HHHEN C Sept. 5, 2020, 5:20 a.m. OK GNU C++11 TESTS 5 15 0
91908054 luogu_bot1 C Sept. 5, 2020, 5:09 a.m. OK GNU C++11 TESTS 5 15 0
91907710 panchx C Sept. 5, 2020, 5:02 a.m. OK GNU C++11 TESTS 5 15 0
91872192 noob_coder24 C Sept. 4, 2020, 4:28 p.m. OK GNU C++14 TESTS 3 0 102400
91910696 sj144 C Sept. 5, 2020, 5:56 a.m. OK GNU C++14 TESTS 5 15 0
91911006 SatyaMann C Sept. 5, 2020, 6 a.m. OK GNU C++14 TESTS 5 15 0
91905849 pradumnkr98 C Sept. 5, 2020, 4:22 a.m. OK GNU C++14 TESTS 5 15 0
91905158 WjmzbmrXXN C Sept. 5, 2020, 4:05 a.m. OK GNU C++14 TESTS 5 15 0
91905107 exitkhan C Sept. 5, 2020, 4:04 a.m. OK GNU C++14 TESTS 5 15 0
91905019 Kurihada C Sept. 5, 2020, 4:02 a.m. OK GNU C++14 TESTS 5 15 0
91904553 cxz666 C Sept. 5, 2020, 3:51 a.m. OK GNU C++14 TESTS 5 15 0
91902597 Azizullo_Sadriddinov C Sept. 5, 2020, 3 a.m. OK GNU C++14 TESTS 5 15 0
91904306 ayush141 C Sept. 5, 2020, 3:44 a.m. OK GNU C++14 TESTS 5 15 0
91909551 klauwier C Sept. 5, 2020, 5:36 a.m. OK GNU C++17 TESTS 5 15 0
91911101 Yash_Sharma8415 C Sept. 5, 2020, 6:02 a.m. OK GNU C++17 TESTS 5 15 0
91910849 boruto03 C Sept. 5, 2020, 5:58 a.m. OK GNU C++17 TESTS 5 15 0
91909694 dream_player C Sept. 5, 2020, 5:39 a.m. OK GNU C++17 TESTS 5 15 0
91909583 arpunagar C Sept. 5, 2020, 5:37 a.m. OK GNU C++17 TESTS 5 15 0
91909485 shashank2409 C Sept. 5, 2020, 5:35 a.m. OK GNU C++17 TESTS 5 15 0
91907180 AyusheeJain C Sept. 5, 2020, 4:51 a.m. OK GNU C++17 TESTS 5 15 0
91906964 sankeerthnalam C Sept. 5, 2020, 4:47 a.m. OK GNU C++17 TESTS 5 15 0
91906786 IftekharMd.Shishir C Sept. 5, 2020, 4:43 a.m. OK GNU C++17 TESTS 5 15 0
91906520 prakharj C Sept. 5, 2020, 4:38 a.m. OK GNU C++17 TESTS 5 15 0
91871538 Closekn C Sept. 4, 2020, 4:27 p.m. OK GNU C++17 (64) TESTS 3 0 0
91904370 ankeet C Sept. 5, 2020, 3:46 a.m. OK GNU C++17 (64) TESTS 5 15 0
91905692 Ketaki C Sept. 5, 2020, 4:19 a.m. OK GNU C++17 (64) TESTS 5 15 0
91905839 Dragon_Emperor C Sept. 5, 2020, 4:22 a.m. OK GNU C++17 (64) TESTS 5 15 0
91905956 pavanKumarG C Sept. 5, 2020, 4:25 a.m. OK GNU C++17 (64) TESTS 5 15 0
91906649 _Mes_Ney_Sua_Dyb_10 C Sept. 5, 2020, 4:40 a.m. OK GNU C++17 (64) TESTS 5 15 0
91907163 sayan_244 C Sept. 5, 2020, 4:51 a.m. OK GNU C++17 (64) TESTS 5 15 0
91908857 hellcat927 C Sept. 5, 2020, 5:23 a.m. OK GNU C++17 (64) TESTS 5 15 0
91908982 whohet C Sept. 5, 2020, 5:26 a.m. OK GNU C++17 (64) TESTS 5 15 0
91903393 Alisher_Kamolov C Sept. 5, 2020, 3:23 a.m. OK GNU C++17 (64) TESTS 5 15 0
91895102 cifrzak C Sept. 4, 2020, 9:48 p.m. OK Go TESTS 5 46 0
91903642 Jael C Sept. 5, 2020, 3:29 a.m. OK Java 11 TESTS 5 156 0
91899093 vamsikonakandla123 C Sept. 5, 2020, 12:54 a.m. OK Java 11 TESTS 5 171 0
91896040 Apass.Jack C Sept. 4, 2020, 10:22 p.m. OK Java 11 TESTS 5 171 0
91894862 BucketOfNubbins C Sept. 4, 2020, 9:40 p.m. OK Java 11 TESTS 5 171 0
91888917 yashkundu C Sept. 4, 2020, 7:11 p.m. OK Java 11 TESTS 5 171 0
91888832 brijeshujcbm C Sept. 4, 2020, 7:10 p.m. OK Java 11 TESTS 5 171 0
91877772 Jason_Is_Here C Sept. 4, 2020, 4:45 p.m. OK Java 11 TESTS 3 171 0
91873846 anandaman C Sept. 4, 2020, 4:31 p.m. OK Java 11 TESTS 3 171 0
91887214 skittles1412 C Sept. 4, 2020, 6:41 p.m. OK Java 11 TESTS 5 171 102400
91909452 Akash_kunwar C Sept. 5, 2020, 5:34 a.m. OK Java 11 TESTS 5 186 0
91877307 AayushICS C Sept. 4, 2020, 4:42 p.m. OK Java 8 TESTS 3 78 0
91884697 sanath_1515 C Sept. 4, 2020, 6:02 p.m. OK Java 8 TESTS 5 93 0
91875372 meghana180799 C Sept. 4, 2020, 4:34 p.m. OK Java 8 TESTS 3 93 0
91872258 sahajjaiswal C Sept. 4, 2020, 4:28 p.m. OK Java 8 TESTS 3 93 0
91871868 yash49 C Sept. 4, 2020, 4:27 p.m. OK Java 8 TESTS 3 93 0
91902334 k_6101 C Sept. 5, 2020, 2:53 a.m. OK Java 8 TESTS 5 108 0
91885126 krishna2012 C Sept. 4, 2020, 6:09 p.m. OK Java 8 TESTS 5 108 0
91881042 Mr.Awesome C Sept. 4, 2020, 5:14 p.m. OK Java 8 TESTS 5 108 0
91879319 kamal_20 C Sept. 4, 2020, 4:57 p.m. OK Java 8 TESTS 4 108 0
91877009 f20170225 C Sept. 4, 2020, 4:40 p.m. OK Java 8 TESTS 3 108 0
91880626 Bloodwyn C Sept. 4, 2020, 5:10 p.m. OK Kotlin TESTS 4 139 0
91891206 Mirimax C Sept. 4, 2020, 7:54 p.m. OK Kotlin TESTS 5 139 409600
91901887 Biang-Biang C Sept. 5, 2020, 2:40 a.m. OK MS C++ 2017 TESTS 5 15 0
91899278 gao_wu_di C Sept. 5, 2020, 1:03 a.m. OK MS C++ 2017 TESTS 5 15 0
91894482 Wolf_Cub C Sept. 4, 2020, 9:26 p.m. OK MS C++ 2017 TESTS 5 15 0
91871687 YaMi506 C Sept. 4, 2020, 4:27 p.m. OK MS C++ 2017 TESTS 3 15 0
91877857 ssumni C Sept. 4, 2020, 4:45 p.m. OK MS C++ 2017 TESTS 4 15 307200
91874221 DonoToT C Sept. 4, 2020, 4:32 p.m. OK MS C++ 2017 TESTS 3 15 307200
91894771 Wolf_Cub C Sept. 4, 2020, 9:36 p.m. OK MS C++ 2017 TESTS 5 30 0
91877324 f_cktorial C Sept. 4, 2020, 4:42 p.m. OK MS C++ 2017 TESTS 3 30 0
91877318 rein0 C Sept. 4, 2020, 4:42 p.m. OK MS C++ 2017 TESTS 3 30 0
91872364 dmitrymack C Sept. 4, 2020, 4:28 p.m. OK MS C++ 2017 TESTS 3 30 0
91872756 SuperJ6 C Sept. 4, 2020, 4:29 p.m. OK PyPy 2 TESTS 3 124 614400
91889168 yumtam C Sept. 4, 2020, 7:15 p.m. OK PyPy 2 TESTS 5 124 1228800
91879952 Jug C Sept. 4, 2020, 5:03 p.m. OK PyPy 3 TESTS 4 124 1331200
91880186 aanya31 C Sept. 4, 2020, 5:05 p.m. OK PyPy 3 TESTS 4 124 1433600
91889043 bradley.louie1 C Sept. 4, 2020, 7:13 p.m. OK PyPy 3 TESTS 5 124 1536000
91872547 tgupta9752 C Sept. 4, 2020, 4:29 p.m. OK PyPy 3 TESTS 3 124 1945600
91878620 conqueror_of_tourist C Sept. 4, 2020, 4:51 p.m. OK PyPy 3 TESTS 4 124 2048000
91879066 manda.sushanth.reddy C Sept. 4, 2020, 4:54 p.m. OK PyPy 3 TESTS 4 124 2150400
91878780 .Mr. C Sept. 4, 2020, 4:52 p.m. OK PyPy 3 TESTS 4 124 2150400
91877917 FlakeLCR C Sept. 4, 2020, 4:46 p.m. OK PyPy 3 TESTS 4 139 1228800
91878717 JosephTan C Sept. 4, 2020, 4:52 p.m. OK PyPy 3 TESTS 4 139 1331200
91903127 anilsaxena C Sept. 5, 2020, 3:15 a.m. OK PyPy 3 TESTS 5 139 1433600
91873151 sushmanth.dampur8780 C Sept. 4, 2020, 4:30 p.m. OK Python 3 TESTS 3 93 204800
91910624 Camazotz C Sept. 5, 2020, 5:55 a.m. OK Python 3 TESTS 5 93 307200
91910553 0raj C Sept. 5, 2020, 5:54 a.m. OK Python 3 TESTS 5 93 307200
91910379 pawangeek C Sept. 5, 2020, 5:51 a.m. OK Python 3 TESTS 5 93 307200
91908968 dineshreddy01 C Sept. 5, 2020, 5:25 a.m. OK Python 3 TESTS 5 93 307200
91902316 shreyas10p C Sept. 5, 2020, 2:52 a.m. OK Python 3 TESTS 5 93 307200
91893592 devshaurya1001 C Sept. 4, 2020, 8:58 p.m. OK Python 3 TESTS 5 93 307200
91891972 j_raj C Sept. 4, 2020, 8:13 p.m. OK Python 3 TESTS 5 93 307200
91890816 SarthakMorj C Sept. 4, 2020, 7:46 p.m. OK Python 3 TESTS 5 93 307200
91889702 aryan4194 C Sept. 4, 2020, 7:25 p.m. OK Python 3 TESTS 5 93 307200
91883704 JackRedstonia C Sept. 4, 2020, 5:49 p.m. OK Rust TESTS 5 30 0
91906685 quanjun C Sept. 5, 2020, 4:41 a.m. OK Rust TESTS 5 31 0

remove filters

Back to search problems