Codeforces Beta Round 78 (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
98 Codeforces Beta Round 78 (Div. 1 Only) FINISHED False 7200 420476399 July 22, 2011, 3 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1216 ) A Help Victoria the Wise PROGRAMMING brute force implementation 1700

B"Vasilisa the Wise from a far away kingdom got a present from her friend Helga the Wise from a farther away kingdom. The present is a surprise box, yet Vasilisa the Wise doesn't know yet what the surprise actually is because she cannot open the box. She hopes that you can help her in that. The box's lock is constructed like that. The box itself is represented by an absolutely perfect black cube with the identical deepening on each face (those are some foreign nanotechnologies that the far away kingdom scientists haven't dreamt of). The box is accompanied by six gems whose form matches the deepenings in the box's faces. The box can only be opened after it is correctly decorated by the gems, that is, when each deepening contains exactly one gem. Two ways of decorating the box are considered the same if they can be obtained one from the other one by arbitrarily rotating the box (note that the box is represented by a perfect nanotechnological cube) Now Vasilisa the Wise wants to know by the given set of colors the following: in how many ways would she decorate the box in the worst case to open it? To answer this question it is useful to know that two gems of one color are indistinguishable from each other. Help Vasilisa to solve this challenging problem. The first line contains exactly 6 characters without spaces from the set {R, O, Y, G, B, V} -- they are the colors of gems with which the box should be decorated. Print the required number of different ways to decorate the box."...

