Good Bye 2018

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
1091 Good Bye 2018 FINISHED False 9600 191345124 Dec. 30, 2018, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 211 ) G New Year and the Factorisation Collaboration PROGRAMMING interactive math number theory 3100

B'Integer factorisation is hard. The RSA Factoring Challenge offered $100 ,000 for factoring RSA- 1024 , a 1024 -bit long product of two prime numbers. To this date, nobody was able to claim the prize. We want you to factorise a 1024 -bit number. Since your programming language of choice might not offer facilities for handling large integers, we will provide you with a very simple calculator. To use this calculator, you can print queries on the standard output and retrieve the results from the standard input. The operations are as follows: Find the factorisation of n that is a product of between 2 and 10 distinct prime numbers, all of form 4x + 3 for some integer x . Because of technical issues, we restrict number of requests to 100 . The only line contains a single integer n ( 21 <= q n <= q 2^{1024} ). It is guaranteed that n is a product of between 2 and 10 distinct prime numbers, all of form 4x + 3 for some integer x . You can print as many queries as you wish, adhering to the time limit (see the Interaction section for more details). When you think you know the answer, output a single line of form ! k p_1 p_2 ... p_k, where k is the number of prime factors of n , and p_i are the distinct prime factors. You may print the factors in any order. Hacks input For hacks, use the following format:. The first should contain k ( 2 <= q k <= q 10 ) -- the number of prime factors of n . The second should contain k space separated integers p_1, p_2, ... , p_k ( 21 <= q n <= q 2^{1024} ) -- the prime factors of n . All prime factors have to be of form 4x + 3 for some integer x . They all have to be distinct. After printing a query do not forget to output end of line and flush the output. Otherwise you will get Idleness limit exceeded. To do this, use: The number of queries is not limited. However, you'...

