Codeforces Beta Round 94 (Div. 1 Only)

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
128 Codeforces Beta Round 94 (Div. 1 Only) FINISHED False 7200 410485799 Nov. 15, 2011, 6:10 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1147 ) D Numbers PROGRAMMING constructive algorithms implementation 2000

B'One day Anna got the following task at school: to arrange several numbers in a circle so that any two neighboring numbers differs exactly by 1. Anna was given several numbers and arranged them in a circle to fulfill the task. Then she wanted to check if she had arranged the numbers correctly, but at this point her younger sister Maria came and shuffled all numbers. Anna got sick with anger but what 's done is done and the results of her work had been destroyed. But please tell Anna: could she have hypothetically completed the task using all those given numbers? The first line contains an integer n -- how many numbers Anna had (3 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105). The next line contains those numbers, separated by a space. All numbers are integers and belong to the range from 1 to 109. Print the single line "YES" (without the quotes), if Anna could have completed the task correctly using all those numbers (using all of them is necessary). If Anna couldn 't have fulfilled the task, no matter how hard she would try, print "NO" (without the quotes).'...

Tutorials

3219

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
888315 Depool D Nov. 23, 2011, 9:53 p.m. OK Delphi TESTS 70 50 1638400 2000
1235993 bidzilya D Feb. 26, 2012, 7:37 a.m. OK Delphi TESTS 70 50 1740800 2000
891227 bimo D Nov. 25, 2011, 1:56 p.m. OK Delphi TESTS 70 50 2457600 2000
867220 tourist D Nov. 15, 2011, 6:58 a.m. OK Delphi TESTS 70 50 2457600 2000
884483 Tiger D Nov. 15, 2011, 8:07 a.m. OK Delphi TESTS 70 60 1638400 2000
3361488 con_nha_ngheo D March 20, 2013, 3:49 p.m. OK FPC TESTS 70 46 921600 2000
3361273 hiepsieunhan D March 20, 2013, 3:02 p.m. OK FPC TESTS 70 46 1228800 2000
1289214 alexSkuralov D March 5, 2012, 6:29 a.m. OK FPC TESTS 70 50 1843200 2000
1378277 sillycross D March 19, 2012, 1:04 a.m. OK FPC TESTS 70 60 1843200 2000
1289253 alexSkuralov D March 5, 2012, 6:42 a.m. OK FPC TESTS 70 60 1843200 2000
871904 Rubanenko D Nov. 15, 2011, 2:12 p.m. OK FPC TESTS 70 60 1945600 2000
873433 Oryshych D Nov. 16, 2011, 8:38 a.m. OK FPC TESTS 70 60 2252800 2000
17431480 Ahriman D April 22, 2016, 7:58 a.m. OK FPC TESTS 70 60 2560000 2000
867654 Sereja D Nov. 15, 2011, 7:09 a.m. OK FPC TESTS 70 60 9011200 2000
1664710 vlad107 D May 5, 2012, 4:26 p.m. OK FPC TESTS 70 60 9113600 2000
870687 kawatea D Nov. 15, 2011, 9:15 a.m. OK GNU C TESTS 70 60 2150400 2000
867397 LayCurse D Nov. 15, 2011, 7:03 a.m. OK GNU C TESTS 70 80 2355200 2000
17259278 hehe0625 D April 10, 2016, 2:43 a.m. OK GNU C++ TESTS 70 30 819200 2000
17552671 vjudge1 D April 28, 2016, 12:53 p.m. OK GNU C++ TESTS 70 30 3072000 2000
4128784 dani1373 D July 21, 2013, 11:16 a.m. OK GNU C++ TESTS 70 31 921600 2000
4029317 jhcmonroy D July 6, 2013, 3:46 a.m. OK GNU C++ TESTS 70 46 819200 2000
3553953 vici D April 16, 2013, 6:17 p.m. OK GNU C++ TESTS 70 46 819200 2000
3078687 noh4h_ss D Feb. 6, 2013, 6:15 p.m. OK GNU C++ TESTS 70 46 819200 2000
2856397 hogloid D Dec. 30, 2012, 9:59 a.m. OK GNU C++ TESTS 70 46 819200 2000
2856362 hogloid D Dec. 30, 2012, 9:48 a.m. OK GNU C++ TESTS 70 46 819200 2000
3363815 Kujou_Karen D March 21, 2013, 7:41 a.m. OK GNU C++ TESTS 70 46 1228800 2000
3363797 Kujou_Karen D March 21, 2013, 7:37 a.m. OK GNU C++ TESTS 70 46 1228800 2000
873276 MinakoKojima D Nov. 16, 2011, 7:31 a.m. OK GNU C++0x TESTS 70 50 2252800 2000
4241136 littlepanda D Aug. 7, 2013, 7:34 p.m. OK GNU C++0x TESTS 70 62 409600 2000
9540232 vjudge2 D Jan. 24, 2015, 4:19 p.m. OK GNU C++0x TESTS 70 62 819200 2000
9187393 aliasadiiii D Dec. 18, 2014, 1:27 p.m. OK GNU C++0x TESTS 70 62 1843200 2000
3451125 dc. D April 2, 2013, 1:08 a.m. OK GNU C++0x TESTS 70 62 4403200 2000
985543 Archon.JK D Dec. 25, 2011, 1:37 p.m. OK GNU C++0x TESTS 70 80 2969600 2000
9540227 BUPT_birdstorm D Jan. 24, 2015, 4:18 p.m. OK GNU C++0x TESTS 70 92 819200 2000
9404834 arthur.nascimento D Jan. 11, 2015, 6:49 p.m. OK GNU C++0x TESTS 70 92 819200 2000
8231496 xtrome D Oct. 14, 2014, 7:33 p.m. OK GNU C++0x TESTS 70 92 819200 2000
9402487 sdya D Jan. 11, 2015, 11:09 a.m. OK GNU C++0x TESTS 70 92 921600 2000
59099113 rainboy D Aug. 19, 2019, 3:21 p.m. OK GNU C11 TESTS 70 122 819200 2000
15200125 OB.Zhou D Jan. 6, 2016, 5:57 a.m. OK GNU C++11 TESTS 70 62 204800 2000
59213321 luogu_bot2 D Aug. 21, 2019, 9:16 a.m. OK GNU C++11 TESTS 70 62 819200 2000
59213199 luogu_bot1 D Aug. 21, 2019, 9:13 a.m. OK GNU C++11 TESTS 70 62 819200 2000
59213007 luogu_bot5 D Aug. 21, 2019, 9:10 a.m. OK GNU C++11 TESTS 70 62 819200 2000
59212746 start2003 D Aug. 21, 2019, 9:05 a.m. OK GNU C++11 TESTS 70 62 819200 2000
44696264 JSZX11556 D Oct. 22, 2018, 1:05 p.m. OK GNU C++11 TESTS 70 62 819200 2000
13759569 usaxena95 D Oct. 20, 2015, 6:27 p.m. OK GNU C++11 TESTS 70 62 819200 2000
59213344 luogu_bot5 D Aug. 21, 2019, 9:16 a.m. OK GNU C++11 TESTS 70 62 819200 2000
29431278 Noureldin D Aug. 13, 2017, 10:50 a.m. OK GNU C++11 TESTS 70 62 2867200 2000
29482728 nihillian D Aug. 15, 2017, 1:34 p.m. OK GNU C++11 TESTS 70 62 2867200 2000
21658918 ordcoder D Oct. 22, 2016, 6:30 a.m. OK GNU C++14 TESTS 70 62 614400 2000
33593009 -Morass- D Dec. 24, 2017, 12:29 p.m. OK GNU C++14 TESTS 70 62 4608000 2000
56672368 _Ash__ D July 7, 2019, 1:44 p.m. OK GNU C++14 TESTS 70 92 409600 2000
56653128 vjudge4 D July 7, 2019, 8:05 a.m. OK GNU C++14 TESTS 70 92 409600 2000
56653065 vjudge3 D July 7, 2019, 8:05 a.m. OK GNU C++14 TESTS 70 92 409600 2000
63065099 NRK7 D Oct. 21, 2019, 10:31 a.m. OK GNU C++14 TESTS 70 92 409600 2000
59441815 wcs152 D Aug. 25, 2019, 11:32 a.m. OK GNU C++14 TESTS 70 92 819200 2000
29631390 mochow D Aug. 20, 2017, 10:21 p.m. OK GNU C++14 TESTS 70 92 819200 2000
60388455 _no0B D Sept. 11, 2019, 12:25 p.m. OK GNU C++14 TESTS 70 92 819200 2000
38570477 mredigonda D May 23, 2018, 6:56 p.m. OK GNU C++14 TESTS 70 92 1228800 2000
61308409 MaxxaM D Sept. 26, 2019, 8:18 a.m. OK GNU C++17 TESTS 70 92 614400 2000
55860611 tnakao D June 21, 2019, 9:22 a.m. OK GNU C++17 TESTS 70 92 819200 2000
54868766 Curnurx D May 31, 2019, 7:56 a.m. OK GNU C++17 TESTS 70 92 819200 2000
41760165 fsociety00 D Aug. 18, 2018, 2:11 p.m. OK GNU C++17 TESTS 70 92 819200 2000
56646859 vjudge1 D July 7, 2019, 7:06 a.m. OK GNU C++17 TESTS 70 92 1228800 2000
68141901 paulica D Jan. 3, 2020, 11:32 p.m. OK GNU C++17 TESTS 70 92 1740800 2000
59299181 Felerius D Aug. 22, 2019, 3:40 p.m. OK GNU C++17 TESTS 70 92 1945600 2000
56767197 meowmeow321 D July 9, 2019, 7:04 p.m. OK GNU C++17 TESTS 70 92 2355200 2000
37685790 vjudge5 D April 28, 2018, 12:41 p.m. OK GNU C++17 TESTS 70 92 6144000 2000
37290563 LiChenKoh D April 13, 2018, 4:01 p.m. OK GNU C++17 TESTS 70 92 18227200 2000
879033 vogel_Japan D Nov. 19, 2011, 11:50 a.m. OK Haskell TESTS 70 950 26316800 2000
65896019 its_aks_ulure D Nov. 28, 2019, 6:13 a.m. OK Java 11 TESTS 70 404 0 2000
1016210 Di735 D Jan. 7, 2012, 1:10 p.m. OK Java 6 TESTS 70 140 43212800 2000
885608 uwi D Nov. 22, 2011, 10:53 a.m. OK Java 6 TESTS 70 160 35225600 2000
868004 sas4eka D Nov. 15, 2011, 7:18 a.m. OK Java 6 TESTS 70 170 43110400 2000
870806 Berestinsky D Nov. 15, 2011, 9:28 a.m. OK Java 6 TESTS 70 170 43212800 2000
933805 stevenkplus D Dec. 7, 2011, 12:39 a.m. OK Java 6 TESTS 70 190 35225600 2000
873201 AlexanderBolshakov D Nov. 16, 2011, 6:43 a.m. OK Java 6 TESTS 70 190 35328000 2000
868726 mmaxio D Nov. 15, 2011, 7:36 a.m. OK Java 6 TESTS 70 200 43110400 2000
866396 Egor D Nov. 15, 2011, 6:40 a.m. OK Java 6 TESTS 70 220 43110400 2000
865225 unicef D Nov. 15, 2011, 6:19 a.m. OK Java 6 TESTS 70 220 43110400 2000
868919 bjin D Nov. 15, 2011, 7:41 a.m. OK Java 6 TESTS 70 230 43315200 2000
3967370 Azat_Yusupov D June 27, 2013, 1:36 p.m. OK Java 7 TESTS 70 156 307200 2000
10017367 emo D Feb. 25, 2015, 9:39 a.m. OK Java 7 TESTS 70 186 0 2000
12035503 131121 D July 14, 2015, 2:56 a.m. OK Java 7 TESTS 70 310 0 2000
7804228 gleiz D Sept. 15, 2014, 7:40 p.m. OK Java 7 TESTS 70 466 102400 2000
10538443 A.Elahi D April 1, 2015, 4:45 a.m. OK Java 8 TESTS 70 248 0 2000
49940344 xodiac D Feb. 15, 2019, 9:19 a.m. OK Java 8 TESTS 70 280 0 2000
59316102 hongquanntct D Aug. 22, 2019, 4:56 p.m. OK Java 8 TESTS 70 280 2662400 2000
39015545 Slamur D June 7, 2018, 10:10 a.m. OK Java 8 TESTS 70 310 2355200 2000
39144767 bluesky111 D June 11, 2018, 11:33 a.m. OK Java 8 TESTS 70 312 2048000 2000
10538705 A.Elahi D April 1, 2015, 5:56 a.m. OK Java 8 TESTS 70 342 0 2000
9219826 AlexFetisov D Dec. 21, 2014, 11:20 p.m. OK Java 8 TESTS 70 342 0 2000
16137997 alibaba D Feb. 18, 2016, 7:57 a.m. OK Java 8 TESTS 70 466 0 2000
38795667 amnesiac_dusk D May 31, 2018, 9:03 a.m. OK Java 8 TESTS 70 466 21299200 2000
9448790 vjudge1 D Jan. 17, 2015, 8:41 a.m. OK Java 8 TESTS 70 592 0 2000
20543378 DigitalArtistKz D Sept. 12, 2016, 5:42 a.m. OK MS C# TESTS 70 218 13414400 2000
3475143 RiKang D April 5, 2013, 1:26 a.m. OK MS C++ TESTS 70 46 819200 2000
868363 poopi D Nov. 15, 2011, 7:26 a.m. OK MS C++ TESTS 70 50 2150400 2000
910843 PanZverski D Nov. 29, 2011, 8:47 p.m. OK MS C++ TESTS 70 60 1740800 2000
874699 nadia D Nov. 16, 2011, 6:46 p.m. OK MS C++ TESTS 70 60 1740800 2000
933255 J_M D Dec. 6, 2011, 3:15 p.m. OK MS C++ TESTS 70 60 2150400 2000
932951 J_M D Dec. 6, 2011, 12:28 p.m. OK MS C++ TESTS 70 60 2150400 2000
889538 lccycc D Nov. 24, 2011, 2:52 p.m. OK MS C++ TESTS 70 60 2150400 2000
872114 vjudge2 D Nov. 15, 2011, 3:02 p.m. OK MS C++ TESTS 70 60 2150400 2000
870681 slavik D Nov. 15, 2011, 9:14 a.m. OK MS C++ TESTS 70 60 2150400 2000
868345 gojira D Nov. 15, 2011, 7:26 a.m. OK MS C++ TESTS 70 60 2150400 2000
60441891 ICboom D Sept. 12, 2019, 12:48 p.m. OK MS C++ 2017 TESTS 70 122 409600 2000
61883809 vjudge2 D Oct. 5, 2019, 2:10 a.m. OK MS C++ 2017 TESTS 70 124 4915200 2000
61948689 vjudge1 D Oct. 6, 2019, 2:03 a.m. OK MS C++ 2017 TESTS 70 154 2867200 2000
49666044 conjecture_xyz D Feb. 9, 2019, 2:30 p.m. OK PyPy 2 TESTS 70 374 17100800 2000
3180313 nealzane D Feb. 24, 2013, 1:41 p.m. OK Python 2 TESTS 70 187 6246400 2000
3180323 nealzane D Feb. 24, 2013, 1:44 p.m. OK Python 2 TESTS 70 203 6246400 2000
885099 wiye.cheng D Nov. 22, 2011, 2:10 a.m. OK Python 2 TESTS 70 230 11366400 2000
1171784 zhyu D Feb. 11, 2012, 10:40 a.m. OK Python 2 TESTS 70 250 8294400 2000
905231 eucho D Nov. 26, 2011, 8:11 a.m. OK Python 2 TESTS 70 280 12800000 2000
11777914 poikniok D June 26, 2015, 10:43 p.m. OK Python 2 TESTS 70 312 5632000 2000
35838198 ______n______ D March 2, 2018, 1:28 p.m. OK Python 2 TESTS 70 312 10752000 2000
35838194 ______u______ D March 2, 2018, 1:28 p.m. OK Python 2 TESTS 70 312 10752000 2000
35838120 _____i_____ D March 2, 2018, 1:27 p.m. OK Python 2 TESTS 70 312 10752000 2000
35838100 _____k_____ D March 2, 2018, 1:27 p.m. OK Python 2 TESTS 70 312 10752000 2000
5685205 serglag D Jan. 13, 2014, 4:11 p.m. OK Python 3 TESTS 70 280 9420800 2000
69229868 NocturneBflat D Jan. 21, 2020, 9:02 a.m. OK Python 3 TESTS 70 466 9318400 2000
1215790 K_operafan D Feb. 22, 2012, 10:45 a.m. OK Ruby TESTS 70 410 13926400 2000

remove filters

Back to search problems