Codeforces Beta Round 57 (Div. 2)

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
61 Codeforces Beta Round 57 (Div. 2) FINISHED False 7200 433432799 Feb. 22, 2011, 4 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3882 ) B Hard Work PROGRAMMING strings 1300

B'After the contest in comparing numbers, Shapur 's teacher found out that he is a real genius and that no one could possibly do the calculations faster than him even using a super computer! Some days before the contest, the teacher took a very simple-looking exam and all his n students took part in the exam. The teacher gave them 3 strings and asked them to concatenate them. Concatenating strings means to put them in some arbitrary order one after the other. For example from concatenating Alireza and Amir we can get to AlirezaAmir or AmirAlireza depending on the order of concatenation. Unfortunately enough, the teacher forgot to ask students to concatenate their strings in a pre-defined order so each student did it the way he/she liked. Now the teacher knows that Shapur is such a fast-calculating genius boy and asks him to correct the students ' papers. Shapur is not good at doing such a time-taking task. He rather likes to finish up with it as soon as possible and take his time to solve 3-SAT in polynomial time. Moreover, the teacher has given some advice that Shapur has to follow. Here 's what the teacher said: The first three lines contain a string each. These are the initial strings. They consists only of lowercase and uppercase Latin letters and signs ("-", ";" and "_"). All the initial strings have length from 1 to 100, inclusively. In the fourth line there is a single integer n (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000), the number of students. Next n lines contain a student 's answer each. It is guaranteed that the answer meets what the teacher said. Each answer iconsists only of lowercase and uppercase Latin letters and signs ("-", ";" and "_"). Length is from 1 to 600, inclusively. For each student write in a different line. Print "WA" if his answer is wrong or "ACC" if his answer is OK.'...

Tutorials

