Codeforces Beta Round 24

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
24 Codeforces Beta Round 24 FINISHED False 7200 496169980 July 26, 2010, 1 p.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 2016 ) B F1 Champions PROGRAMMING implementation 1500

Formula One championship consists of series of races called Grand Prix. After every race drivers receive points according to their final position. Only the top 10 drivers receive points in the following order 25, 18, 15, 12, 10, 8, 6, 4, 2, 1. At the conclusion of the championship the driver with most points is the champion. If there is a tie, champion is the one with most wins (i.e. first places). If a tie still exists, it is chosen the one with most second places, and so on, until there are no more place to use for compare. Last year another scoring system was proposed but rejected. In it the champion is the one with most wins. If there is tie, champion is the one with most points. If a tie still exists it is proceeded the same way as in the original scoring system, that is comparing number of second, third, forth, and so on, places. You are given the result of all races during the season and you are to determine the champion according to both scoring systems. It is guaranteed, that both systems will produce unique champion. The first line contain integer t ( 1 ≤ t ≤ 20 ), where t is the number of races. After that all races are described one by one. Every race description start with an integer n ( 1 ≤ n ≤ 50 ) on a line of itself, where n is the number of clasified drivers in the given race. After that n lines follow with the classification for the race, each containing the name of a driver. The names of drivers are given in order from the first to the last place. The name of the driver consists of lowercase and uppercase English letters and has length at most 50 characters. Comparing of names should be case-sensetive. Your output should contain exactly two line. On the first line is the name of the champion according to the original rule, and on the second line the name of the champion according to the alternative rule. It is not guaranteed that the same drivers participate in all races. For the championship consider every driver that has participated

Tutorials

