Good Bye 2017

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
908 Good Bye 2017 FINISHED False 9000 217261199 Dec. 29, 2017, 3:40 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1373 ) G New Year and Original Order PROGRAMMING dp math 2700

B'Let S(n) denote the number that represents the digits of n in sorted order. For example, S(1) xe2 x80 x89= xe2 x80 x891, xe2 x80 x89S(5) xe2 x80 x89= xe2 x80 x895, xe2 x80 x89S(50394) xe2 x80 x89= xe2 x80 x893459, xe2 x80 x89S(353535) xe2 x80 x89= xe2 x80 x89333555. Given a number X, compute modulo 109 xe2 x80 x89+ xe2 x80 x897. The first line of input will contain the integer X (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89X xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910700). Print a single integer, the answer to the question. The first few values of S are 1, xe2 x80 x892, xe2 x80 x893, xe2 x80 x894, xe2 x80 x895, xe2 x80 x896, xe2 x80 x897, xe2 x80 x898, xe2 x80 x899, xe2 x80 x891, xe2 x80 x8911, xe2 x80 x8912, xe2 x80 x8913, xe2 x80 x8914, xe2 x80 x8915, xe2 x80 x8916, xe2 x80 x8917, xe2 x80 x8918, xe2 x80 x8919, xe2 x80 x892, xe2 x80 x8912. The sum of these values is 195. '...

Tutorials

