April Fools Day Contest 2023

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
1812 April Fools Day Contest 2023 FINISHED False 7200 56906663 April 1, 2023, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4678 ) D Trivial Conjecture PROGRAMMING *special constructive algorithms math number theory

B' f(n) = <= ft { begin{array}{ll} frac{n}{2} & n equiv 0 pmod{2} 3n+1 & n equiv 1 pmod{2} end{array} right. Find an integer n so that none of the first k terms of the sequence n, f(n), f(f(n)), f(f(f(n))), ... are equal to 1 . The only line contains an integer k ( 1 <= q k <= q min( textbf{[REDACTED]}, 10^{18}) ). Output a single integer n such that none of the first k terms of the sequence n, f(n), f(f(n)), f(f(f(n))), ... are equal to 1 . Integer n should have at most 10^3 digits. In the first test, the sequence created with n = 5 looks like 5, 16, 8, 4, 2, 1, 4, ... , and none of the first k=1 terms are equal to 1 . In the second test, the sequence created with n = 6 looks like 6, 3, 10, 5, 16, 8, 4, ... , and none of the first k=5 terms are equal to 1 . '...

Tutorials

Editorial of April Fools Day Contest 2023

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
200321042 Mushfiqur_ D April 2, 2023, 2:52 a.m. OK Clang++20 Diagnostics TESTS 12 31 0
200330826 ruban D April 2, 2023, 5:29 a.m. OK FPC TESTS 12 15 154214400
200277859 maruf_bro D April 1, 2023, 4:25 p.m. OK GNU C11 TESTS 12 15 0
200282301 Fahim_1508 D April 1, 2023, 4:31 p.m. OK GNU C11 TESTS 12 15 0
200284670 AvikAB D April 1, 2023, 4:34 p.m. OK GNU C11 TESTS 12 15 0
200321566 iffatul_anon D April 2, 2023, 3:01 a.m. OK GNU C11 TESTS 12 15 0
200326012 covert_insurgent D April 2, 2023, 4:21 a.m. OK GNU C11 TESTS 12 15 0
200328259 Moka50 D April 2, 2023, 4:57 a.m. OK GNU C11 TESTS 12 15 0
200326798 nevikw39 D April 2, 2023, 4:34 a.m. OK GNU C11 TESTS 12 15 0
200274118 PolymathFaisal D April 1, 2023, 4:21 p.m. OK GNU C11 TESTS 12 15 0
200268524 Super_Tea D April 1, 2023, 4:14 p.m. OK GNU C++14 TESTS 12 0 0
200270437 code_himanshu1 D April 1, 2023, 4:16 p.m. OK GNU C++14 TESTS 12 0 0
200283029 neeraj542 D April 1, 2023, 4:32 p.m. OK GNU C++14 TESTS 12 0 0
200284513 Azazul.123 D April 1, 2023, 4:34 p.m. OK GNU C++14 TESTS 12 0 0
200320447 _YXJS_ D April 2, 2023, 2:41 a.m. OK GNU C++14 TESTS 12 0 0
200325742 hari_0oom D April 2, 2023, 4:17 a.m. OK GNU C++14 TESTS 12 0 0
200331865 Hebu17 D April 2, 2023, 5:42 a.m. OK GNU C++14 TESTS 12 0 0
200324633 Glu-TtoNy D April 2, 2023, 3:58 a.m. OK GNU C++14 TESTS 12 0 4300800
200332292 tanaykolhe01 D April 2, 2023, 5:47 a.m. OK GNU C++14 TESTS 12 0 40038400
200325513 ZDivine D April 2, 2023, 4:13 a.m. OK GNU C++14 TESTS 12 15 0
200319265 Rajat.18 D April 2, 2023, 2:16 a.m. OK GNU C++17 TESTS 12 0 0
200319108 xianglihua D April 2, 2023, 2:13 a.m. OK GNU C++17 TESTS 12 0 0
200327509 Sheber D April 2, 2023, 4:46 a.m. OK GNU C++17 TESTS 12 0 0
200329181 hiralal_66 D April 2, 2023, 5:10 a.m. OK GNU C++17 TESTS 12 0 0
200325586 nabin01 D April 2, 2023, 4:14 a.m. OK GNU C++17 TESTS 12 0 0
200330010 neerajgartia211002 D April 2, 2023, 5:20 a.m. OK GNU C++17 TESTS 12 0 0
200330667 testing_90 D April 2, 2023, 5:27 a.m. OK GNU C++17 TESTS 12 0 0
200332289 Master_Gojo D April 2, 2023, 5:47 a.m. OK GNU C++17 TESTS 12 0 0
200329360 RaNa_JAyyy D April 2, 2023, 5:12 a.m. OK GNU C++17 TESTS 12 0 0
200322669 _ReverseCoder D April 2, 2023, 3:22 a.m. OK GNU C++17 TESTS 12 0 0
200266805 baburao_apte D April 1, 2023, 4:12 p.m. OK GNU C++17 (64) TESTS 12 0 0
200332950 tanmaygoyal875 D April 2, 2023, 5:54 a.m. OK GNU C++17 (64) TESTS 12 0 0
200330514 Yuchang_Zhu D April 2, 2023, 5:26 a.m. OK GNU C++17 (64) TESTS 12 0 0
200319275 hadi7 D April 2, 2023, 2:16 a.m. OK GNU C++17 (64) TESTS 12 0 0
200284122 Sarkar_Niloy102 D April 1, 2023, 4:34 p.m. OK GNU C++17 (64) TESTS 12 0 0
200282371 lunchbox D April 1, 2023, 4:31 p.m. OK GNU C++17 (64) TESTS 12 0 0
200281941 dorijanlendvaj D April 1, 2023, 4:30 p.m. OK GNU C++17 (64) TESTS 12 0 0
200280142 UniqueWeirdo D April 1, 2023, 4:28 p.m. OK GNU C++17 (64) TESTS 12 0 0
200270290 Man_Dhanani_07 D April 1, 2023, 4:16 p.m. OK GNU C++17 (64) TESTS 12 0 0
200270006 RakibulIslam D April 1, 2023, 4:16 p.m. OK GNU C++17 (64) TESTS 12 0 0
200324973 Fighter-Man D April 2, 2023, 4:03 a.m. OK GNU C++20 (64) TESTS 12 0 0
200324911 Almonther D April 2, 2023, 4:02 a.m. OK GNU C++20 (64) TESTS 12 0 0
200327269 .dd D April 2, 2023, 4:42 a.m. OK GNU C++20 (64) TESTS 12 0 0
200328329 dipsha.sanu D April 2, 2023, 4:58 a.m. OK GNU C++20 (64) TESTS 12 0 0
200329756 umedjonibahodur D April 2, 2023, 5:17 a.m. OK GNU C++20 (64) TESTS 12 0 0
200329796 ashutoshrana3036 D April 2, 2023, 5:17 a.m. OK GNU C++20 (64) TESTS 12 0 0
200330618 morphik D April 2, 2023, 5:27 a.m. OK GNU C++20 (64) TESTS 12 0 0
200331072 morphik D April 2, 2023, 5:32 a.m. OK GNU C++20 (64) TESTS 12 0 0
200331246 himanshus07 D April 2, 2023, 5:34 a.m. OK GNU C++20 (64) TESTS 12 0 0
200333666 Aditya_A16 D April 2, 2023, 6:02 a.m. OK GNU C++20 (64) TESTS 12 0 0
200275220 GoMaster D April 1, 2023, 4:22 p.m. OK Go TESTS 12 15 0
200273344 YuRen-tw D April 1, 2023, 4:20 p.m. OK Haskell TESTS 12 15 0
200277856 ashokesen02 D April 1, 2023, 4:25 p.m. OK Java 17 TESTS 12 171 307200
200329279 puriabhijit000 D April 2, 2023, 5:11 a.m. OK Java 17 TESTS 12 171 409600
200275659 SuprHUlk D April 1, 2023, 4:22 p.m. OK Java 17 TESTS 12 202 0
200283235 Kenzhezhan D April 1, 2023, 4:32 p.m. OK Java 8 TESTS 12 109 0
200321345 zrjs D April 2, 2023, 2:57 a.m. OK Java 8 TESTS 12 124 0
200277538 devanshpatel856 D April 1, 2023, 4:25 p.m. OK Java 8 TESTS 12 124 0
200275426 sambit_rout_ D April 1, 2023, 4:22 p.m. OK Java 8 TESTS 12 124 0
200269442 back2lyfe D April 1, 2023, 4:15 p.m. OK Java 8 TESTS 12 124 0
200276819 rokirovochka D April 1, 2023, 4:24 p.m. OK MS C++ 2017 TESTS 12 0 0
200321852 ma7ameee7o0o D April 2, 2023, 3:06 a.m. OK PHP TESTS 12 31 0
200329688 Faisal-Saqib D April 2, 2023, 5:16 a.m. OK PHP TESTS 12 46 0
200329471 zly2009 D April 2, 2023, 5:14 a.m. OK PHP TESTS 12 46 0
200325335 dutin D April 2, 2023, 4:10 a.m. OK PHP TESTS 12 46 0
200325165 tyrin.mikhail D April 2, 2023, 4:07 a.m. OK PHP TESTS 12 46 0
200324385 Theophania D April 2, 2023, 3:53 a.m. OK PHP TESTS 12 46 0
200324110 skye_ D April 2, 2023, 3:48 a.m. OK PHP TESTS 12 46 0
200320444 eee D April 2, 2023, 2:41 a.m. OK PHP TESTS 12 46 0
200320167 isaachew D April 2, 2023, 2:35 a.m. OK PHP TESTS 12 46 0
200319847 Once_I_Liked_AGirl D April 2, 2023, 2:28 a.m. OK PHP TESTS 12 46 0
200274495 tatianyi D April 1, 2023, 4:21 p.m. OK PyPy 2 TESTS 12 61 0
200330703 _Octal_ D April 2, 2023, 5:28 a.m. OK PyPy 3 TESTS 12 77 0
200327493 Rohan_IITD D April 2, 2023, 4:46 a.m. OK PyPy 3 TESTS 12 77 0
200283478 manasgoyal2807 D April 1, 2023, 4:33 p.m. OK PyPy 3 TESTS 12 77 0
200278606 rafgiav D April 1, 2023, 4:26 p.m. OK PyPy 3 TESTS 12 77 0
200275806 tamim.abdullah D April 1, 2023, 4:23 p.m. OK PyPy 3 TESTS 12 77 0
200282643 Jerseys D April 1, 2023, 4:31 p.m. OK PyPy 3 TESTS 12 92 0
200271403 P_Vertiny D April 1, 2023, 4:18 p.m. OK PyPy 3 TESTS 12 92 0
200271282 CandyDogg D April 1, 2023, 4:17 p.m. OK PyPy 3 TESTS 12 92 0
200332354 drgrd D April 2, 2023, 5:47 a.m. OK PyPy 3-64 TESTS 12 46 0
200330987 udayan8 D April 2, 2023, 5:31 a.m. OK PyPy 3-64 TESTS 12 46 0
200329380 3laa3adel_13 D April 2, 2023, 5:13 a.m. OK PyPy 3-64 TESTS 12 46 0
200323373 lethan3 D April 2, 2023, 3:36 a.m. OK PyPy 3-64 TESTS 12 46 0
200319829 morete D April 2, 2023, 2:27 a.m. OK PyPy 3-64 TESTS 12 46 0
200273197 WangManHe081208 D April 1, 2023, 4:20 p.m. OK PyPy 3-64 TESTS 12 46 0
200269910 Deependra_coder D April 1, 2023, 4:16 p.m. OK PyPy 3-64 TESTS 12 46 0
200268465 Kyou_mo_kawaii D April 1, 2023, 4:14 p.m. OK PyPy 3-64 TESTS 12 46 0
200266733 gesuta D April 1, 2023, 4:12 p.m. OK PyPy 3-64 TESTS 12 46 0
200266712 RobinFromTheHood D April 1, 2023, 4:12 p.m. OK PyPy 3-64 TESTS 12 46 0
200330479 vandro D April 2, 2023, 5:26 a.m. OK Python 2 TESTS 12 31 0
200331622 rohith D April 2, 2023, 5:39 a.m. OK Python 3 TESTS 12 31 0
200329426 Block_Cipher D April 2, 2023, 5:13 a.m. OK Python 3 TESTS 12 31 0
200329241 parth_kabra D April 2, 2023, 5:11 a.m. OK Python 3 TESTS 12 31 0
200326781 Jeuti D April 2, 2023, 4:34 a.m. OK Python 3 TESTS 12 31 0
200325955 s010456 D April 2, 2023, 4:20 a.m. OK Python 3 TESTS 12 31 0
200325408 dev_italiya D April 2, 2023, 4:11 a.m. OK Python 3 TESTS 12 31 0
200323599 codetodev D April 2, 2023, 3:40 a.m. OK Python 3 TESTS 12 31 0
200321378 liyouwen D April 2, 2023, 2:58 a.m. OK Python 3 TESTS 12 31 0
200321164 Bossologist D April 2, 2023, 2:54 a.m. OK Python 3 TESTS 12 31 0
200321062 taurist D April 2, 2023, 2:52 a.m. OK Python 3 TESTS 12 31 0
200270967 namanlp D April 1, 2023, 4:17 p.m. OK Rust 2021 TESTS 12 15 0

remove filters

Back to search problems