Codeforces Beta Round 51

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
55 Codeforces Beta Round 51 FINISHED False 7200 436831199 Jan. 14, 2011, 8 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2874 ) B Smallest number PROGRAMMING brute force 1600

B"Recently, Vladimir got bad mark in algebra again. To avoid such unpleasant events in future he decided to train his arithmetic skills. He wrote four integer numbers a, b, c, d on the blackboard. During each of the next three minutes he took two numbers from the blackboard (not necessarily adjacent) and replaced them with their sum or their product. In the end he got one number. Unfortunately, due to the awful memory he forgot that number, but he remembers four original numbers, sequence of the operations and his surprise because of the very small result. Help Vladimir remember the forgotten number: find the smallest number that can be obtained from the original numbers by the given sequence of operations. First line contains four integers separated by space: 0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89a, xe2 x80 x89b, xe2 x80 x89c, xe2 x80 x89d xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000 -- the original numbers. Second line contains three signs ('+' or '*' each) separated by space -- the sequence of the operations in the order of performing. ('+' stands for addition, '*' -- multiplication) Output one integer number -- the minimal result which can be obtained. Please, do not use %lld specificator to read or write 64-bit integers in C++. It is preffered to use cin (also you may use %I64d)."...

Tutorials

Round 51, A

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
3081498 Mosyagin B Feb. 7, 2013, 3:25 p.m. OK Delphi TESTS 60 15 102400 1600
252062 ruban B Jan. 14, 2011, 6:18 p.m. OK Delphi TESTS 60 30 819200 1600
274465 BaJIuK B Feb. 3, 2011, 4:26 p.m. OK Delphi TESTS 60 30 819200 1600
276884 evg-zhabotinsky B Feb. 7, 2011, 4:33 p.m. OK Delphi TESTS 60 30 819200 1600
372178 alexander-nsk94 B April 9, 2011, 6:36 a.m. OK Delphi TESTS 60 30 921600 1600
249575 PanZverski B Jan. 14, 2011, 8:26 a.m. OK Delphi TESTS 60 30 921600 1600
249538 Hitrez B Jan. 14, 2011, 8:25 a.m. OK Delphi TESTS 60 30 921600 1600
261089 sankear B Jan. 24, 2011, 6:03 p.m. OK Delphi TESTS 60 30 921600 1600
249710 MihailTyomkin B Jan. 14, 2011, 8:32 a.m. OK Delphi TESTS 60 30 1228800 1600
1706732 Ramp B May 20, 2012, 6:58 p.m. OK Delphi TESTS 60 30 9420800 1600
2894983 thongnon1996 B Jan. 9, 2013, 3:19 a.m. OK FPC TESTS 60 15 0 1600
3991810 Omelianenko B June 29, 2013, 1:27 p.m. OK FPC TESTS 60 15 0 1600
2895076 i14 B Jan. 9, 2013, 4:14 a.m. OK FPC TESTS 60 15 0 1600
2895075 i14 B Jan. 9, 2013, 4:13 a.m. OK FPC TESTS 60 15 0 1600
2895067 Unnamed B Jan. 9, 2013, 4:10 a.m. OK FPC TESTS 60 15 0 1600
2895056 PTNK13091996 B Jan. 9, 2013, 4:05 a.m. OK FPC TESTS 60 15 0 1600
2898365 ptnk304 B Jan. 9, 2013, 7:33 a.m. OK FPC TESTS 60 15 204800 1600
1387090 Dinomino B March 22, 2012, 2:44 p.m. OK FPC TESTS 60 30 1024000 1600
1157912 Furko B Feb. 8, 2012, 2:54 p.m. OK FPC TESTS 60 30 1024000 1600
879576 LifeKeeper B Nov. 19, 2011, 5:31 p.m. OK FPC TESTS 60 30 1024000 1600
4110131 JoeyWheeler B July 20, 2013, 6:55 a.m. OK GNU C TESTS 60 15 0 1600
8621372 yungpin B Nov. 9, 2014, 8:55 a.m. OK GNU C TESTS 60 30 0 1600
5130322 Stomach_ache B Nov. 17, 2013, 10:34 a.m. OK GNU C TESTS 60 30 0 1600
249196 LayCurse B Jan. 14, 2011, 8:11 a.m. OK GNU C TESTS 60 30 1331200 1600
1715839 vjudge3 B May 25, 2012, 3:28 p.m. OK GNU C TESTS 60 30 1433600 1600
1715837 vjudge3 B May 25, 2012, 3:27 p.m. OK GNU C TESTS 60 30 1433600 1600
1715831 vjudge1 B May 25, 2012, 3:24 p.m. OK GNU C TESTS 60 30 1433600 1600
1374555 vjudge3 B March 18, 2012, 6:19 a.m. OK GNU C TESTS 60 30 1433600 1600
18028025 vjudge4 B May 22, 2016, 8:10 a.m. OK GNU C TESTS 60 30 2048000 1600
2438586 xxx0624 B Oct. 26, 2012, 1:11 p.m. OK GNU C TESTS 60 31 0 1600
3262609 jakubr B March 7, 2013, 3:18 p.m. OK GNU C++ TESTS 60 15 0 1600
3829029 RHman16 B June 6, 2013, 6:59 p.m. OK GNU C++ TESTS 60 15 0 1600
3732086 dojiboy9 B May 18, 2013, 4:36 a.m. OK GNU C++ TESTS 60 15 0 1600
3560671 BetoMB B April 18, 2013, 1:47 p.m. OK GNU C++ TESTS 60 15 0 1600
3262826 staszic3 B March 7, 2013, 4:18 p.m. OK GNU C++ TESTS 60 15 0 1600
3262758 pompon B March 7, 2013, 3:58 p.m. OK GNU C++ TESTS 60 15 0 1600
3262675 panblazej B March 7, 2013, 3:36 p.m. OK GNU C++ TESTS 60 15 0 1600
3262656 jaro3000 B March 7, 2013, 3:30 p.m. OK GNU C++ TESTS 60 15 0 1600
3262645 Marcin_smu B March 7, 2013, 3:27 p.m. OK GNU C++ TESTS 60 15 0 1600
3125612 darkkmanz B Feb. 13, 2013, 11:34 p.m. OK GNU C++ TESTS 60 15 0 1600
3378411 NomadThanatos B March 22, 2013, 6:05 a.m. OK GNU C++0x TESTS 60 15 0 1600
3378394 NomadThanatos B March 22, 2013, 6:01 a.m. OK GNU C++0x TESTS 60 15 0 1600
4931049 Orfest B Oct. 29, 2013, 9:07 p.m. OK GNU C++0x TESTS 60 15 102400 1600
10304266 I_love_Hoang_Yen B March 16, 2015, 6:47 p.m. OK GNU C++0x TESTS 60 30 0 1600
10211238 Bernoulli B March 8, 2015, 6:27 p.m. OK GNU C++0x TESTS 60 30 0 1600
9877711 dionysios B Feb. 17, 2015, 1:40 a.m. OK GNU C++0x TESTS 60 30 0 1600
8053699 vjudge4 B Oct. 2, 2014, 6:12 a.m. OK GNU C++0x TESTS 60 30 0 1600
7672701 shobe B Sept. 3, 2014, 8:07 a.m. OK GNU C++0x TESTS 60 30 0 1600
7543927 the_silliest B Aug. 21, 2014, 1:21 p.m. OK GNU C++0x TESTS 60 30 0 1600
7334373 xiaohao123 B Aug. 3, 2014, 4:26 a.m. OK GNU C++0x TESTS 60 30 0 1600
49207881 namratha_253 B Jan. 30, 2019, 2:30 p.m. OK GNU C11 TESTS 60 62 0 1600
65669453 luogu_bot5 B Nov. 24, 2019, 3:17 p.m. OK GNU C11 TESTS 60 62 0 1600
60056466 BugLeave B Sept. 5, 2019, 4:33 a.m. OK GNU C11 TESTS 60 62 0 1600
27794587 paulzrm B June 15, 2017, 1:29 p.m. OK GNU C++11 TESTS 60 30 0 1600
27794555 paulzrm B June 15, 2017, 1:28 p.m. OK GNU C++11 TESTS 60 30 0 1600
27772749 paulzrm B June 14, 2017, 11:06 a.m. OK GNU C++11 TESTS 60 30 0 1600
27772721 paulzrm B June 14, 2017, 11:04 a.m. OK GNU C++11 TESTS 60 30 0 1600
27772706 paulzrm B June 14, 2017, 11:03 a.m. OK GNU C++11 TESTS 60 30 0 1600
27772697 paulzrm B June 14, 2017, 11:02 a.m. OK GNU C++11 TESTS 60 30 0 1600
27772640 paulzrm B June 14, 2017, 10:59 a.m. OK GNU C++11 TESTS 60 30 0 1600
32231659 Ownography B Nov. 11, 2017, 10:28 p.m. OK GNU C++11 TESTS 60 30 0 1600
29836839 AVM.Martin B Aug. 28, 2017, 1:19 a.m. OK GNU C++11 TESTS 60 30 0 1600
27794713 paulzrm B June 15, 2017, 1:37 p.m. OK GNU C++11 TESTS 60 30 0 1600
46012002 master-mahmoudAcm B Nov. 20, 2018, 9:17 p.m. OK GNU C++14 TESTS 60 30 0 1600
39290105 shifanyiakioi B June 16, 2018, 2:48 p.m. OK GNU C++14 TESTS 60 30 0 1600
32309996 jianba B Nov. 14, 2017, 11:42 a.m. OK GNU C++14 TESTS 60 30 0 1600
32291151 thenoobestever B Nov. 13, 2017, 5:49 p.m. OK GNU C++14 TESTS 60 30 0 1600
32232690 ArByZ B Nov. 12, 2017, 1 a.m. OK GNU C++14 TESTS 60 30 0 1600
32214822 jianba B Nov. 11, 2017, 8:52 a.m. OK GNU C++14 TESTS 60 30 0 1600
32214224 jianba B Nov. 11, 2017, 8:21 a.m. OK GNU C++14 TESTS 60 30 0 1600
30818738 internom B Sept. 29, 2017, 2:04 a.m. OK GNU C++14 TESTS 60 30 0 1600
29814753 farukkastamonuda B Aug. 26, 2017, 8:33 p.m. OK GNU C++14 TESTS 60 30 0 1600
29775392 vjudge3 B Aug. 25, 2017, 9:40 a.m. OK GNU C++14 TESTS 60 30 0 1600
39334879 Aasthac67 B June 17, 2018, 12:20 p.m. OK GNU C++17 TESTS 60 30 0 1600
37839805 PhoenixWright666 B May 2, 2018, 12:28 p.m. OK GNU C++17 TESTS 60 30 3379200 1600
51764923 MaTb3aa B March 23, 2019, 3:22 p.m. OK GNU C++17 TESTS 60 60 0 1600
58248579 StevenJin B Aug. 4, 2019, 6:43 a.m. OK GNU C++17 TESTS 60 60 0 1600
63942712 Caceres_Valencia_Zenteno B Oct. 31, 2019, 5:56 p.m. OK GNU C++17 TESTS 60 60 0 1600
69096235 19045221xay B Jan. 19, 2020, 12:10 p.m. OK GNU C++17 TESTS 60 60 0 1600
39644294 Ashishgup B June 25, 2018, 9:10 a.m. OK GNU C++17 TESTS 60 60 102400 1600
41266750 jizhenjun B Aug. 6, 2018, 7:38 a.m. OK GNU C++17 TESTS 60 60 307200 1600
48646507 prudhvikiran2000 B Jan. 20, 2019, 5:48 p.m. OK GNU C++17 TESTS 60 60 307200 1600
45770537 samar_negm B Nov. 15, 2018, 2:16 p.m. OK GNU C++17 TESTS 60 60 307200 1600
253391 Vintik B Jan. 16, 2011, 3:35 p.m. OK Haskell TESTS 60 30 1638400 1600
253077 privnatia B Jan. 16, 2011, 4:15 a.m. OK Haskell TESTS 60 30 1638400 1600
251414 watashi B Jan. 14, 2011, 10:42 a.m. OK Haskell TESTS 60 30 1638400 1600
330879 enots B March 11, 2011, 1:36 p.m. OK Haskell TESTS 60 30 2048000 1600
1739206 DimsFromDergachy B May 29, 2012, 9:23 a.m. OK Haskell TESTS 60 30 2150400 1600
249163 winger B Jan. 14, 2011, 8:10 a.m. OK Java 6 TESTS 60 80 43315200 1600
256269 Eugene_nik B Jan. 21, 2011, 2:11 p.m. OK Java 6 TESTS 60 80 43417600 1600
252021 dalex B Jan. 14, 2011, 5:30 p.m. OK Java 6 TESTS 60 80 43417600 1600
249732 SergeyLazarev B Jan. 14, 2011, 8:33 a.m. OK Java 6 TESTS 60 80 43417600 1600
249408 calculus.saransh B Jan. 14, 2011, 8:20 a.m. OK Java 6 TESTS 60 80 43417600 1600
655148 ahmad_mamdouh B Sept. 1, 2011, 7:15 p.m. OK Java 6 TESTS 60 90 34918400 1600
561983 islam-al-aarag B July 23, 2011, 6:14 a.m. OK Java 6 TESTS 60 90 43008000 1600
563389 Nox B July 24, 2011, 6:30 a.m. OK Java 6 TESTS 60 90 43008000 1600
561909 Omar.Darwish B July 23, 2011, 5:22 a.m. OK Java 6 TESTS 60 90 43110400 1600
988765 mostafa_fahim B Dec. 27, 2011, 6:16 p.m. OK Java 6 TESTS 60 90 43212800 1600
3821598 CurbStomp B June 4, 2013, 12:46 p.m. OK Java 7 TESTS 60 78 0 1600
2476325 Bambam B Nov. 1, 2012, 6:08 a.m. OK Java 7 TESTS 60 109 0 1600
5037445 ilya.cerber B Nov. 9, 2013, 4:03 p.m. OK Java 7 TESTS 60 124 0 1600
5036186 pitfall B Nov. 9, 2013, 12:31 p.m. OK Java 7 TESTS 60 124 0 1600
5035935 pitfall B Nov. 9, 2013, 12:04 p.m. OK Java 7 TESTS 60 124 0 1600
1896224 jiangzhijie B July 13, 2012, 3:52 a.m. OK Java 7 TESTS 60 130 44851200 1600
9979136 mishagam B Feb. 24, 2015, 9:49 a.m. OK Java 7 TESTS 60 154 0 1600
8619281 vjudge4 B Nov. 9, 2014, 2:27 a.m. OK Java 7 TESTS 60 186 0 1600
5826933 cupcup B Jan. 28, 2014, 5:05 p.m. OK Java 7 TESTS 60 186 0 1600
16981743 kws4679 B March 28, 2016, 2:23 a.m. OK Java 7 TESTS 60 342 39321600 1600
57482898 nkang B July 22, 2019, 3:27 a.m. OK Java 8 TESTS 60 218 0 1600
9949389 YoussefYN B Feb. 21, 2015, 2:45 p.m. OK Java 8 TESTS 60 218 0 1600
28957198 Ahmed_Diab B July 28, 2017, 3:40 p.m. OK Java 8 TESTS 60 218 20582400 1600
19274658 Grand B July 20, 2016, 8:17 a.m. OK Java 8 TESTS 60 248 0 1600
27963461 ashubeckham B June 22, 2017, 11:18 a.m. OK Java 8 TESTS 60 248 20480000 1600
26161355 poikniok B April 6, 2017, 2:48 a.m. OK Java 8 TESTS 60 248 20480000 1600
21733661 lehar B Oct. 24, 2016, 5:37 a.m. OK Java 8 TESTS 60 280 0 1600
20877112 TWO_POINTER B Sept. 23, 2016, 11:28 p.m. OK Java 8 TESTS 60 280 0 1600
20742150 Ahmad_Elsagheer B Sept. 18, 2016, 6:54 p.m. OK Java 8 TESTS 60 280 0 1600
38925539 ZeyadKhattab B June 3, 2018, 4:08 p.m. OK Java 8 TESTS 60 280 20275200 1600
16624165 agat00 B March 9, 2016, 8:39 p.m. OK JavaScript TESTS 60 62 1024000 1600
252855 Xorand B Jan. 15, 2011, 3 p.m. OK Mono C# TESTS 60 130 5632000 1600
249455 tanzaku B Jan. 14, 2011, 8:22 a.m. OK Mono C# TESTS 60 130 5632000 1600
252852 Xorand B Jan. 15, 2011, 2:57 p.m. OK Mono C# TESTS 60 130 5632000 1600
249167 Hadi_Asiaie B Jan. 14, 2011, 8:10 a.m. OK Mono C# TESTS 60 220 6758400 1600
3088643 abhijit1005075 B Feb. 10, 2013, 8:21 a.m. OK MS C++ TESTS 60 15 0 1600
2927635 snake13 B Jan. 15, 2013, 4:51 p.m. OK MS C++ TESTS 60 15 0 1600
3936545 tomas.svab B June 22, 2013, 6:02 p.m. OK MS C++ TESTS 60 15 0 1600
3936522 tomas.svab B June 22, 2013, 5:56 p.m. OK MS C++ TESTS 60 15 102400 1600
4865930 Silent_coder B Oct. 24, 2013, 3:43 p.m. OK MS C++ TESTS 60 30 0 1600
11603511 abdayyad2012 B June 16, 2015, 7:51 a.m. OK MS C++ TESTS 60 30 0 1600
9433661 saichandu6 B Jan. 15, 2015, 5:41 a.m. OK MS C++ TESTS 60 30 0 1600
5636717 Valentin_E B Jan. 8, 2014, 9:17 a.m. OK MS C++ TESTS 60 30 0 1600
5354906 lihaitao B Dec. 5, 2013, 2:48 p.m. OK MS C++ TESTS 60 30 0 1600
4316909 Vayne B Aug. 20, 2013, 6:02 p.m. OK MS C++ TESTS 60 30 0 1600
50077233 The-Last-Avenger B Feb. 17, 2019, 11:10 p.m. OK MS C++ 2017 TESTS 60 62 0 1600
57073929 vjudge4 B July 15, 2019, 4:05 a.m. OK MS C++ 2017 TESTS 60 62 0 1600
57076140 a_lucky_rabbit B July 15, 2019, 5:17 a.m. OK MS C++ 2017 TESTS 60 62 0 1600
21326890 mayakin B Oct. 9, 2016, 8:47 p.m. OK PHP TESTS 60 92 4710400 1600
250261 -dp- B Jan. 14, 2011, 8:58 a.m. OK Python 2 TESTS 60 60 2764800 1600
274611 MrFunnyManny B Feb. 3, 2011, 7:51 p.m. OK Python 2 TESTS 60 60 2764800 1600
274578 Aleksey B Feb. 3, 2011, 6:55 p.m. OK Python 2 TESTS 60 60 2764800 1600
254287 crbtmac B Jan. 18, 2011, 3:13 a.m. OK Python 2 TESTS 60 60 2764800 1600
254053 crbtmac B Jan. 17, 2011, 4:14 p.m. OK Python 2 TESTS 60 60 2764800 1600
251479 rizwanhudda B Jan. 14, 2011, 11:06 a.m. OK Python 2 TESTS 60 60 2764800 1600
251218 insane B Jan. 14, 2011, 9:56 a.m. OK Python 2 TESTS 60 60 2764800 1600
251182 tardosmors B Jan. 14, 2011, 9:54 a.m. OK Python 2 TESTS 60 60 2764800 1600
249711 Gassa B Jan. 14, 2011, 8:32 a.m. OK Python 2 TESTS 60 60 2764800 1600
249604 andreyrmg B Jan. 14, 2011, 8:28 a.m. OK Python 2 TESTS 60 60 2764800 1600
4652483 m1_k3 B Oct. 3, 2013, 9:18 p.m. OK Python 3 TESTS 60 92 0 1600
5592197 yugle7 B Dec. 31, 2013, 12:32 p.m. OK Python 3 TESTS 60 92 307200 1600
14913697 eddy1021 B Dec. 21, 2015, 1:56 p.m. OK Python 3 TESTS 60 124 0 1600
6993857 AbdoA2 B July 1, 2014, 8:18 p.m. OK Python 3 TESTS 60 124 0 1600
6993583 ItsLastDay B July 1, 2014, 6:59 p.m. OK Python 3 TESTS 60 124 0 1600
4652422 m1_k3 B Oct. 3, 2013, 9:03 p.m. OK Python 3 TESTS 60 124 0 1600
14191742 Eeyore B Nov. 11, 2015, 3:07 a.m. OK Python 3 TESTS 60 124 102400 1600
5592274 yugle7 B Dec. 31, 2013, 12:44 p.m. OK Python 3 TESTS 60 124 307200 1600
35888318 ______n______ B March 3, 2018, 2:19 p.m. OK Python 3 TESTS 60 124 5632000 1600
35888221 ______u______ B March 3, 2018, 2:18 p.m. OK Python 3 TESTS 60 124 5632000 1600
485997 tux1986 B June 12, 2011, 2:10 a.m. OK Ruby TESTS 60 80 3584000 1600
258697 prijutme4ty B Jan. 21, 2011, 7:03 p.m. OK Ruby TESTS 60 90 5222400 1600
2475762 mishagam B Oct. 31, 2012, 9:57 p.m. OK Scala TESTS 60 328 102400 1600
2903950 mishagam B Jan. 11, 2013, 4:52 a.m. OK Scala TESTS 60 406 307200 1600

remove filters

Back to search problems