Tutorials

Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
47775171 zhouyuyang G Dec. 31, 2018, 3:01 a.m. OK GNU C++11 TESTS 142 62 204800 3100
57867638 lopare G July 27, 2019, 10:27 p.m. OK GNU C++11 TESTS 142 124 11776000 3100
48525200 cuizhuyefei G Jan. 18, 2019, 8:44 a.m. OK GNU C++11 TESTS 142 139 11776000 3100
48654515 ReaLNero1 G Jan. 21, 2019, 1:36 a.m. OK GNU C++14 TESTS 142 93 204800 3100
47962709 177013 G Jan. 5, 2019, 10:21 a.m. OK GNU C++14 TESTS 142 93 204800 3100
53673713 krijgertje G May 2, 2019, 2:33 p.m. OK GNU C++14 TESTS 142 202 204800 3100
47830429 ACRush G Jan. 2, 2019, 6:11 a.m. OK GNU C++14 TESTS 142 982 204800 3100
53673221 krijgertje G May 2, 2019, 2:19 p.m. OK GNU C++14 TESTS 142 1606 204800 3100
48593421 wakaka G Jan. 20, 2019, 4:45 a.m. OK GNU C++14 TESTS 142 2355 7065600 3100
48531110 wakaka G Jan. 18, 2019, 11:57 a.m. OK GNU C++14 TESTS 142 2994 7065600 3100
47765439 tEMMIE.w. G Dec. 30, 2018, 5:13 p.m. OK GNU C++17 TESTS 142 1482 409600 3100
62972276 Xellos G Oct. 20, 2019, 7:20 a.m. OK GNU C++17 TESTS 142 1980 819200 3100
48083063 Prakash_Gatiyala G Jan. 8, 2019, 9:19 a.m. OK Java 8 TESTS 142 171 0 3100
47844170 calabash_boy G Jan. 2, 2019, 1:47 p.m. OK Java 8 TESTS 142 171 0 3100
47813909 akaMagdyaka G Jan. 1, 2019, 1:10 p.m. OK Java 8 TESTS 142 171 0 3100
47768399 ecnerwala G Dec. 30, 2018, 7:09 p.m. OK Java 8 TESTS 142 171 0 3100
47753526 tourist G Dec. 30, 2018, 3:55 p.m. OK Java 8 TESTS 142 171 0 3100
47750364 ecnerwala G Dec. 30, 2018, 3:39 p.m. OK Java 8 TESTS 142 187 0 3100
48113484 tmwilliamlin168 G Jan. 9, 2019, 11:07 a.m. OK Java 8 TESTS 142 202 0 3100
47810124 mbrc G Jan. 1, 2019, 10:40 a.m. OK Java 8 TESTS 142 218 0 3100
47888123 dragonslayerintraining G Jan. 4, 2019, 2:56 a.m. OK Java 8 TESTS 142 233 0 3100
47771457 collares G Dec. 30, 2018, 9:43 p.m. OK Java 8 TESTS 142 233 0 3100
64182773 Spheniscine G Nov. 4, 2019, 2:25 a.m. OK Kotlin TESTS 142 280 204800 3100
64184017 Spheniscine G Nov. 4, 2019, 3:29 a.m. OK Kotlin TESTS 142 295 204800 3100
47777067 apiadu G Dec. 31, 2018, 5:01 a.m. OK PyPy 2 TESTS 142 171 1024000 3100
47792627 _twilight G Dec. 31, 2018, 2:26 p.m. OK PyPy 2 TESTS 142 186 12595200 3100
53384931 pajenegod G April 27, 2019, 2:50 a.m. OK PyPy 2 TESTS 142 187 1126400 3100
47759045 jschneider2013 G Dec. 30, 2018, 4:31 p.m. OK PyPy 2 TESTS 142 187 20275200 3100
47805839 c1729 G Jan. 1, 2019, 7:07 a.m. OK PyPy 2 TESTS 142 217 1228800 3100
47806033 c1729 G Jan. 1, 2019, 7:19 a.m. OK PyPy 2 TESTS 142 233 1228800 3100
47762043 kiwikiwi G Dec. 30, 2018, 4:52 p.m. OK PyPy 2 TESTS 142 296 8499200 3100
47773715 TLE G Dec. 31, 2018, 1:19 a.m. OK PyPy 2 TESTS 142 451 35225600 3100
47797737 vhnvn G Dec. 31, 2018, 6:38 p.m. OK PyPy 3 TESTS 142 608 1740800 3100
47851238 consecutivelimit G Jan. 2, 2019, 5:55 p.m. OK Python 2 TESTS 142 233 307200 3100
48940193 borisgrubic G Jan. 25, 2019, 4:08 p.m. OK Python 2 TESTS 142 280 614400 3100
47768279 SamuelTangz G Dec. 30, 2018, 7:06 p.m. OK Python 2 TESTS 142 389 307200 3100
47768184 DamianS G Dec. 30, 2018, 7:04 p.m. OK Python 2 TESTS 142 1762 819200 3100
47761522 xyz111 G Dec. 30, 2018, 4:48 p.m. OK Python 2 TESTS 142 1918 819200 3100
50615075 code_struck G Feb. 28, 2019, 7:03 p.m. OK Python 3 TESTS 142 155 512000 3100
48369062 FizzyDavid G Jan. 14, 2019, 2:16 a.m. OK Python 3 TESTS 142 155 512000 3100
47878471 fruwajacybyk G Jan. 3, 2019, 4:51 p.m. OK Python 3 TESTS 142 155 512000 3100
49912791 liouzhou_101 G Feb. 14, 2019, 3:02 p.m. OK Python 3 TESTS 142 155 819200 3100
53567463 142857 G April 30, 2019, 1:15 p.m. OK Python 3 TESTS 142 156 512000 3100
47887268 mango_lassi G Jan. 4, 2019, 1:31 a.m. OK Python 3 TESTS 142 170 512000 3100
49912595 liouzhou_101 G Feb. 14, 2019, 2:56 p.m. OK Python 3 TESTS 142 170 819200 3100
62352515 HNO2 G Oct. 11, 2019, 9:49 a.m. OK Python 3 TESTS 142 171 512000 3100
52061865 cuom1999 G March 31, 2019, 2 a.m. OK Python 3 TESTS 142 171 512000 3100
49857107 newbiegcz G Feb. 13, 2019, 7:45 a.m. OK Python 3 TESTS 142 171 512000 3100
47764772 rickytheta G Dec. 30, 2018, 5:09 p.m. OK Ruby TESTS 142 140 2150400 3100
47770095 Shik G Dec. 30, 2018, 8:17 p.m. OK Ruby TESTS 142 841 3276800 3100

remove filters

Back to search problems