2022-2023 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Preferably Teams)

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
1765 2022-2023 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Preferably Teams) FINISHED False 18000 62277899 Nov. 27, 2022, 10:35 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 16237 ) M Minimum LCM PROGRAMMING math 1000

B'You are given an integer n . Your task is to find two positive (greater than 0 ) integers a and b such that a+b=n and the least common multiple (LCM) of a and b is the minimum among all possible values of a and b . If there are multiple answers, you can print any of them. The first line contains a single integer t ( 1 <= t <= 100 ) -- the number of test cases. The first line of each test case contains a single integer n ( 2 <= n <= 10^9 ). For each test case, print two positive integers a and b -- the answer to the problem. If there are multiple answers, you can print any of them. In the second example, there are 8 possible pairs of a and b : In the third example, there are 5 possible pairs of a and b : '...

Tutorials

109642

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
182932977 Sh6rif M Nov. 27, 2022, 4:57 p.m. OK Clang++20 Diagnostics TESTS 10 31 0 1000
182933125 Sh6rif M Nov. 27, 2022, 4:58 p.m. OK Clang++20 Diagnostics TESTS 10 46 0 1000
182946173 NenadDapic M Nov. 27, 2022, 7:51 p.m. OK FPC TESTS 10 30 0 1000
182819036 ruban M Nov. 27, 2022, 11:51 a.m. OK FPC TESTS 10 31 10547200 1000
182905620 SAFIN07 M Nov. 27, 2022, 12:59 p.m. OK GNU C11 TESTS 10 31 0 1000
182966007 Jahidul_CSE M Nov. 28, 2022, 4:03 a.m. OK GNU C11 TESTS 10 46 0 1000
182944625 s_k2003 M Nov. 27, 2022, 6:56 p.m. OK GNU C++14 TESTS 10 15 0 1000
182936709 itzzRaghav M Nov. 27, 2022, 5:34 p.m. OK GNU C++14 TESTS 10 15 0 1000
182933318 Fantasy2460 M Nov. 27, 2022, 5 p.m. OK GNU C++14 TESTS 10 15 0 1000
182923428 nikola352 M Nov. 27, 2022, 3:25 p.m. OK GNU C++14 TESTS 10 15 0 1000
182922211 krishnansh5 Dhruv0x0x0 M Nov. 27, 2022, 3:14 p.m. OK GNU C++14 TESTS 10 15 0 1000
182920618 zhengrunzhe M Nov. 27, 2022, 2:59 p.m. OK GNU C++14 TESTS 10 15 0 1000
182947317 parsashahkar21 M Nov. 27, 2022, 8:09 p.m. OK GNU C++14 TESTS 10 15 0 1000
182958946 ftuknights M Nov. 28, 2022, 12:50 a.m. OK GNU C++14 TESTS 10 15 0 1000
182967005 Kshitij_garg18 M Nov. 28, 2022, 4:22 a.m. OK GNU C++14 TESTS 10 15 0 1000
182971019 qimeng M Nov. 28, 2022, 5:46 a.m. OK GNU C++14 TESTS 10 15 0 1000
182969730 uchikhaaa M Nov. 28, 2022, 5:21 a.m. OK GNU C++17 TESTS 10 15 0 1000
182969175 Moonlight_clover25 M Nov. 28, 2022, 5:10 a.m. OK GNU C++17 TESTS 10 15 0 1000
182968730 mohammedisber M Nov. 28, 2022, 5 a.m. OK GNU C++17 TESTS 10 15 0 1000
182967938 BrokenVcl M Nov. 28, 2022, 4:42 a.m. OK GNU C++17 TESTS 10 15 0 1000
182967320 Mohamed-Hassan-6832 M Nov. 28, 2022, 4:29 a.m. OK GNU C++17 TESTS 10 15 0 1000
182963386 GianKuhz M Nov. 28, 2022, 2:59 a.m. OK GNU C++17 TESTS 10 15 0 1000
182961405 George_Rubio M Nov. 28, 2022, 2:07 a.m. OK GNU C++17 TESTS 10 15 0 1000
182961169 longchingchong M Nov. 28, 2022, 2:02 a.m. OK GNU C++17 TESTS 10 15 0 1000
182969767 Amineh05 asal.jahanshiri M Nov. 28, 2022, 5:21 a.m. OK GNU C++17 TESTS 10 15 0 1000
182969278 longk22 M Nov. 28, 2022, 5:12 a.m. OK GNU C++17 TESTS 10 15 0 1000
182953703 Walking_Bus M Nov. 27, 2022, 10:06 p.m. OK GNU C++17 (64) TESTS 10 0 0 1000
182767198 border t17 jamil314 M Nov. 27, 2022, 10:50 a.m. OK GNU C++17 (64) TESTS 10 0 102400 1000
182889370 JucuDynamics M Nov. 27, 2022, 12:07 p.m. OK GNU C++17 (64) TESTS 10 15 0 1000
182967464 wqy2022 M Nov. 28, 2022, 4:32 a.m. OK GNU C++17 (64) TESTS 10 15 0 1000
182958389 1potato2potato M Nov. 28, 2022, 12:31 a.m. OK GNU C++17 (64) TESTS 10 15 0 1000
182942236 Awesome3.14 M Nov. 27, 2022, 6:30 p.m. OK GNU C++17 (64) TESTS 10 15 0 1000
182909026 jtf_shine M Nov. 27, 2022, 1:25 p.m. OK GNU C++17 (64) TESTS 10 15 0 1000
182907044 niko_shmiko M Nov. 27, 2022, 1:10 p.m. OK GNU C++17 (64) TESTS 10 15 0 1000
182905143 mahbubhasanmht M Nov. 27, 2022, 12:55 p.m. OK GNU C++17 (64) TESTS 10 15 0 1000
182903351 meki M Nov. 27, 2022, 12:42 p.m. OK GNU C++17 (64) TESTS 10 15 0 1000
182926058 potate M Nov. 27, 2022, 3:48 p.m. OK GNU C++20 (64) TESTS 10 0 0 1000
182967032 brownfox2k6 M Nov. 28, 2022, 4:22 a.m. OK GNU C++20 (64) TESTS 10 15 0 1000
182966878 tiansug M Nov. 28, 2022, 4:19 a.m. OK GNU C++20 (64) TESTS 10 15 0 1000
182964067 Ejava15 M Nov. 28, 2022, 3:18 a.m. OK GNU C++20 (64) TESTS 10 15 0 1000
182963576 khanh1705 M Nov. 28, 2022, 3:04 a.m. OK GNU C++20 (64) TESTS 10 15 0 1000
182963431 fokesll M Nov. 28, 2022, 3:01 a.m. OK GNU C++20 (64) TESTS 10 15 0 1000
182962676 singhyash3302 M Nov. 28, 2022, 2:39 a.m. OK GNU C++20 (64) TESTS 10 15 0 1000
182961935 Vistarin M Nov. 28, 2022, 2:19 a.m. OK GNU C++20 (64) TESTS 10 15 0 1000
182969933 a575301453 M Nov. 28, 2022, 5:25 a.m. OK GNU C++20 (64) TESTS 10 15 0 1000
182969644 kevin47 M Nov. 28, 2022, 5:19 a.m. OK GNU C++20 (64) TESTS 10 15 0 1000
182768023 shiro M Nov. 27, 2022, 10:55 a.m. OK Go TESTS 10 46 0 1000
182872831 insert_cool_handle M Nov. 27, 2022, 12:03 p.m. OK Java 11 TESTS 10 171 0 1000
182927135 dzhi M Nov. 27, 2022, 3:58 p.m. OK Java 11 TESTS 10 186 0 1000
182926986 dzhi M Nov. 27, 2022, 3:57 p.m. OK Java 11 TESTS 10 187 0 1000
182905963 La_Pagla M Nov. 27, 2022, 1:01 p.m. OK Java 11 TESTS 10 187 0 1000
182767218 Serg_ tortolavivo23 M Nov. 27, 2022, 10:50 a.m. OK Java 11 TESTS 10 218 307200 1000
182910802 Nurda_cr7 M Nov. 27, 2022, 1:38 p.m. OK Java 11 TESTS 10 218 614400 1000
182938256 ghost24601 M Nov. 27, 2022, 5:50 p.m. OK Java 17 TESTS 10 187 614400 1000
182768795 Sudin7362 TfueBiley merlin_ M Nov. 27, 2022, 11:01 a.m. OK Java 17 TESTS 10 217 819200 1000
182889555 knightL M Nov. 27, 2022, 12:08 p.m. OK Java 17 TESTS 10 218 307200 1000
182914028 known_person M Nov. 27, 2022, 2:04 p.m. OK Java 17 TESTS 10 264 819200 1000
182913570 HusanRich M Nov. 27, 2022, 2 p.m. OK Java 17 TESTS 10 280 1433600 1000
182902807 Mohamed308 M Nov. 27, 2022, 12:38 p.m. OK Java 8 TESTS 10 93 0 1000
182772822 Imran435 M Nov. 27, 2022, 11:29 a.m. OK Java 8 TESTS 10 93 0 1000
182920351 Mohamed_A7med M Nov. 27, 2022, 2:57 p.m. OK Java 8 TESTS 10 108 0 1000
182911788 Rayhan_07 M Nov. 27, 2022, 1:46 p.m. OK Java 8 TESTS 10 108 0 1000
182900661 Aphroditus vaibhav_1710 M Nov. 27, 2022, 12:24 p.m. OK Java 8 TESTS 10 109 0 1000
182929561 Eslam_Ahmed M Nov. 27, 2022, 4:22 p.m. OK Java 8 TESTS 10 124 0 1000
182925632 Mohamed_A7med M Nov. 27, 2022, 3:44 p.m. OK Java 8 TESTS 10 124 0 1000
182771696 yadavdipesh Ari_8 M Nov. 27, 2022, 11:21 a.m. OK Java 8 TESTS 10 124 0 1000
182905504 Juhaied_nabid M Nov. 27, 2022, 12:58 p.m. OK Java 8 TESTS 10 140 0 1000
182770531 1091857051 M Nov. 27, 2022, 11:13 a.m. OK Java 8 TESTS 10 171 0 1000
182766373 arvindf232 M Nov. 27, 2022, 10:45 a.m. OK Kotlin 1.6 TESTS 10 202 0 1000
182955503 aadrito M Nov. 27, 2022, 10:50 p.m. OK MS C++ 2017 TESTS 10 0 0 1000
182905596 KKastaneda M Nov. 27, 2022, 12:59 p.m. OK MS C++ 2017 TESTS 10 15 0 1000
182772214 bigo12 US3RN4M3 ItamarNir M Nov. 27, 2022, 11:24 a.m. OK MS C++ 2017 TESTS 10 30 0 1000
182958722 Autlomu M Nov. 28, 2022, 12:42 a.m. OK MS C++ 2017 TESTS 10 31 0 1000
182935892 Nooobinho M Nov. 27, 2022, 5:26 p.m. OK MS C++ 2017 TESTS 10 31 0 1000
182904625 reversir M Nov. 27, 2022, 12:52 p.m. OK MS C++ 2017 TESTS 10 31 0 1000
182770878 fiwka M Nov. 27, 2022, 11:15 a.m. OK MS C++ 2017 TESTS 10 46 0 1000
182772063 berukhov M Nov. 27, 2022, 11:23 a.m. OK PyPy 3 TESTS 10 77 1331200 1000
182768546 sushmanth.dampur8780 ankan2526 M Nov. 27, 2022, 10:59 a.m. OK PyPy 3 TESTS 10 93 1228800 1000
182768791 u-day heroooo Susshanth M Nov. 27, 2022, 11:01 a.m. OK PyPy 3 TESTS 10 93 1331200 1000
182959191 akimuuwu M Nov. 28, 2022, 12:59 a.m. OK PyPy 3 TESTS 10 93 1433600 1000
182967753 sw_enthusiast M Nov. 28, 2022, 4:38 a.m. OK PyPy 3 TESTS 10 93 66662400 1000
182767699 AKSLEGION781126 M Nov. 27, 2022, 10:53 a.m. OK PyPy 3 TESTS 10 108 1228800 1000
182765889 IceKnight1093 M Nov. 27, 2022, 10:42 a.m. OK PyPy 3 TESTS 10 108 1945600 1000
182771860 racernigga M Nov. 27, 2022, 11:22 a.m. OK PyPy 3 TESTS 10 124 1331200 1000
182915358 biglunchdude M Nov. 27, 2022, 2:15 p.m. OK PyPy 3-64 TESTS 10 77 1536000 1000
182939140 SophieHatter M Nov. 27, 2022, 5:59 p.m. OK PyPy 3-64 TESTS 10 77 1638400 1000
182902280 fawzi_rjili Gunbnelch31 M Nov. 27, 2022, 12:35 p.m. OK PyPy 3-64 TESTS 10 77 2252800 1000
182773473 00zijian M Nov. 27, 2022, 11:34 a.m. OK PyPy 3-64 TESTS 10 78 5324800 1000
182915111 Morgroth M Nov. 27, 2022, 2:13 p.m. OK PyPy 3-64 TESTS 10 92 1740800 1000
182768683 Skillful_Wanderer M Nov. 27, 2022, 11 a.m. OK PyPy 3-64 TESTS 10 93 1638400 1000
182767872 sathu.hebbar rakshith21mohan highboi M Nov. 27, 2022, 10:54 a.m. OK PyPy 3-64 TESTS 10 93 1740800 1000
182767596 haizzzzzzz M Nov. 27, 2022, 10:52 a.m. OK PyPy 3-64 TESTS 10 93 2048000 1000
182771652 Yedige M Nov. 27, 2022, 11:20 a.m. OK PyPy 3-64 TESTS 10 93 2457600 1000
182969194 govindp47 M Nov. 28, 2022, 5:10 a.m. OK PyPy 3-64 TESTS 10 93 2867200 1000
182922455 shubham_6105 M Nov. 27, 2022, 3:16 p.m. OK Python 3 TESTS 10 358 0 1000
182793774 longvb48 nuen_uet minhsn22 M Nov. 27, 2022, 11:47 a.m. OK Python 3 TESTS 10 389 0 1000
182918879 yeling M Nov. 27, 2022, 2:44 p.m. OK Python 3 TESTS 10 421 716800 1000
182899641 seawon0808 M Nov. 27, 2022, 12:16 p.m. OK Python 3 TESTS 10 514 0 1000
182771663 user_user_user M Nov. 27, 2022, 11:20 a.m. OK Python 3 TESTS 10 545 0 1000
182907360 heidary13794 M Nov. 27, 2022, 1:12 p.m. OK Python 3 TESTS 10 592 0 1000
182970863 Dinoh_Sandys M Nov. 28, 2022, 5:43 a.m. OK Python 3 TESTS 10 748 0 1000
182772108 titiviki M Nov. 27, 2022, 11:24 a.m. OK Python 3 TESTS 10 795 0 1000
182906418 avinashdoddi M Nov. 27, 2022, 1:05 p.m. OK Python 3 TESTS 10 1154 0 1000
182947758 Mahesh_4444 M Nov. 27, 2022, 8:16 p.m. OK Python 3 TESTS 10 1185 0 1000
182961030 Oxy8 M Nov. 28, 2022, 1:58 a.m. OK Rust 2021 TESTS 10 0 102400 1000
182774085 1101_ M Nov. 27, 2022, 11:38 a.m. OK Rust 2021 TESTS 10 15 0 1000
182766173 Egor M Nov. 27, 2022, 10:43 a.m. OK Rust 2021 TESTS 10 15 0 1000
182766922 CSQ31 Spheniscine M Nov. 27, 2022, 10:48 a.m. OK Rust 2021 TESTS 10 15 512000 1000

remove filters

Back to search problems