Codeforces Beta Round #24 solutions

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
101598 Vladl1313 B July 26, 2010, 1:29 p.m. OK Delphi TESTS 51 30 819200 1500
101435 CherryTree B July 26, 2010, 1:23 p.m. OK Delphi TESTS 51 30 921600 1500
101112 tourist B July 26, 2010, 1:07 p.m. OK Delphi TESTS 51 30 921600 1500
103930 ChaRiL B July 26, 2010, 2:56 p.m. OK Delphi TESTS 51 30 1433600 1500
101607 kuzmichev_dima B July 26, 2010, 1:29 p.m. OK Delphi TESTS 51 30 1433600 1500
102700 ant.ermilov B July 26, 2010, 2:13 p.m. OK Delphi TESTS 51 30 4915200 1500
102645 ErzhanDS B July 26, 2010, 2:10 p.m. OK Delphi TESTS 51 30 4915200 1500
103477 knock-knock B July 26, 2010, 2:41 p.m. OK Delphi TESTS 51 50 1126400 1500
102152 sankear B July 26, 2010, 1:52 p.m. OK Delphi TESTS 51 50 1126400 1500
102762 chavit B July 26, 2010, 2:15 p.m. OK Delphi TESTS 51 50 2867200 1500
103561 kozima B July 26, 2010, 2:44 p.m. OK F# TESTS 51 170 6656000 1500
102975 ksjuchi B July 26, 2010, 2:23 p.m. OK FPC TESTS 51 30 1024000 1500
102517 IwfWcf B July 26, 2010, 2:06 p.m. OK FPC TESTS 51 30 1024000 1500
101619 taras.klaskovsky B July 26, 2010, 1:30 p.m. OK FPC TESTS 51 30 1024000 1500
101271 ChuYuxun B July 26, 2010, 1:15 p.m. OK FPC TESTS 51 30 1024000 1500
102682 igor_kz B July 26, 2010, 2:12 p.m. OK FPC TESTS 51 30 1126400 1500
101616 milchigs B July 26, 2010, 1:29 p.m. OK FPC TESTS 51 30 1228800 1500
101592 l.j.q.light B July 26, 2010, 1:29 p.m. OK FPC TESTS 51 30 1228800 1500
101757 Oryshych B July 26, 2010, 1:35 p.m. OK FPC TESTS 51 30 1331200 1500
101752 190510 B July 26, 2010, 1:35 p.m. OK FPC TESTS 51 30 1331200 1500
102071 sillyboy B July 26, 2010, 1:49 p.m. OK FPC TESTS 51 30 1433600 1500
101615 stubbscroll B July 26, 2010, 1:29 p.m. OK GNU C TESTS 51 30 1638400 1500
103999 qinhanlei B July 26, 2010, 2:57 p.m. OK GNU C++ TESTS 51 30 1331200 1500
103984 bubnov B July 26, 2010, 2:57 p.m. OK GNU C++ TESTS 51 30 1331200 1500
103977 misha_hkl B July 26, 2010, 2:57 p.m. OK GNU C++ TESTS 51 30 1331200 1500
103462 darohh91 B July 26, 2010, 2:41 p.m. OK GNU C++ TESTS 51 30 1331200 1500
103433 Kh.Madi B July 26, 2010, 2:40 p.m. OK GNU C++ TESTS 51 30 1331200 1500
103379 wcao B July 26, 2010, 2:38 p.m. OK GNU C++ TESTS 51 30 1331200 1500
103187 allocator B July 26, 2010, 2:31 p.m. OK GNU C++ TESTS 51 30 1331200 1500
103028 ravi_villuri B July 26, 2010, 2:25 p.m. OK GNU C++ TESTS 51 30 1331200 1500
102863 truongbom B July 26, 2010, 2:19 p.m. OK GNU C++ TESTS 51 30 1331200 1500
102794 etendren B July 26, 2010, 2:16 p.m. OK GNU C++ TESTS 51 30 1331200 1500
103847 naota B July 26, 2010, 2:53 p.m. OK Haskell TESTS 51 50 3174400 1500
101478 tanakh B July 26, 2010, 1:24 p.m. OK Haskell TESTS 51 50 3174400 1500
102198 agus.mw B July 26, 2010, 1:54 p.m. OK Java 6 TESTS 51 60 43008000 1500
101296 Egor B July 26, 2010, 1:17 p.m. OK Java 6 TESTS 51 60 43008000 1500
102798 Mohannad B July 26, 2010, 2:16 p.m. OK Java 6 TESTS 51 60 43008000 1500
101559 mastersobg B July 26, 2010, 1:28 p.m. OK Java 6 TESTS 51 80 42905600 1500
103521 cmaj135 B July 26, 2010, 2:43 p.m. OK Java 6 TESTS 51 80 42905600 1500
102872 mohamed.gaber B July 26, 2010, 2:19 p.m. OK Java 6 TESTS 51 80 43008000 1500
102457 Kolyanich B July 26, 2010, 2:04 p.m. OK Java 6 TESTS 51 80 43008000 1500
103730 o948 B July 26, 2010, 2:49 p.m. OK Java 6 TESTS 51 80 43008000 1500
103925 sam6230i B July 26, 2010, 2:55 p.m. OK Java 6 TESTS 51 80 43008000 1500
103085 KTR B July 26, 2010, 2:27 p.m. OK Java 6 TESTS 51 80 43008000 1500
103498 tanzaku B July 26, 2010, 2:42 p.m. OK Mono C# TESTS 51 110 6041600 1500
101970 Hadi_Asiaie B July 26, 2010, 1:45 p.m. OK Mono C# TESTS 51 110 6041600 1500
102548 fujiyama B July 26, 2010, 2:07 p.m. OK Mono C# TESTS 51 130 6041600 1500
102655 Le-Nika B July 26, 2010, 2:11 p.m. OK MS C++ TESTS 51 30 1331200 1500
104106 19891212 B July 26, 2010, 2:59 p.m. OK MS C++ TESTS 51 30 1331200 1500
103889 hinai B July 26, 2010, 2:54 p.m. OK MS C++ TESTS 51 30 1331200 1500
103861 KiRiN B July 26, 2010, 2:53 p.m. OK MS C++ TESTS 51 30 1331200 1500
103158 z__jj B July 26, 2010, 2:30 p.m. OK MS C++ TESTS 51 30 1331200 1500
102659 MBabin B July 26, 2010, 2:11 p.m. OK MS C++ TESTS 51 30 1331200 1500
102376 yuShaf B July 26, 2010, 2:01 p.m. OK MS C++ TESTS 51 30 1331200 1500
102304 wz12 B July 26, 2010, 1:59 p.m. OK MS C++ TESTS 51 30 1331200 1500
102129 GeLo B July 26, 2010, 1:51 p.m. OK MS C++ TESTS 51 30 1331200 1500
102107 Fcdkbear B July 26, 2010, 1:50 p.m. OK MS C++ TESTS 51 30 1331200 1500
103732 citxx B July 26, 2010, 2:49 p.m. OK Python 2 TESTS 51 60 2764800 1500
103203 Gassa B July 26, 2010, 2:31 p.m. OK Python 2 TESTS 51 60 2764800 1500
102740 johnfn B July 26, 2010, 2:14 p.m. OK Python 2 TESTS 51 60 2764800 1500
101844 mib B July 26, 2010, 1:39 p.m. OK Python 2 TESTS 51 60 2764800 1500
101537 jaindsonvs B July 26, 2010, 1:27 p.m. OK Python 2 TESTS 51 60 2764800 1500
102164 david.a.peter B July 26, 2010, 1:53 p.m. OK Python 2 TESTS 51 60 2969600 1500
102282 biochem_fan B July 26, 2010, 1:58 p.m. OK Ruby TESTS 51 60 4096000 1500

remove filters

Back to search problems