Good Bye 2017 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
56807898 Philchieh G July 10, 2019, 2:41 p.m. OK FPC TESTS 20 265 39731200 2700
33848433 F.Darcy G Jan. 1, 2018, 1:55 p.m. OK GNU C++ TESTS 20 15 1843200 2700
33823640 lzr_010506 G Dec. 31, 2017, 2:12 a.m. OK GNU C++ TESTS 20 15 2048000 2700
34922645 djyang G Feb. 4, 2018, 12:25 p.m. OK GNU C++ TESTS 20 15 40652800 2700
34489898 dogther G Jan. 23, 2018, 5:01 p.m. OK GNU C++ TESTS 20 15 40652800 2700
39235274 Efina G June 14, 2018, 8:04 a.m. OK GNU C++ TESTS 20 30 0 2700
39234275 robinliu G June 14, 2018, 7:27 a.m. OK GNU C++ TESTS 20 30 0 2700
38967628 l1ll5 G June 5, 2018, 11:51 a.m. OK GNU C++ TESTS 20 31 3891200 2700
35734070 zhouliyang G Feb. 26, 2018, 1:52 p.m. OK GNU C++ TESTS 20 46 2150400 2700
33954038 Blue233333 G Jan. 6, 2018, 2:30 a.m. OK GNU C++ TESTS 20 62 5939200 2700
37529285 Jimmyforevery G April 22, 2018, 8:31 a.m. OK GNU C++ TESTS 20 62 7372800 2700
34143018 VPigeonKing G Jan. 13, 2018, 2:10 p.m. OK GNU C++11 TESTS 20 15 2048000 2700
34141639 VPigeonKing G Jan. 13, 2018, 2:03 p.m. OK GNU C++11 TESTS 20 15 2048000 2700
33909565 akmintro G Jan. 4, 2018, 6:33 p.m. OK GNU C++11 TESTS 20 15 2048000 2700
33844369 Sept G Jan. 1, 2018, 9:27 a.m. OK GNU C++11 TESTS 20 15 2048000 2700
33804717 deep_learning G Dec. 30, 2017, 8:48 a.m. OK GNU C++11 TESTS 20 15 2048000 2700
33804699 FlappyFish G Dec. 30, 2017, 8:47 a.m. OK GNU C++11 TESTS 20 15 2048000 2700
34893228 dasinlsb G Feb. 3, 2018, 11:37 a.m. OK GNU C++11 TESTS 20 15 2150400 2700
33861172 waterfalls G Jan. 2, 2018, 9:58 a.m. OK GNU C++11 TESTS 20 15 2150400 2700
33819447 aurinegro G Dec. 30, 2017, 7:45 p.m. OK GNU C++11 TESTS 20 15 2150400 2700
33967586 PlayfulPanda G Jan. 6, 2018, 4:53 p.m. OK GNU C++11 TESTS 20 15 2252800 2700
33802578 ftiasch G Dec. 30, 2017, 6:47 a.m. OK GNU C++14 TESTS 20 15 1843200 2700
35151441 Joker_23 G Feb. 11, 2018, 11:34 a.m. OK GNU C++14 TESTS 20 15 1945600 2700
34944063 jslijin G Feb. 5, 2018, 12:42 p.m. OK GNU C++14 TESTS 20 15 1945600 2700
34943679 jslijin G Feb. 5, 2018, 12:27 p.m. OK GNU C++14 TESTS 20 15 1945600 2700
34731765 Googal G Jan. 31, 2018, 8:58 a.m. OK GNU C++14 TESTS 20 15 1945600 2700
33959290 czp666 G Jan. 6, 2018, 8:46 a.m. OK GNU C++14 TESTS 20 15 1945600 2700
33860408 Emma194 G Jan. 2, 2018, 8:53 a.m. OK GNU C++14 TESTS 20 15 1945600 2700
33850164 Minnakhmetov G Jan. 1, 2018, 3:38 p.m. OK GNU C++14 TESTS 20 15 1945600 2700
35282689 riverwalk7 G Feb. 15, 2018, 5:18 a.m. OK GNU C++14 TESTS 20 15 2048000 2700
33923424 jihoon G Jan. 5, 2018, 2:13 p.m. OK GNU C++14 TESTS 20 15 2048000 2700
49619777 vjudge2 G Feb. 8, 2019, 8:41 a.m. OK GNU C++17 TESTS 20 62 40345600 2700
64125917 hjk1030 G Nov. 3, 2019, 4:43 a.m. OK GNU C++17 TESTS 20 78 36352000 2700
67423407 Kuroni G Dec. 22, 2019, 12:34 p.m. OK GNU C++17 TESTS 20 93 4096000 2700
38335646 cdzhangjiajie G May 17, 2018, 1:21 a.m. OK GNU C++17 TESTS 20 93 39219200 2700
60343462 Vexoben G Sept. 10, 2019, 11:45 a.m. OK GNU C++17 TESTS 20 93 39833600 2700
63654415 HyscereXD G Oct. 28, 2019, 12:17 p.m. OK GNU C++17 TESTS 20 93 40448000 2700
39216961 WildRage G June 13, 2018, 12:58 p.m. OK GNU C++17 TESTS 20 109 39833600 2700
41529922 ShichengXiao G Aug. 12, 2018, 1:57 p.m. OK GNU C++17 TESTS 20 109 40448000 2700
44043051 NiceBaseballCoder G Oct. 9, 2018, 3:44 p.m. OK GNU C++17 TESTS 20 109 47820800 2700
51864889 lqs2015 G March 26, 2019, 2:42 p.m. OK GNU C++17 TESTS 20 109 53248000 2700
33877454 tmwilliamlin168 G Jan. 3, 2018, 5:37 a.m. OK Java 8 TESTS 20 109 20684800 2700
33877617 tmwilliamlin168 G Jan. 3, 2018, 5:52 a.m. OK Java 8 TESTS 20 124 20684800 2700
34097346 JialinOuyang G Jan. 11, 2018, 10:21 p.m. OK Java 8 TESTS 20 249 20889600 2700
33815671 qwerty787788 G Dec. 30, 2017, 5:14 p.m. OK Java 8 TESTS 20 280 20684800 2700
33787592 eatmore G Dec. 29, 2017, 5:33 p.m. OK Java 8 TESTS 20 374 20684800 2700
33785419 mmaxio G Dec. 29, 2017, 5:11 p.m. OK Java 8 TESTS 20 529 20684800 2700
33876781 tmwilliamlin168 G Jan. 3, 2018, 4:29 a.m. OK Java 8 TESTS 20 826 27750400 2700
35509474 wangck1998 G Feb. 20, 2018, 2:32 a.m. OK Java 8 TESTS 20 935 42803200 2700
33788461 uwi G Dec. 29, 2017, 5:42 p.m. OK Java 8 TESTS 20 998 20787200 2700
33784270 Petr G Dec. 29, 2017, 5 p.m. OK Java 8 TESTS 20 1029 20787200 2700
61259325 vjudge5 G Sept. 25, 2019, 11:11 a.m. OK MS C++ TESTS 20 140 40448000 2700
57325775 vjudge2 G July 19, 2019, 12:03 p.m. OK MS C++ TESTS 20 171 44441600 2700
57330871 vjudge5 G July 19, 2019, 2:06 p.m. OK MS C++ TESTS 20 217 51302400 2700
57324581 vjudge1 G July 19, 2019, 11:33 a.m. OK MS C++ TESTS 20 514 78745600 2700
57315049 vjudge3 G July 19, 2019, 7:55 a.m. OK MS C++ TESTS 20 810 102604800 2700
57640459 vjudge5 G July 24, 2019, 12:26 p.m. OK MS C++ TESTS 20 889 79667200 2700
67406630 SDSZ-WZZ G Dec. 22, 2019, 6:40 a.m. OK MS C++ 2017 TESTS 20 124 40448000 2700
40111297 Ali_Pi G July 9, 2018, 11:54 a.m. OK PyPy 2 TESTS 20 171 1331200 2700
34086629 nwi G Jan. 11, 2018, 11:36 a.m. OK Python 2 TESTS 20 77 4608000 2700

remove filters

Back to search problems