Tutorials

Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
561610 ruban A July 23, 2011, 2:47 a.m. OK Delphi TESTS 48 30 921600 1700
575768 alexander-nsk94 A Aug. 2, 2011, 6:01 a.m. OK Delphi TESTS 48 30 1024000 1700
556514 malcolm A July 22, 2011, 3:22 p.m. OK Delphi TESTS 48 30 1024000 1700
4033883 Nik_Storm_2010 A July 7, 2013, 8:44 a.m. OK FPC TESTS 48 15 0 1700
3911592 Omelianenko A June 17, 2013, 9:53 p.m. OK FPC TESTS 48 15 0 1700
825497 LifeKeeper A Nov. 3, 2011, 2:25 a.m. OK FPC TESTS 48 30 1024000 1700
573478 hnivhnivt8695 A July 31, 2011, 2:18 a.m. OK FPC TESTS 48 30 1024000 1700
565327 valikluks1995 A July 25, 2011, 1:58 p.m. OK FPC TESTS 48 30 1024000 1700
561378 Jicote A July 23, 2011, 12:48 a.m. OK FPC TESTS 48 30 1024000 1700
557767 Oryshych A July 22, 2011, 3:46 p.m. OK FPC TESTS 48 30 1126400 1700
641021 vlad107 A Aug. 28, 2011, 4:47 p.m. OK FPC TESTS 48 30 2252800 1700
559189 giongto35 A July 22, 2011, 4:25 p.m. OK FPC TESTS 48 30 3379200 1700
637524 Sereja A Aug. 24, 2011, 6:23 p.m. OK FPC TESTS 48 50 1024000 1700
719917 kawatea A Sept. 23, 2011, 6 p.m. OK GNU C TESTS 48 30 1331200 1700
1584572 vjudge4 A April 19, 2012, 1:40 p.m. OK GNU C TESTS 48 30 1433600 1700
555588 LayCurse A July 22, 2011, 3:08 p.m. OK GNU C TESTS 48 30 1433600 1700
2088889 sazzad A Sept. 1, 2012, 9:28 p.m. OK GNU C++ TESTS 48 10 819200 1700
31919855 Guardian04 A Oct. 31, 2017, 11:50 a.m. OK GNU C++ TESTS 48 15 0 1700
21772418 vjudge2 A Oct. 25, 2016, 1:46 p.m. OK GNU C++ TESTS 48 15 0 1700
21771363 vjudge4 A Oct. 25, 2016, 12:59 p.m. OK GNU C++ TESTS 48 15 0 1700
21766447 vjudge4 A Oct. 25, 2016, 8:27 a.m. OK GNU C++ TESTS 48 15 0 1700
21745417 vjudge4 A Oct. 24, 2016, 1:25 p.m. OK GNU C++ TESTS 48 15 0 1700
21744759 vjudge1 A Oct. 24, 2016, 12:53 p.m. OK GNU C++ TESTS 48 15 0 1700
21740957 vjudge3 A Oct. 24, 2016, 12:32 p.m. OK GNU C++ TESTS 48 15 0 1700
21739548 vjudge1 A Oct. 24, 2016, 11:28 a.m. OK GNU C++ TESTS 48 15 0 1700
17035126 vjudge1 A March 30, 2016, 1:53 p.m. OK GNU C++ TESTS 48 15 0 1700
3297937 boleyn.su A March 13, 2013, 10:26 a.m. OK GNU C++0x TESTS 48 15 102400 1700
3297748 ruc_acme A March 13, 2013, 9:27 a.m. OK GNU C++0x TESTS 48 15 102400 1700
8551178 DemoVersion A Nov. 4, 2014, 7:26 p.m. OK GNU C++0x TESTS 48 30 204800 1700
1762826 abhiranjan A June 4, 2012, 5:39 a.m. OK GNU C++0x TESTS 48 30 1433600 1700
1046418 ztk A Jan. 15, 2012, 11:13 a.m. OK GNU C++0x TESTS 48 30 1433600 1700
638764 Archon.JK A Aug. 26, 2011, 8:23 a.m. OK GNU C++0x TESTS 48 30 1433600 1700
567885 amylase A July 28, 2011, 3:55 a.m. OK GNU C++0x TESTS 48 30 1433600 1700
556688 package.zaic A July 22, 2011, 3:25 p.m. OK GNU C++0x TESTS 48 30 1433600 1700
556465 nk.karpov A July 22, 2011, 3:21 p.m. OK GNU C++0x TESTS 48 30 1433600 1700
556034 chyx A July 22, 2011, 3:15 p.m. OK GNU C++0x TESTS 48 30 1433600 1700
27369647 Bengal_Tiger A May 27, 2017, 8:13 a.m. OK GNU C++11 TESTS 48 15 0 1700
27313679 Amateur_Player A May 24, 2017, 4:02 a.m. OK GNU C++11 TESTS 48 15 0 1700
19316633 vjudge4 A July 22, 2016, 6:55 a.m. OK GNU C++11 TESTS 48 15 0 1700
15831326 tenshi_kanade A Feb. 5, 2016, 6:30 p.m. OK GNU C++11 TESTS 48 15 0 1700
14573451 rr_ A Nov. 30, 2015, 4:22 p.m. OK GNU C++11 TESTS 48 15 0 1700
14246331 m7mdbadawy A Nov. 13, 2015, 11:55 p.m. OK GNU C++11 TESTS 48 15 0 1700
12858694 SaMer A Sept. 5, 2015, 9:33 p.m. OK GNU C++11 TESTS 48 15 0 1700
19014572 NewAcount A July 10, 2016, 6:24 p.m. OK GNU C++11 TESTS 48 15 102400 1700
34616610 __timus A Jan. 27, 2018, 7:54 p.m. OK GNU C++11 TESTS 48 15 2048000 1700
34276953 fpfilko A Jan. 18, 2018, 1:29 p.m. OK GNU C++11 TESTS 48 15 2048000 1700
46017797 vovanstrr A Nov. 21, 2018, 5:35 a.m. OK GNU C++14 TESTS 48 15 0 1700
30495688 Hesetonewantoseeyou A Sept. 19, 2017, 11:42 a.m. OK GNU C++14 TESTS 48 15 0 1700
30495551 vjudge3 A Sept. 19, 2017, 11:38 a.m. OK GNU C++14 TESTS 48 15 0 1700
27512939 Ahmed_Mostafa A June 2, 2017, 1:22 a.m. OK GNU C++14 TESTS 48 15 0 1700
29916083 rishabhjain1996 A Aug. 30, 2017, 11:42 a.m. OK GNU C++14 TESTS 48 15 102400 1700
50212235 IsaacMoris A Feb. 20, 2019, 1:17 a.m. OK GNU C++14 TESTS 48 15 204800 1700
32234098 RedStone A Nov. 12, 2017, 3:58 a.m. OK GNU C++14 TESTS 48 15 204800 1700
30314051 pranavanurag A Sept. 13, 2017, 6:17 p.m. OK GNU C++14 TESTS 48 15 204800 1700
27707641 Sealionheart A June 10, 2017, 2:05 p.m. OK GNU C++14 TESTS 48 15 204800 1700
27327266 dhruvumesh25 A May 24, 2017, 11:56 p.m. OK GNU C++14 TESTS 48 15 204800 1700
67694534 Lukasz112358 A Dec. 27, 2019, 12:30 p.m. OK GNU C++17 TESTS 48 30 0 1700
54840135 Left_utkarsh A May 30, 2019, 12:25 p.m. OK GNU C++17 TESTS 48 30 0 1700
50766822 yuhta A March 3, 2019, 11:13 p.m. OK GNU C++17 TESTS 48 30 102400 1700
54563043 tnakao A May 24, 2019, 2:55 p.m. OK GNU C++17 TESTS 48 30 204800 1700
39130509 k3nz0 A June 10, 2018, 7:34 p.m. OK GNU C++17 TESTS 48 30 204800 1700
37651881 vjudge1 A April 27, 2018, 5:43 a.m. OK GNU C++17 TESTS 48 30 3379200 1700
60061742 mrsac7 A Sept. 5, 2019, 7:19 a.m. OK GNU C++17 TESTS 48 31 0 1700
59852171 Carl___P A Sept. 1, 2019, noon OK GNU C++17 TESTS 48 31 0 1700
57815093 sochta_hun A July 26, 2019, 7:15 p.m. OK GNU C++17 TESTS 48 31 0 1700
56639056 mehuld A July 6, 2019, 10:51 p.m. OK GNU C++17 TESTS 48 31 0 1700
624746 ikk A Aug. 21, 2011, 2:21 p.m. OK Haskell TESTS 48 30 2048000 1700
58429747 adityagupta1089 A Aug. 7, 2019, 11:21 a.m. OK Haskell TESTS 48 46 102400 1700
613027 CindyLinz A Aug. 16, 2011, 2:20 p.m. OK Haskell TESTS 48 50 2048000 1700
585094 sonald A Aug. 4, 2011, 3:11 p.m. OK Haskell TESTS 48 50 2048000 1700
577415 bsrkaditya A Aug. 3, 2011, 9:59 a.m. OK Haskell TESTS 48 50 2048000 1700
556053 bjin A July 22, 2011, 3:15 p.m. OK Haskell TESTS 48 170 2048000 1700
636992 OgieKako A Aug. 24, 2011, 1:16 p.m. OK Java 6 TESTS 48 90 34918400 1700
560667 S.Yesipenko A July 22, 2011, 6:19 p.m. OK Java 6 TESTS 48 90 43008000 1700
557700 alexander.yuriev A July 22, 2011, 3:44 p.m. OK Java 6 TESTS 48 90 43008000 1700
556487 it4.kp A July 22, 2011, 3:21 p.m. OK Java 6 TESTS 48 90 43008000 1700
556344 cerealguy A July 22, 2011, 3:20 p.m. OK Java 6 TESTS 48 90 43008000 1700
556286 Aksenov239 A July 22, 2011, 3:19 p.m. OK Java 6 TESTS 48 90 43110400 1700
1181885 mostafa_fahim A Feb. 15, 2012, 9:49 a.m. OK Java 6 TESTS 48 90 43212800 1700
2562517 Azat_Yusupov A Nov. 15, 2012, 10:18 a.m. OK Java 6 TESTS 48 109 204800 1700
3550219 santjuan A April 16, 2013, 3:08 a.m. OK Java 6 TESTS 48 109 2355200 1700
563800 Spacejoker A July 24, 2011, 1:22 p.m. OK Java 6 TESTS 48 110 43008000 1700
19316520 vjudge5 A July 22, 2016, 6:50 a.m. OK Java 7 TESTS 48 124 0 1700
17701519 mkirsche A May 3, 2016, 6:10 p.m. OK Java 7 TESTS 48 124 39219200 1700
19317344 vjudge2 A July 22, 2016, 7:23 a.m. OK Java 7 TESTS 48 139 0 1700
6541623 nickbuelich A May 3, 2014, 9:17 p.m. OK Java 7 TESTS 48 156 0 1700
11381881 alibaba A June 1, 2015, 5:36 p.m. OK Java 7 TESTS 48 186 0 1700
68997473 mj101 A Jan. 17, 2020, 6 p.m. OK Java 8 TESTS 48 124 0 1700
56283040 gaurav___kumar A June 29, 2019, 5:52 p.m. OK Java 8 TESTS 48 124 0 1700
39444987 KulikAlex A June 20, 2018, 7:30 p.m. OK Java 8 TESTS 48 124 0 1700
17701620 gpita A May 3, 2016, 6:20 p.m. OK Java 8 TESTS 48 139 20992000 1700
53055854 Verdusk A April 20, 2019, 5:23 p.m. OK Java 8 TESTS 48 140 0 1700
17701644 alexrcoleman A May 3, 2016, 6:22 p.m. OK Java 8 TESTS 48 140 20992000 1700
19320465 vjudge1 A July 22, 2016, 9:22 a.m. OK Java 8 TESTS 48 155 0 1700
35962094 parth_15 A March 5, 2018, 10:42 a.m. OK Java 8 TESTS 48 156 21094400 1700
6541628 nickbuelich A May 3, 2014, 9:19 p.m. OK Java 8 TESTS 48 342 0 1700
567377 tanzaku A July 27, 2011, 1:49 p.m. OK Mono C# TESTS 48 140 5836800 1700
562444 tanzaku A July 23, 2011, 11:28 a.m. OK Mono C# TESTS 48 140 5836800 1700
567376 tanzaku A July 27, 2011, 1:48 p.m. OK Mono C# TESTS 48 140 5836800 1700
558448 lgarcia A July 22, 2011, 4:03 p.m. OK Mono C# TESTS 48 160 5836800 1700
559089 YuliaChe A July 22, 2011, 4:23 p.m. OK Mono C# TESTS 48 220 5939200 1700
7800503 camypaper A Sept. 15, 2014, 11:06 a.m. OK MS C# TESTS 48 124 2457600 1700
19318103 vjudge2 A July 22, 2016, 7:53 a.m. OK MS C++ TESTS 48 15 0 1700
4414391 PAP A Sept. 6, 2013, 11:45 a.m. OK MS C++ TESTS 48 30 0 1700
4272481 vjudge5 A Aug. 13, 2013, 8:09 a.m. OK MS C++ TESTS 48 30 0 1700
19317933 vjudge2 A July 22, 2016, 7:46 a.m. OK MS C++ TESTS 48 30 0 1700
6478602 vjudge5 A April 26, 2014, 11:25 a.m. OK MS C++ TESTS 48 30 0 1700
561552 Merlininice A July 23, 2011, 2:23 a.m. OK MS C++ TESTS 48 30 1331200 1700
559530 UESTC_Nocturne A July 22, 2011, 4:36 p.m. OK MS C++ TESTS 48 30 1331200 1700
656835 amirzoyan A Sept. 3, 2011, 7:34 a.m. OK MS C++ TESTS 48 30 1433600 1700
820439 m_p A Oct. 31, 2011, 12:38 a.m. OK MS C++ TESTS 48 30 1433600 1700
826286 caustique A Nov. 3, 2011, 11:20 a.m. OK MS C++ TESTS 48 30 1433600 1700
58512464 CtrlAlt A Aug. 9, 2019, 7:55 p.m. OK MS C++ 2017 TESTS 48 31 0 1700
54701038 CrazyDr A May 26, 2019, 11:29 p.m. OK PHP TESTS 48 46 0 1700
15913606 not_bot_but_POT A Feb. 9, 2016, 1:21 p.m. OK Python 2 TESTS 48 62 0 1700
35899359 ______u______ A March 3, 2018, 6:33 p.m. OK Python 2 TESTS 48 62 4608000 1700
35898943 _____k_____ A March 3, 2018, 6:31 p.m. OK Python 2 TESTS 48 62 4608000 1700
35898677 _____i_____ A March 3, 2018, 6:22 p.m. OK Python 2 TESTS 48 62 4608000 1700
35898647 ______n______ A March 3, 2018, 6:21 p.m. OK Python 2 TESTS 48 62 4608000 1700
35893000 ______h______ A March 3, 2018, 3:39 p.m. OK Python 2 TESTS 48 62 4608000 1700
12712801 aranjuda A Aug. 26, 2015, 8:42 p.m. OK Python 2 TESTS 48 77 0 1700
601863 antonkudrin A Aug. 10, 2011, 2:49 p.m. OK Python 2 TESTS 48 80 3174400 1700
561030 zibada A July 22, 2011, 7:06 p.m. OK Python 2 TESTS 48 80 3481600 1700
11343915 geek_geek A May 29, 2015, 10:19 a.m. OK Python 2 TESTS 48 92 614400 1700

remove filters

Back to search problems