MemSQL Start[c]UP 2.0 - 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
452 MemSQL Start[c]UP 2.0 - Round 1 FINISHED False 9000 330699563 July 27, 2014, 5 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1555 ) F Permutation PROGRAMMING data structures divide and conquer hashing 2600

B'You are given a permutation of numbers from 1 to n. Determine whether there 's a pair of integers a, xe2 x80 x89b (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89a, xe2 x80 x89b xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n; a xe2 x80 x89 xe2 x89 xa0 xe2 x80 x89b) such that the element (note, that it is usual division, not integer one) is between a and b in this permutation. First line consists of a single integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89300000) -- the size of permutation. Second line contains n integers -- the permutation itself. Print "YES", if such a pair exists, "NO" otherwise (in both cases without quotes, the answer is case insensitive). In the second example 2 is between 1 and 3. Additionally 4 is between 3 and 5.'...

Tutorials

MemSQL Start[c]UP 2.0 Round 1 and 2 Editorials

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
7272456 Gassa F July 27, 2014, 11:08 p.m. OK D TESTS 100 296 2560000 2600
8754741 I_love_Hoang_Yen F Nov. 19, 2014, 11:38 a.m. OK D TESTS 100 343 3891200 2600
7267782 Gassa F July 27, 2014, 6:40 p.m. OK D TESTS 100 358 2457600 2600
7305642 gyz_gyz F Aug. 1, 2014, 8:26 a.m. OK FPC TESTS 100 202 2457600 2600
7271776 Fedosik F July 27, 2014, 8:43 p.m. OK FPC TESTS 100 998 50278400 2600
7266399 liouzhou_101 F July 27, 2014, 6:17 p.m. OK GNU C TESTS 100 93 26828800 2600
40988182 ReaLNero1 F July 30, 2018, 9:48 p.m. OK GNU C++ TESTS 100 46 3584000 2600
7508758 BUPT_birdstorm F Aug. 19, 2014, 1:24 p.m. OK GNU C++ TESTS 100 46 3584000 2600
7423488 Susake F Aug. 11, 2014, 4:59 a.m. OK GNU C++ TESTS 100 61 2457600 2600
27320891 a13223400732 F May 24, 2017, 1:38 p.m. OK GNU C++ TESTS 100 61 4812800 2600
7862994 JoxerAdy F Sept. 20, 2014, 7:09 a.m. OK GNU C++ TESTS 100 62 2457600 2600
7862968 JoxerAdy F Sept. 20, 2014, 7:06 a.m. OK GNU C++ TESTS 100 62 2457600 2600
7293817 etal F July 30, 2014, 3:03 p.m. OK GNU C++ TESTS 100 77 2457600 2600
7544206 tbrachkov F Aug. 21, 2014, 1:45 p.m. OK GNU C++ TESTS 100 77 4403200 2600
12420798 Sunyuchen F Aug. 9, 2015, 3:52 a.m. OK GNU C++ TESTS 100 78 2252800 2600
7848291 JoxerAdy F Sept. 19, 2014, 5:06 a.m. OK GNU C++ TESTS 100 78 2355200 2600
7345759 cinderela F Aug. 4, 2014, 2:28 p.m. OK GNU C++0x TESTS 100 46 2457600 2600
7283554 alex_world F July 29, 2014, 8:56 a.m. OK GNU C++0x TESTS 100 61 2355200 2600
7301669 compcode F July 31, 2014, 6:20 p.m. OK GNU C++0x TESTS 100 77 2355200 2600
9729471 Diego1149 F Feb. 5, 2015, 4:12 p.m. OK GNU C++0x TESTS 100 78 2457600 2600
9729352 Diego1149 F Feb. 5, 2015, 4:01 p.m. OK GNU C++0x TESTS 100 78 2457600 2600
7272344 Furko F July 27, 2014, 10:30 p.m. OK GNU C++0x TESTS 100 78 4403200 2600
7272333 Furko F July 27, 2014, 10:28 p.m. OK GNU C++0x TESTS 100 78 4403200 2600
7272331 Furko F July 27, 2014, 10:28 p.m. OK GNU C++0x TESTS 100 78 4403200 2600
7272329 Furko F July 27, 2014, 10:27 p.m. OK GNU C++0x TESTS 100 78 4403200 2600
7272327 Furko F July 27, 2014, 10:27 p.m. OK GNU C++0x TESTS 100 93 4403200 2600
20817434 code_cola F Sept. 22, 2016, 1:01 p.m. OK GNU C++11 TESTS 100 78 2252800 2600
12860955 ayush_awasthi F Sept. 6, 2015, 6:40 a.m. OK GNU C++11 TESTS 100 78 2457600 2600
42793311 skylee F Sept. 12, 2018, 10:04 a.m. OK GNU C++11 TESTS 100 78 3379200 2600
17152157 freebsdx F April 4, 2016, 1:53 a.m. OK GNU C++11 TESTS 100 78 4608000 2600
59116090 msuwakow F Aug. 20, 2019, 1:45 a.m. OK GNU C++11 TESTS 100 78 5017600 2600
69915989 Neroast F Jan. 31, 2020, 4:51 p.m. OK GNU C++11 TESTS 100 93 2457600 2600
61361815 luogu_bot1 F Sept. 27, 2019, 12:23 p.m. OK GNU C++11 TESTS 100 93 3481600 2600
62174290 luogu_bot3 F Oct. 9, 2019, 3:08 a.m. OK GNU C++11 TESTS 100 93 4608000 2600
11118358 Mihaell F May 16, 2015, 3:13 p.m. OK GNU C++11 TESTS 100 93 4608000 2600
62171308 luogu_bot2 F Oct. 9, 2019, 1:01 a.m. OK GNU C++11 TESTS 100 93 9420800 2600
61766466 vijju911 F Oct. 3, 2019, 8:46 a.m. OK GNU C++14 TESTS 100 108 2457600 2600
62612464 Hell_Eclipse F Oct. 15, 2019, 10:17 a.m. OK GNU C++14 TESTS 100 155 8499200 2600
23280221 bukefala F Dec. 24, 2016, 10:16 p.m. OK GNU C++14 TESTS 100 218 6758400 2600
62182549 Miski F Oct. 9, 2019, 6:57 a.m. OK GNU C++14 TESTS 100 218 9625600 2600
23531895 Ali.Pi F Jan. 4, 2017, 9:14 a.m. OK GNU C++14 TESTS 100 280 4300800 2600
31017720 ChesterKing F Oct. 5, 2017, 7:51 a.m. OK GNU C++14 TESTS 100 295 16896000 2600
31067044 ChesterKing F Oct. 6, 2017, 1:27 p.m. OK GNU C++14 TESTS 100 296 12083200 2600
31021173 ChesterKing F Oct. 5, 2017, 8:23 a.m. OK GNU C++14 TESTS 100 312 16998400 2600
31061770 _LowestJN F Oct. 6, 2017, 9:47 a.m. OK GNU C++14 TESTS 100 312 23040000 2600
40115108 Powerslave F July 9, 2018, 2:08 p.m. OK GNU C++14 TESTS 100 343 8396800 2600
44385909 Playnext F Oct. 16, 2018, 5:43 a.m. OK GNU C++17 TESTS 100 46 4812800 2600
44385848 Playnext F Oct. 16, 2018, 5:41 a.m. OK GNU C++17 TESTS 100 46 34201600 2600
61766062 hjk1030 F Oct. 3, 2019, 8:39 a.m. OK GNU C++17 TESTS 100 109 2457600 2600
49521471 Atreus F Feb. 6, 2019, 8:17 a.m. OK GNU C++17 TESTS 100 155 6246400 2600
62101309 NoteTwilight F Oct. 8, 2019, 9:12 a.m. OK GNU C++17 TESTS 100 156 9625600 2600
62171354 NoteTwilight F Oct. 9, 2019, 1:04 a.m. OK GNU C++17 TESTS 100 171 9625600 2600
62171312 NoteTwilight F Oct. 9, 2019, 1:02 a.m. OK GNU C++17 TESTS 100 171 9625600 2600
41406164 paulica F Aug. 9, 2018, 4:51 p.m. OK GNU C++17 TESTS 100 187 3584000 2600
38603455 shiratty8 F May 25, 2018, 8:03 a.m. OK GNU C++17 TESTS 100 187 6041600 2600
59699102 llbra9z F Aug. 30, 2019, 9:51 a.m. OK GNU C++17 TESTS 100 187 7168000 2600
7503977 Antoniuk F Aug. 18, 2014, 7:24 p.m. OK Java 7 TESTS 100 155 3891200 2600
7503975 Antoniuk F Aug. 18, 2014, 7:24 p.m. OK Java 7 TESTS 100 187 3891200 2600
7266606 Petr F July 27, 2014, 6:20 p.m. OK Java 7 TESTS 100 187 3891200 2600
7267018 eatmore F July 27, 2014, 6:27 p.m. OK Java 7 TESTS 100 233 3891200 2600
7503973 Antoniuk F Aug. 18, 2014, 7:23 p.m. OK Java 7 TESTS 100 265 3891200 2600
7508056 Antoniuk F Aug. 19, 2014, 12:02 p.m. OK Java 7 TESTS 100 295 3891200 2600
7503966 Antoniuk F Aug. 18, 2014, 7:22 p.m. OK Java 7 TESTS 100 420 3891200 2600
7272402 tovietanh F July 27, 2014, 10:46 p.m. OK Java 7 TESTS 100 920 53350400 2600
7271744 mmaxio F July 27, 2014, 8:40 p.m. OK Java 8 TESTS 100 358 1024000 2600
7279079 IgorKoval F July 28, 2014, 3:10 p.m. OK Java 8 TESTS 100 451 1024000 2600
8633146 Zyflair F Nov. 10, 2014, 5:41 p.m. OK Java 8 TESTS 100 561 1843200 2600
38604950 uwi F May 25, 2018, 9:27 a.m. OK Java 8 TESTS 100 748 7372800 2600
14753248 AlexFetisov F Dec. 11, 2015, 6:01 a.m. OK Java 8 TESTS 100 810 2560000 2600
7280377 Mark_tven F July 28, 2014, 7:13 p.m. OK MS C++ TESTS 100 77 2457600 2600
20293285 0313 F Aug. 31, 2016, 3:32 a.m. OK MS C++ TESTS 100 78 2457600 2600
20293076 0313 F Aug. 31, 2016, 3:09 a.m. OK MS C++ TESTS 100 78 2457600 2600
7427137 josdas F Aug. 11, 2014, 12:40 p.m. OK MS C++ TESTS 100 78 2457600 2600
10562896 AleksanderBalobanov F April 3, 2015, 5:47 p.m. OK MS C++ TESTS 100 218 6041600 2600
7284853 while.mail.true.1 F July 29, 2014, 12:11 p.m. OK MS C++ TESTS 100 249 2355200 2600
7284842 while.mail.true.1 F July 29, 2014, 12:10 p.m. OK MS C++ TESTS 100 249 2355200 2600
7276022 Ilya_MSU F July 28, 2014, 9:09 a.m. OK MS C++ TESTS 100 327 3584000 2600
7543058 HandIeNeeded F Aug. 21, 2014, noon OK MS C++ TESTS 100 327 12800000 2600
43998724 vjudge2 F Oct. 8, 2018, 12:42 p.m. OK MS C++ TESTS 100 420 16998400 2600

remove filters

Back to search problems