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 |
---|---|---|---|---|---|---|
1787 | TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) | FINISHED | False | 10800 | 56820299 | Jan. 29, 2023, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 19276 ) | A | Exponential Equation | PROGRAMMING | constructive algorithms math |
B'You are given an integer n . Find any pair of integers (x,y) ( 1 <= q x,y <= q n ) such that x^y cdot y+y^x cdot x = n . The first line contains a single integer t ( 1 <= q t <= q 10^4 ) -- the number of test cases. Each test case contains one line with a single integer n ( 1 <= q n <= q 10^9 ). For each test case, if possible, print two integers x and y ( 1 <= q x,y <= q n ). If there are multiple answers, print any. Otherwise, print -1 . In the third test case, 2^3 cdot 3+3^2 cdot 2 = 42 , so (2,3),(3,2) will be considered as legal solutions. In the fourth test case, 5^5 cdot 5+5^5 cdot 5 = 31250 , so (5,5) is a legal solution. '... |
TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
191175269 | al__gol | A | Jan. 29, 2023, 7:34 p.m. | OK | C# 10 | TESTS | 7 | 62 | 716800 | ||
191188876 | MoNasr | A | Jan. 29, 2023, 11:10 p.m. | OK | C# 10 | TESTS | 7 | 62 | 921600 | ||
191188923 | MoNasr | A | Jan. 29, 2023, 11:11 p.m. | OK | C# 10 | TESTS | 7 | 77 | 921600 | ||
191146853 | Rekiichan | A | Jan. 29, 2023, 4:18 p.m. | OK | C# 10 | TESTS | 7 | 155 | 1024000 | ||
191147218 | Shayan.To | A | Jan. 29, 2023, 4:19 p.m. | OK | C# 8 | TESTS | 7 | 140 | 3993600 | ||
191175311 | pags_2144 | A | Jan. 29, 2023, 7:35 p.m. | OK | Clang++17 Diagnostics | TESTS | 7 | 140 | 0 | ||
191197913 | chrisvinh | A | Jan. 30, 2023, 2:53 a.m. | OK | Clang++20 Diagnostics | TESTS | 7 | 124 | 0 | ||
191182263 | theCodeExp | A | Jan. 29, 2023, 9:02 p.m. | OK | Clang++20 Diagnostics | TESTS | 7 | 140 | 0 | ||
191195465 | wjx12 | A | Jan. 30, 2023, 2:06 a.m. | OK | GNU C11 | TESTS | 7 | 46 | 0 | ||
191146068 | nimaiparsa | A | Jan. 29, 2023, 4:14 p.m. | OK | GNU C11 | TESTS | 7 | 46 | 0 | ||
191146960 | Mushfiqur_ | A | Jan. 29, 2023, 4:18 p.m. | OK | GNU C11 | TESTS | 7 | 46 | 0 | ||
191143766 | ishanag14 | A | Jan. 29, 2023, 4:05 p.m. | OK | GNU C11 | TESTS | 7 | 46 | 0 | ||
191147294 | yashjp | A | Jan. 29, 2023, 4:20 p.m. | OK | GNU C11 | TESTS | 7 | 46 | 0 | ||
191159679 | 2000032075 | A | Jan. 29, 2023, 5:17 p.m. | OK | GNU C11 | TESTS | 7 | 46 | 0 | ||
191181360 | Homar | A | Jan. 29, 2023, 8:49 p.m. | OK | GNU C11 | TESTS | 7 | 46 | 0 | ||
191157605 | 2100031187cseh | A | Jan. 29, 2023, 5:08 p.m. | OK | GNU C11 | TESTS | 7 | 61 | 0 | ||
191160065 | priyanshu.sharma2612 | A | Jan. 29, 2023, 5:19 p.m. | OK | GNU C11 | TESTS | 7 | 61 | 0 | ||
191149871 | someshguptasg74 | A | Jan. 29, 2023, 4:31 p.m. | OK | GNU C11 | TESTS | 7 | 61 | 0 | ||
191195807 | qwjoj | A | Jan. 30, 2023, 2:12 a.m. | OK | GNU C++14 | TESTS | 7 | 15 | 0 | ||
191193435 | zhuomaple | A | Jan. 30, 2023, 1:22 a.m. | OK | GNU C++14 | TESTS | 7 | 15 | 0 | ||
191204744 | kunalz0 | A | Jan. 30, 2023, 4:48 a.m. | OK | GNU C++14 | TESTS | 7 | 15 | 0 | ||
191203628 | ZHR073 | A | Jan. 30, 2023, 4:29 a.m. | OK | GNU C++14 | TESTS | 7 | 15 | 0 | ||
191202921 | arindam54321 | A | Jan. 30, 2023, 4:15 a.m. | OK | GNU C++14 | TESTS | 7 | 15 | 0 | ||
191202108 | Kevin8502 | A | Jan. 30, 2023, 4 a.m. | OK | GNU C++14 | TESTS | 7 | 15 | 0 | ||
191199500 | MMSM | A | Jan. 30, 2023, 3:19 a.m. | OK | GNU C++14 | TESTS | 7 | 15 | 0 | ||
191199115 | SDOI | A | Jan. 30, 2023, 3:13 a.m. | OK | GNU C++14 | TESTS | 7 | 15 | 0 | ||
191199072 | SDOI | A | Jan. 30, 2023, 3:12 a.m. | OK | GNU C++14 | TESTS | 7 | 15 | 0 | ||
191197885 | iluvtv | A | Jan. 30, 2023, 2:52 a.m. | OK | GNU C++14 | TESTS | 7 | 15 | 0 | ||
191176079 | -3en_7oras- | A | Jan. 29, 2023, 7:43 p.m. | OK | GNU C++17 | TESTS | 7 | 0 | 0 | ||
191209498 | ss303 | A | Jan. 30, 2023, 5:59 a.m. | OK | GNU C++17 | TESTS | 8 | 15 | 0 | ||
191206925 | _chewbacca_ | A | Jan. 30, 2023, 5:23 a.m. | OK | GNU C++17 | TESTS | 7 | 15 | 0 | ||
191206972 | magic_dream | A | Jan. 30, 2023, 5:24 a.m. | OK | GNU C++17 | TESTS | 7 | 15 | 0 | ||
191207322 | ritik_0707 | A | Jan. 30, 2023, 5:30 a.m. | OK | GNU C++17 | TESTS | 8 | 15 | 0 | ||
191208465 | Mihir_Aswal | A | Jan. 30, 2023, 5:46 a.m. | OK | GNU C++17 | TESTS | 8 | 15 | 0 | ||
191208571 | rithvik_g | A | Jan. 30, 2023, 5:48 a.m. | OK | GNU C++17 | TESTS | 8 | 15 | 0 | ||
191208606 | brokenCode.r | A | Jan. 30, 2023, 5:48 a.m. | OK | GNU C++17 | TESTS | 8 | 15 | 0 | ||
191208742 | Mandar2411 | A | Jan. 30, 2023, 5:50 a.m. | OK | GNU C++17 | TESTS | 8 | 15 | 0 | ||
191209214 | YOGI2004 | A | Jan. 30, 2023, 5:56 a.m. | OK | GNU C++17 | TESTS | 8 | 15 | 0 | ||
191178791 | Vedant_05 | A | Jan. 29, 2023, 8:16 p.m. | OK | GNU C++17 (64) | TESTS | 7 | 0 | 0 | ||
191196276 | Congruent | A | Jan. 30, 2023, 2:21 a.m. | OK | GNU C++17 (64) | TESTS | 7 | 15 | 0 | ||
191208128 | iamone | A | Jan. 30, 2023, 5:41 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 15 | 0 | ||
191207894 | Yra | A | Jan. 30, 2023, 5:38 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 15 | 0 | ||
191207541 | israil445 | A | Jan. 30, 2023, 5:33 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 15 | 0 | ||
191195082 | lzlfire | A | Jan. 30, 2023, 1:59 a.m. | OK | GNU C++17 (64) | TESTS | 7 | 15 | 0 | ||
191192731 | Rakib_Hossain | A | Jan. 30, 2023, 1:05 a.m. | OK | GNU C++17 (64) | TESTS | 7 | 15 | 0 | ||
191191775 | colazcy | A | Jan. 30, 2023, 12:40 a.m. | OK | GNU C++17 (64) | TESTS | 7 | 15 | 0 | ||
191183880 | Maram | A | Jan. 29, 2023, 9:29 p.m. | OK | GNU C++17 (64) | TESTS | 7 | 15 | 0 | ||
191183113 | diall_38 | A | Jan. 29, 2023, 9:17 p.m. | OK | GNU C++17 (64) | TESTS | 7 | 15 | 0 | ||
191202099 | healthycoder111 | A | Jan. 30, 2023, 4 a.m. | OK | GNU C++20 (64) | TESTS | 7 | 0 | 0 | ||
191202172 | lili_Blacktea | A | Jan. 30, 2023, 4:01 a.m. | OK | GNU C++20 (64) | TESTS | 7 | 0 | 0 | ||
191203292 | sangam432 | A | Jan. 30, 2023, 4:23 a.m. | OK | GNU C++20 (64) | TESTS | 7 | 0 | 0 | ||
191203597 | kclcode | A | Jan. 30, 2023, 4:29 a.m. | OK | GNU C++20 (64) | TESTS | 7 | 0 | 0 | ||
191203997 | ayush567 | A | Jan. 30, 2023, 4:35 a.m. | OK | GNU C++20 (64) | TESTS | 7 | 0 | 0 | ||
191204900 | AbdEl-Fatah_Ahmed | A | Jan. 30, 2023, 4:51 a.m. | OK | GNU C++20 (64) | TESTS | 7 | 0 | 0 | ||
191205391 | LaZ1Upret1 | A | Jan. 30, 2023, 4:59 a.m. | OK | GNU C++20 (64) | TESTS | 7 | 0 | 0 | ||
191205780 | Raito_Yagami | A | Jan. 30, 2023, 5:06 a.m. | OK | GNU C++20 (64) | TESTS | 7 | 0 | 0 | ||
191207459 | Dorz | A | Jan. 30, 2023, 5:32 a.m. | OK | GNU C++20 (64) | TESTS | 8 | 0 | 0 | ||
191209200 | utkarsh143singh | A | Jan. 30, 2023, 5:56 a.m. | OK | GNU C++20 (64) | TESTS | 8 | 0 | 0 | ||
191169691 | _samit_ | A | Jan. 29, 2023, 6:44 p.m. | OK | Go | TESTS | 7 | 31 | 307200 | ||
191200807 | peng-zhang | A | Jan. 30, 2023, 3:40 a.m. | OK | Go | TESTS | 7 | 62 | 204800 | ||
191153634 | basso | A | Jan. 29, 2023, 4:49 p.m. | OK | Go | TESTS | 7 | 171 | 204800 | ||
191144597 | scc9811 | A | Jan. 29, 2023, 4:09 p.m. | OK | Java 11 | TESTS | 7 | 171 | 0 | ||
191176517 | sduMamytbekov | A | Jan. 29, 2023, 7:48 p.m. | OK | Java 11 | TESTS | 7 | 187 | 0 | ||
191202862 | Dinesh_Pandiyan | A | Jan. 30, 2023, 4:14 a.m. | OK | Java 11 | TESTS | 7 | 295 | 0 | ||
191196900 | raj2022 | A | Jan. 30, 2023, 2:33 a.m. | OK | Java 11 | TESTS | 7 | 327 | 0 | ||
191205988 | prashant62 | A | Jan. 30, 2023, 5:10 a.m. | OK | Java 11 | TESTS | 7 | 327 | 0 | ||
191184935 | do3a6 | A | Jan. 29, 2023, 9:47 p.m. | OK | Java 11 | TESTS | 7 | 327 | 0 | ||
191162297 | pyronto | A | Jan. 29, 2023, 5:30 p.m. | OK | Java 11 | TESTS | 7 | 327 | 0 | ||
191155298 | 21h55a6201 | A | Jan. 29, 2023, 4:56 p.m. | OK | Java 11 | TESTS | 7 | 327 | 0 | ||
191159768 | rajgopalhota | A | Jan. 29, 2023, 5:18 p.m. | OK | Java 11 | TESTS | 7 | 342 | 0 | ||
191162884 | BoiFrenzy | A | Jan. 29, 2023, 5:32 p.m. | OK | Java 11 | TESTS | 7 | 343 | 0 | ||
191172434 | asetix | A | Jan. 29, 2023, 7:06 p.m. | OK | Java 17 | TESTS | 7 | 217 | 307200 | ||
191160029 | yfful | A | Jan. 29, 2023, 5:19 p.m. | OK | Java 17 | TESTS | 7 | 233 | 819200 | ||
191155512 | harshvadhan_pulipati | A | Jan. 29, 2023, 4:57 p.m. | OK | Java 17 | TESTS | 7 | 233 | 819200 | ||
191172081 | jashwanth_2003 | A | Jan. 29, 2023, 7:03 p.m. | OK | Java 17 | TESTS | 7 | 234 | 307200 | ||
191176704 | Mawina | A | Jan. 29, 2023, 7:50 p.m. | OK | Java 17 | TESTS | 7 | 234 | 921600 | ||
191143560 | aaditya1612 | A | Jan. 29, 2023, 4:05 p.m. | OK | Java 17 | TESTS | 7 | 249 | 307200 | ||
191191979 | Jatinydv17 | A | Jan. 30, 2023, 12:46 a.m. | OK | Java 17 | TESTS | 7 | 249 | 409600 | ||
191162829 | sathvikkota | A | Jan. 29, 2023, 5:32 p.m. | OK | Java 17 | TESTS | 7 | 264 | 614400 | ||
191156484 | florian.jaby | A | Jan. 29, 2023, 5:02 p.m. | OK | Java 17 | TESTS | 7 | 265 | 716800 | ||
191143011 | Bebra55 | A | Jan. 29, 2023, 4:02 p.m. | OK | Java 17 | TESTS | 7 | 280 | 1024000 | ||
191196870 | priyaroy3370 | A | Jan. 30, 2023, 2:32 a.m. | OK | Java 8 | TESTS | 7 | 93 | 0 | ||
191181638 | Koka | A | Jan. 29, 2023, 8:53 p.m. | OK | Java 8 | TESTS | 7 | 108 | 0 | ||
191189326 | leonlian | A | Jan. 29, 2023, 11:22 p.m. | OK | Java 8 | TESTS | 7 | 109 | 0 | ||
191179743 | Cromyl | A | Jan. 29, 2023, 8:28 p.m. | OK | Java 8 | TESTS | 7 | 109 | 0 | ||
191172279 | Mohamed_Ahmed | A | Jan. 29, 2023, 7:05 p.m. | OK | Java 8 | TESTS | 7 | 109 | 0 | ||
191170636 | aryamanhello | A | Jan. 29, 2023, 6:50 p.m. | OK | Java 8 | TESTS | 7 | 109 | 0 | ||
191152849 | ne_prajwal | A | Jan. 29, 2023, 4:45 p.m. | OK | Java 8 | TESTS | 7 | 109 | 0 | ||
191142640 | IanISam | A | Jan. 29, 2023, 4:01 p.m. | OK | Java 8 | TESTS | 7 | 109 | 0 | ||
191203629 | rahul_81 | A | Jan. 30, 2023, 4:29 a.m. | OK | Java 8 | TESTS | 7 | 124 | 0 | ||
191142513 | rozali | A | Jan. 29, 2023, 4 p.m. | OK | Java 8 | TESTS | 7 | 186 | 0 | ||
191152463 | hisroxy | A | Jan. 29, 2023, 4:43 p.m. | OK | MS C++ 2017 | TESTS | 7 | 15 | 0 | ||
191175680 | mahmoud_ossama | A | Jan. 29, 2023, 7:39 p.m. | OK | MS C++ 2017 | TESTS | 7 | 31 | 0 | ||
191183059 | curiousdragon49 | A | Jan. 29, 2023, 9:16 p.m. | OK | MS C++ 2017 | TESTS | 7 | 62 | 0 | ||
191175953 | M_HS | A | Jan. 29, 2023, 7:42 p.m. | OK | MS C++ 2017 | TESTS | 7 | 62 | 0 | ||
191175254 | gavvah | A | Jan. 29, 2023, 7:34 p.m. | OK | MS C++ 2017 | TESTS | 7 | 62 | 0 | ||
191161799 | King617 | A | Jan. 29, 2023, 5:27 p.m. | OK | MS C++ 2017 | TESTS | 7 | 62 | 0 | ||
191178141 | maxK99 | A | Jan. 29, 2023, 8:07 p.m. | OK | MS C++ 2017 | TESTS | 7 | 155 | 512000 | ||
191193085 | shasta0312 | A | Jan. 30, 2023, 1:14 a.m. | OK | Node.js | TESTS | 7 | 170 | 5427200 | ||
191146825 | jonathan-chen10 | A | Jan. 29, 2023, 4:18 p.m. | OK | Node.js | TESTS | 7 | 171 | 7372800 | ||
191145582 | ificiana | A | Jan. 29, 2023, 4:12 p.m. | OK | PyPy 3 | TESTS | 7 | 124 | 5734400 | ||
191177341 | iinaamasum | A | Jan. 29, 2023, 7:58 p.m. | OK | PyPy 3 | TESTS | 7 | 139 | 5836800 | ||
191191288 | ikoma | A | Jan. 30, 2023, 12:24 a.m. | OK | PyPy 3 | TESTS | 7 | 140 | 5427200 | ||
191147567 | bvf | A | Jan. 29, 2023, 4:21 p.m. | OK | PyPy 3 | TESTS | 7 | 249 | 5324800 | ||
191203452 | sayan2004 | A | Jan. 30, 2023, 4:26 a.m. | OK | PyPy 3 | TESTS | 7 | 280 | 8089600 | ||
191186563 | abraccadabra | A | Jan. 29, 2023, 10:18 p.m. | OK | PyPy 3 | TESTS | 7 | 280 | 8089600 | ||
191170555 | vl342 | A | Jan. 29, 2023, 6:50 p.m. | OK | PyPy 3 | TESTS | 7 | 280 | 8089600 | ||
191206524 | anushka8104 | A | Jan. 30, 2023, 5:17 a.m. | OK | PyPy 3 | TESTS | 7 | 295 | 8089600 | ||
191142458 | A9_10 | A | Jan. 29, 2023, 4 p.m. | OK | PyPy 3 | TESTS | 7 | 295 | 8089600 | ||
191174970 | bpdolson | A | Jan. 29, 2023, 7:31 p.m. | OK | PyPy 3 | TESTS | 7 | 296 | 7987200 | ||
191188436 | hkwu6013 | A | Jan. 29, 2023, 10:59 p.m. | OK | PyPy 3-64 | TESTS | 7 | 77 | 5836800 | ||
191173754 | Homeo | A | Jan. 29, 2023, 7:18 p.m. | OK | PyPy 3-64 | TESTS | 7 | 92 | 8704000 | ||
191169509 | rmr | A | Jan. 29, 2023, 6:42 p.m. | OK | PyPy 3-64 | TESTS | 7 | 93 | 6860800 | ||
191205036 | rishabh26072003 | A | Jan. 30, 2023, 4:53 a.m. | OK | PyPy 3-64 | TESTS | 7 | 93 | 7680000 | ||
191176000 | poornaTheja | A | Jan. 29, 2023, 7:42 p.m. | OK | PyPy 3-64 | TESTS | 7 | 93 | 7680000 | ||
191200828 | Tadapally | A | Jan. 30, 2023, 3:40 a.m. | OK | PyPy 3-64 | TESTS | 7 | 93 | 9113600 | ||
191201841 | InariInDream | A | Jan. 30, 2023, 3:56 a.m. | OK | PyPy 3-64 | TESTS | 7 | 108 | 6656000 | ||
191148861 | the_last_smilodon | A | Jan. 29, 2023, 4:27 p.m. | OK | PyPy 3-64 | TESTS | 7 | 108 | 7270400 | ||
191196787 | Youarenotgood | A | Jan. 30, 2023, 2:31 a.m. | OK | PyPy 3-64 | TESTS | 7 | 108 | 7577600 | ||
191147709 | SeanInAction | A | Jan. 29, 2023, 4:22 p.m. | OK | PyPy 3-64 | TESTS | 7 | 108 | 8089600 | ||
191178319 | WillMorrison | A | Jan. 29, 2023, 8:09 p.m. | OK | Python 3 | TESTS | 7 | 62 | 204800 | ||
191195404 | Muhammad_Aneeq | A | Jan. 30, 2023, 2:05 a.m. | OK | Python 3 | TESTS | 7 | 62 | 307200 | ||
191190212 | akimuuwu | A | Jan. 29, 2023, 11:49 p.m. | OK | Python 3 | TESTS | 7 | 62 | 307200 | ||
191198764 | jwalapc | A | Jan. 30, 2023, 3:07 a.m. | OK | Python 3 | TESTS | 7 | 77 | 0 | ||
191154206 | UnreliableSpare | A | Jan. 29, 2023, 4:51 p.m. | OK | Python 3 | TESTS | 7 | 78 | 819200 | ||
191174739 | Omar.Gawdat | A | Jan. 29, 2023, 7:28 p.m. | OK | Python 3 | TESTS | 7 | 93 | 307200 | ||
191191864 | honey_badger_0777 | A | Jan. 30, 2023, 12:43 a.m. | OK | Python 3 | TESTS | 7 | 108 | 0 | ||
191207056 | Sahil093 | A | Jan. 30, 2023, 5:26 a.m. | OK | Python 3 | TESTS | 7 | 109 | 0 | ||
191206592 | 2jz-gte | A | Jan. 30, 2023, 5:18 a.m. | OK | Python 3 | TESTS | 7 | 109 | 0 | ||
191203158 | ayushsahu_123 | A | Jan. 30, 2023, 4:20 a.m. | OK | Python 3 | TESTS | 7 | 109 | 0 | ||
191151291 | uvarovrs40 | A | Jan. 29, 2023, 4:37 p.m. | OK | Rust 2021 | TESTS | 7 | 108 | 0 |
Back to search problems