MemSQL start[c]up Round 1

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
325 MemSQL start[c]up Round 1 FINISHED False 7200 363790823 July 13, 2013, 5 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 842 ) E The Red Button PROGRAMMING combinatorics dfs and similar ds graphs greedy 2700

B'Piegirl found the red button. You have one last chance to change the inevitable end. The circuit under the button consists of n nodes, numbered from 0 to n - 1. In order to deactivate the button, the n nodes must be disarmed in a particular order. Node 0 must be disarmed first. After disarming node i, the next node to be disarmed must be either node (2 xc2 xb7i) modulo n or node (2 xc2 xb7i) xe2 x80 x89+ xe2 x80 x891 modulo n. The last node to be disarmed must be node 0. Node 0 must be disarmed twice, but all other nodes must be disarmed exactly once. Your task is to find any such order and print it. If there is no such order, print -1. Input consists of a single integer n (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105). Print an order in which you can to disarm all nodes. If it is impossible, print -1 instead. If there are multiple orders, print any one of them.'...

Tutorials

Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
4070179 Misha100896 E July 14, 2013, 2:38 p.m. OK Delphi TESTS 47 46 33587200 2700
4107621 ZeRoGerc E July 19, 2013, 3:16 p.m. OK FPC TESTS 47 31 1638400 2700
4075895 Omelianenko E July 15, 2013, 1:58 p.m. OK FPC TESTS 47 31 1638400 2700
4075675 PeterTong97 E July 15, 2013, 1:20 p.m. OK FPC TESTS 47 31 1638400 2700
4070867 Nik_Storm_2010 E July 14, 2013, 6:30 p.m. OK FPC TESTS 47 31 1638400 2700
11679930 ljz E June 20, 2015, 9:29 a.m. OK FPC TESTS 47 342 1945600 2700
4072104 icecode E July 15, 2013, 2:51 a.m. OK GNU C TESTS 47 46 3584000 2700
4194915 lvjiashenhun E July 28, 2013, 1:18 p.m. OK GNU C TESTS 47 92 819200 2700
7215122 dzy493941464 E July 24, 2014, 9:09 a.m. OK GNU C++ TESTS 47 30 3993600 2700
4066584 miketcyue E July 14, 2013, 2:52 a.m. OK GNU C++ TESTS 47 31 512000 2700
4070639 gj1292 E July 14, 2013, 5:25 p.m. OK GNU C++ TESTS 47 31 5120000 2700
4068389 JayYe E July 14, 2013, 8:51 a.m. OK GNU C++ TESTS 47 46 512000 2700
4080552 liuxu E July 16, 2013, 11:25 a.m. OK GNU C++ TESTS 47 46 614400 2700
4069665 916852 E July 14, 2013, 12:42 p.m. OK GNU C++ TESTS 47 46 614400 2700
4064480 shiyuankongbu E July 13, 2013, 6:41 p.m. OK GNU C++ TESTS 47 46 614400 2700
4081144 darkdream E July 16, 2013, 1:35 p.m. OK GNU C++ TESTS 47 46 819200 2700
4080220 sea5 E July 16, 2013, 10:06 a.m. OK GNU C++ TESTS 47 46 819200 2700
4074280 lazier E July 15, 2013, 9:13 a.m. OK GNU C++ TESTS 47 46 819200 2700
4199054 evima E July 29, 2013, 10:59 a.m. OK GNU C++0x TESTS 47 30 3584000 2700
4075889 DDDDDDDDDDDDDDDDDDDDDDDD E July 15, 2013, 1:57 p.m. OK GNU C++0x TESTS 47 46 819200 2700
4066792 Shik E July 14, 2013, 3:54 a.m. OK GNU C++0x TESTS 47 46 819200 2700
4069090 2011330300713 E July 14, 2013, 10:50 a.m. OK GNU C++0x TESTS 47 46 3276800 2700
4084426 ZLSYMDJ E July 17, 2013, 6:33 a.m. OK GNU C++0x TESTS 47 46 3584000 2700
4065185 Shik E July 13, 2013, 6:59 p.m. OK GNU C++0x TESTS 47 46 5017600 2700
4079302 zhang93 E July 16, 2013, 7:06 a.m. OK GNU C++0x TESTS 47 46 5632000 2700
7189061 ikatanic E July 20, 2014, 9:11 p.m. OK GNU C++0x TESTS 47 62 819200 2700
6006813 hogloid E March 13, 2014, 5:25 a.m. OK GNU C++0x TESTS 47 62 819200 2700
4083267 lastenX E July 17, 2013, 1:58 a.m. OK GNU C++0x TESTS 47 62 819200 2700
17131417 freebsdx E April 2, 2016, 2:04 p.m. OK GNU C++11 TESTS 47 60 5324800 2700
17175211 I_love_chickpea E April 5, 2016, 4:41 p.m. OK GNU C++11 TESTS 47 62 2867200 2700
10563351 No_Use_Anymore E April 3, 2015, 6:45 p.m. OK GNU C++11 TESTS 47 62 2867200 2700
49365415 vjudge2 E Feb. 2, 2019, 2:49 p.m. OK GNU C++11 TESTS 47 62 3481600 2700
14213284 yrz E Nov. 12, 2015, 12:16 p.m. OK GNU C++11 TESTS 47 62 3481600 2700
54500868 WOSHIGEPACHONG2 E May 22, 2019, 8:47 p.m. OK GNU C++11 TESTS 47 62 3686400 2700
37792476 rushcheyo E May 1, 2018, 8:13 a.m. OK GNU C++11 TESTS 47 62 3788800 2700
14321038 zyb E Nov. 18, 2015, 5:36 a.m. OK GNU C++11 TESTS 47 62 3788800 2700
11398496 Remilia-Scarlet E June 3, 2015, 8:09 a.m. OK GNU C++11 TESTS 47 62 3788800 2700
15270817 zhangzj E Jan. 9, 2016, 2:31 p.m. OK GNU C++11 TESTS 47 62 3993600 2700
23904554 AndreiNet E Jan. 17, 2017, 2:53 p.m. OK GNU C++14 TESTS 47 62 3072000 2700
26971815 2020.01.09_Restart E May 9, 2017, 10:30 a.m. OK GNU C++14 TESTS 47 62 3686400 2700
33845252 boook E Jan. 1, 2018, 10:40 a.m. OK GNU C++14 TESTS 47 62 4300800 2700
28820826 21August E July 24, 2017, 9:39 a.m. OK GNU C++14 TESTS 47 62 4300800 2700
30772099 vjudge4 E Sept. 27, 2017, 8:55 a.m. OK GNU C++14 TESTS 47 62 4403200 2700
36147356 renegade_warrior E March 10, 2018, 10:45 a.m. OK GNU C++14 TESTS 47 62 4915200 2700
31597533 apiadu E Oct. 22, 2017, 8:27 a.m. OK GNU C++14 TESTS 47 62 5734400 2700
33748565 _SHENZHEBEI_ E Dec. 29, 2017, 2:14 a.m. OK GNU C++14 TESTS 47 62 5836800 2700
32852181 Flash-boy E Dec. 2, 2017, 8:18 a.m. OK GNU C++14 TESTS 47 62 5836800 2700
46123845 DeadPillow E Nov. 23, 2018, 5:48 p.m. OK GNU C++14 TESTS 47 92 1126400 2700
53772982 ruo E May 5, 2019, 6:41 a.m. OK GNU C++17 TESTS 47 92 2457600 2700
62858039 Fulisike E Oct. 18, 2019, 9:56 a.m. OK GNU C++17 TESTS 47 92 3686400 2700
59646012 hwanhwan E Aug. 29, 2019, 5:48 a.m. OK GNU C++17 TESTS 47 92 3993600 2700
56876620 hjk1030 E July 12, 2019, 8:33 a.m. OK GNU C++17 TESTS 47 92 4403200 2700
52505259 ivan100sic E April 8, 2019, 6:15 p.m. OK GNU C++17 TESTS 47 92 5734400 2700
47317934 nimphy E Dec. 21, 2018, 5:41 a.m. OK GNU C++17 TESTS 47 92 11161600 2700
47317925 vjudge2 E Dec. 21, 2018, 5:41 a.m. OK GNU C++17 TESTS 47 92 11161600 2700
58943461 Pankin E Aug. 17, 2019, 7:55 a.m. OK GNU C++17 TESTS 47 124 7884800 2700
58809217 Pankin E Aug. 14, 2019, 10:06 a.m. OK GNU C++17 TESTS 47 124 7884800 2700
4066862 slycelote E July 14, 2013, 4:18 a.m. OK Java 6 TESTS 47 203 2764800 2700
4221051 uwi E Aug. 3, 2013, 3:43 p.m. OK Java 6 TESTS 47 218 204800 2700
4070048 No_stop E July 14, 2013, 2:07 p.m. OK Java 7 TESTS 47 125 0 2700
4070089 No_stop E July 14, 2013, 2:14 p.m. OK Java 7 TESTS 47 140 0 2700
4070077 No_stop E July 14, 2013, 2:12 p.m. OK Java 7 TESTS 47 140 0 2700
4076802 ffao E July 15, 2013, 5:06 p.m. OK Java 7 TESTS 47 156 4710400 2700
4064718 GingLe E July 13, 2013, 6:48 p.m. OK Java 7 TESTS 47 171 0 2700
4144541 izban E July 24, 2013, 4:36 a.m. OK Java 7 TESTS 47 421 9523200 2700
10632012 shubham.sharma E April 8, 2015, 3:59 p.m. OK Java 8 TESTS 47 872 4300800 2700
10563016 prasang E April 3, 2015, 6:02 p.m. OK Java 8 TESTS 47 872 4300800 2700
4065490 QuantumKnight E July 13, 2013, 9:34 p.m. OK MS C# TESTS 47 78 7577600 2700
4069299 aa2985759 E July 14, 2013, 11:30 a.m. OK MS C++ TESTS 47 62 2867200 2700
4067923 problem-solved E July 14, 2013, 7:48 a.m. OK MS C++ TESTS 47 62 6451200 2700
6855880 Merlininice E June 9, 2014, 6:12 p.m. OK MS C++ TESTS 47 62 10649600 2700
4241016 lzsb E Aug. 7, 2013, 6:19 p.m. OK MS C++ TESTS 47 92 2355200 2700
49354905 vjudge2 E Feb. 2, 2019, 10:34 a.m. OK MS C++ TESTS 47 92 2560000 2700
4066875 tomlau E July 14, 2013, 4:22 a.m. OK MS C++ TESTS 47 109 409600 2700
4081457 NimaV E July 16, 2013, 3:03 p.m. OK MS C++ TESTS 47 125 1433600 2700
4157719 xxoo E July 24, 2013, 5:47 p.m. OK MS C++ TESTS 47 125 4710400 2700
52959702 vjudge1 E April 18, 2019, 3:17 p.m. OK MS C++ TESTS 47 154 2560000 2700
4068338 kachayev E July 14, 2013, 8:44 a.m. OK Python 2 TESTS 47 156 14950400 2700
4065976 kachayev E July 13, 2013, 11:05 p.m. OK Python 2 TESTS 47 171 15052800 2700
4065974 kachayev E July 13, 2013, 11:04 p.m. OK Python 2 TESTS 47 187 15360000 2700
24142076 metowolf E Jan. 26, 2017, 4:14 a.m. OK Python 3 TESTS 47 342 19148800 2700
24142561 vjudge3 E Jan. 26, 2017, 4:50 a.m. OK Python 3 TESTS 47 434 19148800 2700
24142089 vjudge3 E Jan. 26, 2017, 4:14 a.m. OK Python 3 TESTS 47 436 19251200 2700

remove filters

Back to search problems