Round 57-A

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
24218586 FalseMirror B Jan. 28, 2017, 9:54 a.m. OK D TESTS 43 31 2969600 1300
24230262 FalseMirror B Jan. 28, 2017, 4:34 p.m. OK D TESTS 43 46 3072000 1300
9271852 MamontRussel B Dec. 25, 2014, 11:19 p.m. OK Delphi TESTS 43 46 0 1300
9274029 MamontRussel B Dec. 26, 2014, 9:06 a.m. OK Delphi TESTS 43 46 0 1300
16629638 prosmgeorg B March 10, 2016, 9:09 a.m. OK FPC TESTS 43 31 102400 1300
8947976 bnuvjudge3 B Dec. 3, 2014, 3:21 a.m. OK FPC TESTS 43 31 921600 1300
9443935 VAVAvile B Jan. 16, 2015, 2:03 p.m. OK FPC TESTS 43 31 1126400 1300
11279765 Athee B May 26, 2015, 2:14 p.m. OK FPC TESTS 43 31 1228800 1300
31292741 simoncatcity B Oct. 14, 2017, 7:08 a.m. OK FPC TESTS 43 46 1536000 1300
8947923 bnuvjudge B Dec. 3, 2014, 3:10 a.m. OK FPC TESTS 43 109 1433600 1300
35713269 rainboy B Feb. 25, 2018, 9:13 p.m. OK GNU C TESTS 43 15 1843200 1300
24907168 KinKong1 B Feb. 23, 2017, 2:44 a.m. OK GNU C TESTS 43 15 1945600 1300
18353830 aiswarya339 B June 10, 2016, 7:21 a.m. OK GNU C TESTS 43 31 2048000 1300
16612758 __io__ B March 9, 2016, 7:34 a.m. OK GNU C++ TESTS 43 15 0 1300
15340891 vjudge5 B Jan. 14, 2016, 6:52 a.m. OK GNU C++ TESTS 43 15 0 1300
15286314 vjudge3 B Jan. 11, 2016, 10:16 a.m. OK GNU C++ TESTS 43 15 0 1300
12335250 vjudge1 B Aug. 4, 2015, 8:03 a.m. OK GNU C++ TESTS 43 15 0 1300
12301254 vjudge4 B Aug. 1, 2015, 8:51 a.m. OK GNU C++ TESTS 43 15 0 1300
11957713 Trasier B July 7, 2015, 8:41 a.m. OK GNU C++ TESTS 43 15 0 1300
12040785 vjudge5 B July 14, 2015, 11:36 a.m. OK GNU C++ TESTS 43 15 0 1300
29859503 vjudge1 B Aug. 29, 2017, 6:48 a.m. OK GNU C++ TESTS 43 15 0 1300
27758450 Dalgerok B June 13, 2017, 3:37 p.m. OK GNU C++ TESTS 43 15 0 1300
22578202 fly_ B Nov. 28, 2016, 2:01 p.m. OK GNU C++ TESTS 43 15 0 1300
8743310 hakobyan.tigran B Nov. 18, 2014, 8:07 a.m. OK GNU C++0x TESTS 43 15 102400 1300
9873414 anasos B Feb. 16, 2015, 4:31 p.m. OK GNU C++0x TESTS 43 31 0 1300
9880008 I_love_Hoang_Yen B Feb. 17, 2015, 9:07 a.m. OK GNU C++0x TESTS 43 31 102400 1300
9942777 robert_nabil20022002 B Feb. 20, 2015, 9:24 p.m. OK GNU C++0x TESTS 43 46 0 1300
8881530 aliasadiiii B Nov. 28, 2014, 5:21 p.m. OK GNU C++0x TESTS 43 46 204800 1300
9816433 higazy B Feb. 13, 2015, 1:33 p.m. OK GNU C++0x TESTS 43 46 512000 1300
10219938 joseph_sobhy B March 9, 2015, 5:21 p.m. OK GNU C++0x TESTS 43 62 307200 1300
8977582 vjudge5 B Dec. 4, 2014, 6:32 a.m. OK GNU C++0x TESTS 43 78 102400 1300
61085838 kaiboy B Sept. 22, 2019, 6:18 p.m. OK GNU C11 TESTS 43 31 0 1300
61092155 kaiboy B Sept. 22, 2019, 10:35 p.m. OK GNU C11 TESTS 43 31 0 1300
44285614 dronperminov B Oct. 14, 2018, 7:19 a.m. OK GNU C11 TESTS 43 31 102400 1300
12109517 Dudka B July 18, 2015, 5:55 p.m. OK GNU C++11 TESTS 43 15 0 1300
31198594 fabo3000 B Oct. 10, 2017, 5:06 p.m. OK GNU C++11 TESTS 43 15 0 1300
27456523 Roooooo B May 30, 2017, 10:30 p.m. OK GNU C++11 TESTS 43 15 0 1300
23076339 y_shindoh B Dec. 18, 2016, 3:37 a.m. OK GNU C++11 TESTS 43 15 0 1300
20958330 Wholewheatbread B Sept. 28, 2016, 12:58 a.m. OK GNU C++11 TESTS 43 15 0 1300
18996474 xiang578 B July 10, 2016, 6:27 a.m. OK GNU C++11 TESTS 43 15 0 1300
18902695 3agwa B July 5, 2016, 2:35 p.m. OK GNU C++11 TESTS 43 15 0 1300
18861447 mshokry10 B July 3, 2016, 2:08 a.m. OK GNU C++11 TESTS 43 15 0 1300
12132641 Nikitosh B July 20, 2015, 4:02 p.m. OK GNU C++11 TESTS 43 15 0 1300
10991397 Raoof B May 3, 2015, 10:17 p.m. OK GNU C++11 TESTS 43 15 0 1300
29858177 anks B Aug. 29, 2017, 4:52 a.m. OK GNU C++14 TESTS 43 15 0 1300
29518688 ishu_05 B Aug. 17, 2017, 5:47 a.m. OK GNU C++14 TESTS 43 15 204800 1300
29518666 cmon_son B Aug. 17, 2017, 5:46 a.m. OK GNU C++14 TESTS 43 15 204800 1300
27686792 bossbaby B June 9, 2017, 10:11 a.m. OK GNU C++14 TESTS 43 15 204800 1300
27685207 TyTinyy B June 9, 2017, 8:25 a.m. OK GNU C++14 TESTS 43 15 204800 1300
27116096 mnciitbhu B May 15, 2017, 5:50 a.m. OK GNU C++14 TESTS 43 15 204800 1300
21834817 neil145912 B Oct. 27, 2016, 8:48 p.m. OK GNU C++14 TESTS 43 15 204800 1300
29641768 wh1te_whale B Aug. 21, 2017, 11:01 a.m. OK GNU C++14 TESTS 43 15 204800 1300
30620546 Momentum B Sept. 22, 2017, 4:33 p.m. OK GNU C++14 TESTS 43 15 204800 1300
30800064 pqnguyen1996 B Sept. 28, 2017, 9:23 a.m. OK GNU C++14 TESTS 43 15 204800 1300
53890514 King_01 B May 8, 2019, 11:14 p.m. OK GNU C++17 TESTS 43 15 819200 1300
47550566 arpit040199 B Dec. 27, 2018, 12:48 p.m. OK GNU C++17 TESTS 43 30 102400 1300
41917687 paruki B Aug. 21, 2018, 12:37 a.m. OK GNU C++17 TESTS 43 30 204800 1300
62219993 Nabeel_Ghallawenji B Oct. 9, 2019, 5:13 p.m. OK GNU C++17 TESTS 43 30 204800 1300
46813227 hiepxuan2008 B Dec. 9, 2018, 11:35 a.m. OK GNU C++17 TESTS 43 31 0 1300
42342748 MSteine B Sept. 1, 2018, 6:27 p.m. OK GNU C++17 TESTS 43 31 0 1300
52254864 tnakao B April 3, 2019, 4:47 a.m. OK GNU C++17 TESTS 43 31 0 1300
44020196 Harolinch B Oct. 9, 2018, 3:07 a.m. OK GNU C++17 TESTS 43 31 102400 1300
68321206 karthikeysaxena B Jan. 6, 2020, 3:01 p.m. OK GNU C++17 TESTS 43 31 204800 1300
67755046 cf238 B Dec. 27, 2019, 7:11 p.m. OK GNU C++17 TESTS 43 31 204800 1300
28504984 hoangnc.io B July 13, 2017, 2:23 p.m. OK Go TESTS 43 31 47308800 1300
65596172 NGUYEN_THANH_LOI B Nov. 23, 2019, 3:58 p.m. OK Go TESTS 43 46 0 1300
17326596 Tilalis B April 15, 2016, 12:36 p.m. OK Haskell TESTS 43 31 8601600 1300
8866821 bullshit.ass B Nov. 27, 2014, 7:22 a.m. OK Java 6 TESTS 43 93 307200 1300
8831984 MostafaAbdullah B Nov. 24, 2014, 7:55 a.m. OK Java 7 TESTS 43 93 716800 1300
8774296 Badry B Nov. 21, 2014, 1:35 p.m. OK Java 7 TESTS 43 109 0 1300
12856459 Asma123 B Sept. 5, 2015, 5:23 p.m. OK Java 7 TESTS 43 109 0 1300
14634105 DukeOfYork B Dec. 3, 2015, 1:12 p.m. OK Java 7 TESTS 43 124 0 1300
12856906 sara_taher B Sept. 5, 2015, 6:08 p.m. OK Java 7 TESTS 43 124 0 1300
8807693 Amerisma B Nov. 23, 2014, 12:09 a.m. OK Java 7 TESTS 43 124 0 1300
12856805 Nitto B Sept. 5, 2015, 5:59 p.m. OK Java 7 TESTS 43 140 0 1300
8797214 2shraaf B Nov. 22, 2014, 8:14 a.m. OK Java 7 TESTS 43 140 0 1300
9926667 aboodmanna B Feb. 19, 2015, 2:06 p.m. OK Java 7 TESTS 43 155 0 1300
13494762 anjali121 B Oct. 8, 2015, 1:54 p.m. OK Java 7 TESTS 43 171 0 1300
27882977 coderbond007 B June 18, 2017, 10:57 a.m. OK Java 8 TESTS 43 124 0 1300
29798427 TuanKyou B Aug. 26, 2017, 6:18 a.m. OK Java 8 TESTS 43 124 0 1300
21516483 Hamada_ B Oct. 17, 2016, 10:37 a.m. OK Java 8 TESTS 43 124 20582400 1300
63561837 BiggestPrime B Oct. 27, 2019, 2:28 p.m. OK Java 8 TESTS 43 139 0 1300
47532889 deepak4669 B Dec. 26, 2018, 8:50 p.m. OK Java 8 TESTS 43 139 0 1300
32079190 kocko B Nov. 5, 2017, 3:10 p.m. OK Java 8 TESTS 43 139 0 1300
12707639 Axe__ B Aug. 26, 2015, 12:23 p.m. OK Java 8 TESTS 43 139 0 1300
21516267 Hamada_ B Oct. 17, 2016, 10:24 a.m. OK Java 8 TESTS 43 139 20480000 1300
39048437 taipham93 B June 8, 2018, 2:16 p.m. OK Java 8 TESTS 43 140 0 1300
20550745 Ahmad_Elsagheer B Sept. 12, 2016, 2:21 p.m. OK Java 8 TESTS 43 140 0 1300
22838104 agat00 B Dec. 9, 2016, 4:04 p.m. OK JavaScript TESTS 43 46 1126400 1300
65697516 Ahmadjon B Nov. 25, 2019, 9:04 a.m. OK Kotlin TESTS 43 233 1433600 1300
41330240 tienthieusac B Aug. 8, 2018, 8:16 a.m. OK Mono C# TESTS 43 62 2355200 1300
39976725 Skndr801 B July 5, 2018, 8:06 a.m. OK Mono C# TESTS 43 62 2560000 1300
61064418 Polka_Dot B Sept. 22, 2019, 10:33 a.m. OK Mono C# TESTS 43 62 3072000 1300
61027513 Tasuke B Sept. 21, 2019, 4:29 p.m. OK Mono C# TESTS 43 62 3072000 1300
60027944 DNU_Thunder B Sept. 4, 2019, 2:38 p.m. OK Mono C# TESTS 43 77 3072000 1300
60032089 DNU_Thunder B Sept. 4, 2019, 3:41 p.m. OK Mono C# TESTS 43 77 6656000 1300
11992670 Subv B July 10, 2015, 3:49 a.m. OK MS C# TESTS 43 61 4198400 1300
16308874 og.kostya B Feb. 24, 2016, 12:54 p.m. OK MS C# TESTS 43 62 1331200 1300
12718143 i3DProgrammer B Aug. 27, 2015, 10:27 a.m. OK MS C# TESTS 43 62 4608000 1300
14679526 DigitalArtistKz B Dec. 6, 2015, 7:08 p.m. OK MS C# TESTS 43 62 5324800 1300
10428744 ALLAH_3leek_Ya_Ostaz B March 25, 2015, 3:35 a.m. OK MS C++ TESTS 43 15 0 1300
11992527 HamedWBN1 B July 10, 2015, 3:20 a.m. OK MS C++ TESTS 43 15 0 1300
15345604 step_by_step B Jan. 14, 2016, 2:36 p.m. OK MS C++ TESTS 43 15 204800 1300
31224446 Feriter B Oct. 11, 2017, 5:54 p.m. OK MS C++ TESTS 43 15 307200 1300
31223420 fastbreakfast B Oct. 11, 2017, 5:13 p.m. OK MS C++ TESTS 43 15 409600 1300
17126554 HoXuanVinh B April 2, 2016, 8:40 a.m. OK MS C++ TESTS 43 15 2048000 1300
25744869 dby B March 23, 2017, 3:59 p.m. OK MS C++ TESTS 43 15 2150400 1300
28463348 zoocaosu B July 12, 2017, 6:08 a.m. OK MS C++ TESTS 43 15 2252800 1300
32618233 kto1990 B Nov. 24, 2017, 11:06 a.m. OK MS C++ TESTS 43 15 2252800 1300
13211766 jk_qq B Sept. 25, 2015, 12:10 a.m. OK MS C++ TESTS 43 30 0 1300
52538907 drexa B April 9, 2019, 5:01 p.m. OK MS C++ 2017 TESTS 43 46 0 1300
63041156 moh.om.ha B Oct. 21, 2019, 12:53 a.m. OK MS C++ 2017 TESTS 43 46 0 1300
63720798 Warlock_ B Oct. 29, 2019, 11:19 a.m. OK MS C++ 2017 TESTS 43 46 0 1300
65709403 ummd B Nov. 25, 2019, 1:47 p.m. OK MS C++ 2017 TESTS 43 46 307200 1300
11539373 obsolescence B June 12, 2015, 3:11 a.m. OK Perl TESTS 43 46 0 1300
17157085 mayakin B April 4, 2016, 11:50 a.m. OK PHP TESTS 43 561 4710400 1300
49372003 kipply B Feb. 2, 2019, 5:47 p.m. OK PyPy 2 TESTS 43 156 614400 1300
62854036 ashok123 B Oct. 18, 2019, 8:33 a.m. OK PyPy 2 TESTS 43 187 2662400 1300
49368901 aeternalis1 B Feb. 2, 2019, 4:24 p.m. OK PyPy 2 TESTS 43 187 6041600 1300
24287474 Ferume B Jan. 31, 2017, 10:43 a.m. OK PyPy 3 TESTS 43 171 24064000 1300
53111363 duongle1 B April 22, 2019, 3:21 a.m. OK PyPy 3 TESTS 43 186 1843200 1300
56038207 sharrad99 B June 25, 2019, 1:05 p.m. OK PyPy 3 TESTS 43 202 2867200 1300
61011599 Quantum_Dragon B Sept. 21, 2019, 12:23 p.m. OK PyPy 3 TESTS 43 202 2969600 1300
67027936 ashwin2000 B Dec. 16, 2019, 2:56 p.m. OK PyPy 3 TESTS 43 202 3276800 1300
61452066 _Shravann_ B Sept. 29, 2019, 3:47 a.m. OK PyPy 3 TESTS 43 202 4608000 1300
20172271 yashar_sb_sb B Aug. 26, 2016, 9:46 a.m. OK PyPy 3 TESTS 43 202 26214400 1300
50925636 cs1g B March 7, 2019, 11:42 a.m. OK PyPy 3 TESTS 43 218 2457600 1300
58212525 qbao_asdasd B Aug. 3, 2019, 9:21 a.m. OK PyPy 3 TESTS 43 218 3379200 1300
62943843 Voneone B Oct. 19, 2019, 4:35 p.m. OK PyPy 3 TESTS 43 218 3584000 1300
10605636 VastoLorde95 B April 5, 2015, 6:54 p.m. OK Python 2 TESTS 43 46 102400 1300
11530833 Nisarg6892 B June 11, 2015, 9:05 a.m. OK Python 2 TESTS 43 61 0 1300
11518812 harshkothari410 B June 10, 2015, 8:36 a.m. OK Python 2 TESTS 43 61 0 1300
29915698 huynhminhphuc B Aug. 30, 2017, 11:24 a.m. OK Python 2 TESTS 43 61 102400 1300
30236755 lanhpham B Sept. 10, 2017, 2:42 a.m. OK Python 2 TESTS 43 62 0 1300
30237842 lanhpham B Sept. 10, 2017, 4:45 a.m. OK Python 2 TESTS 43 62 102400 1300
27274076 Ahmed_Raafat12 B May 21, 2017, 9:40 p.m. OK Python 2 TESTS 43 62 102400 1300
17291481 Kero B April 12, 2016, 3:11 p.m. OK Python 2 TESTS 43 62 102400 1300
13543608 devzdesilva B Oct. 11, 2015, 9:32 a.m. OK Python 2 TESTS 43 62 102400 1300
13001972 m7mdbadawy B Sept. 15, 2015, 1:21 a.m. OK Python 2 TESTS 43 62 102400 1300
27599374 sponges B June 5, 2017, 7:19 p.m. OK Python 3 TESTS 43 77 0 1300
22207145 Koi_ga_umareru B Nov. 14, 2016, 12:25 p.m. OK Python 3 TESTS 43 77 307200 1300
18374622 ray1246 B June 11, 2016, 12:47 p.m. OK Python 3 TESTS 43 77 5120000 1300
27960805 Islam_Atef B June 22, 2017, 8:49 a.m. OK Python 3 TESTS 43 77 5529600 1300
34832527 vyung B Feb. 2, 2018, 9:14 a.m. OK Python 3 TESTS 43 77 5632000 1300
28580434 AmirAShabani B July 15, 2017, 6:49 p.m. OK Python 3 TESTS 43 77 5632000 1300
26143164 vinky B April 5, 2017, 12:37 p.m. OK Python 3 TESTS 43 77 5632000 1300
16454080 arknave B March 1, 2016, 8:58 p.m. OK Python 3 TESTS 43 78 307200 1300
24326690 kapul B Jan. 31, 2017, 8:07 p.m. OK Python 3 TESTS 43 78 4608000 1300
33074738 zealot97 B Dec. 10, 2017, 7:33 a.m. OK Python 3 TESTS 43 93 6041600 1300
22850227 karthickpdy B Dec. 10, 2016, 7:44 a.m. OK Ruby TESTS 43 77 819200 1300
56016227 sorry_im_smurfing B June 24, 2019, 9:26 p.m. OK Ruby TESTS 43 78 819200 1300
35518501 0w1 B Feb. 20, 2018, 10:41 a.m. OK Ruby TESTS 43 78 8294400 1300
35896979 _____k_____ B March 3, 2018, 5:41 p.m. OK Ruby TESTS 43 93 7270400 1300
35895979 ______n______ B March 3, 2018, 4:58 p.m. OK Ruby TESTS 43 93 7270400 1300
35895938 ______u______ B March 3, 2018, 4:57 p.m. OK Ruby TESTS 43 93 7270400 1300
35895574 _____i_____ B March 3, 2018, 4:47 p.m. OK Ruby TESTS 43 93 7270400 1300
35888062 ______h______ B March 3, 2018, 2:14 p.m. OK Ruby TESTS 43 93 7270400 1300
35887650 ______k______ B March 3, 2018, 2:07 p.m. OK Ruby TESTS 43 93 7270400 1300
35886752 ______i______ B March 3, 2018, 1:51 p.m. OK Ruby TESTS 43 93 7270400 1300

remove filters

Back to search problems