Codeforces Beta Round 22 (Div. 2 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
22 Codeforces Beta Round 22 (Div. 2 Only) FINISHED False 7200 453999599 June 29, 2010, 3 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3149 ) C System Administrator PROGRAMMING graphs 1700

B"Bob got a job as a system administrator in X corporation. His first task was to connect n servers with the help of m two-way direct connection so that it becomes possible to transmit data from one server to any other server via these connections. Each direct connection has to link two different servers, each pair of servers should have at most one direct connection. Y corporation, a business rival of X corporation, made Bob an offer that he couldn't refuse: Bob was asked to connect the servers in such a way, that when server with index v fails, the transmission of data between some other two servers becomes impossible, i.e. the system stops being connected. Help Bob connect the servers. The first input line contains 3 space-separated integer numbers n, m, v (3 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105, xe2 x80 x890 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105, xe2 x80 x891 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89v xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n), n -- amount of servers, m -- amount of direct connections, v -- index of the server that fails and leads to the failure of the whole system. If it is impossible to connect the servers in the required way, output -1. Otherwise output m lines with 2 numbers each -- description of all the direct connections in the system. Each direct connection is described by two numbers -- indexes of two servers, linked by this direct connection. The servers are numbered from 1. If the answer is not unique, output any."...

Tutorials

Codeforces Beta Round #22 Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
94175 deevrod C June 29, 2010, 3:37 p.m. OK Delphi TESTS 30 60 921600 1700
94775 xtpynx C June 29, 2010, 4:17 p.m. OK Delphi TESTS 30 60 1638400 1700
94995 sankear C June 29, 2010, 4:34 p.m. OK Delphi TESTS 30 60 2048000 1700
94093 JOZHEG C June 29, 2010, 3:31 p.m. OK Delphi TESTS 30 60 2867200 1700
94934 ant.ermilov C June 29, 2010, 4:29 p.m. OK Delphi TESTS 30 60 4915200 1700
94945 mdldml C June 29, 2010, 4:29 p.m. OK Delphi TESTS 30 80 921600 1700
95038 Babanin_Ivan C June 29, 2010, 4:38 p.m. OK Delphi TESTS 30 80 17715200 1700
94975 rhehi C June 29, 2010, 4:32 p.m. OK FPC TESTS 30 50 921600 1700
94781 mavr C June 29, 2010, 4:18 p.m. OK FPC TESTS 30 50 921600 1700
94310 kuzmichev_dima C June 29, 2010, 3:47 p.m. OK FPC TESTS 30 50 921600 1700
94057 ChuYuxun C June 29, 2010, 3:28 p.m. OK FPC TESTS 30 50 921600 1700
94485 alger95 C June 29, 2010, 3:59 p.m. OK FPC TESTS 30 50 1024000 1700
94306 sevenkplus C June 29, 2010, 3:47 p.m. OK FPC TESTS 30 50 1024000 1700
94757 vilcheuski C June 29, 2010, 4:16 p.m. OK FPC TESTS 30 50 2150400 1700
95119 sdryapko C June 29, 2010, 4:46 p.m. OK FPC TESTS 30 50 24985600 1700
95207 sempav C June 29, 2010, 4:54 p.m. OK FPC TESTS 30 60 1433600 1700
94320 kensou C June 29, 2010, 3:48 p.m. OK GNU C++ TESTS 30 60 3379200 1700
95167 kohyatoh C June 29, 2010, 4:51 p.m. OK GNU C++ TESTS 30 80 1331200 1700
94963 tygrysek C June 29, 2010, 4:31 p.m. OK GNU C++ TESTS 30 80 1331200 1700
94816 yuramosk C June 29, 2010, 4:20 p.m. OK GNU C++ TESTS 30 80 1331200 1700
94682 zgmf_x20a C June 29, 2010, 4:11 p.m. OK GNU C++ TESTS 30 80 1331200 1700
94518 BeCase C June 29, 2010, 4:01 p.m. OK GNU C++ TESTS 30 80 1331200 1700
94134 vudduu C June 29, 2010, 3:34 p.m. OK GNU C++ TESTS 30 80 1331200 1700
95078 karpinski C June 29, 2010, 4:41 p.m. OK GNU C++ TESTS 30 80 1740800 1700
94048 Omar_ElAzazy C June 29, 2010, 3:28 p.m. OK GNU C++ TESTS 30 80 1740800 1700
95008 doctorinmit C June 29, 2010, 4:35 p.m. OK GNU C++ TESTS 30 80 1740800 1700
94394 segrey C June 29, 2010, 3:53 p.m. OK Java 6 TESTS 30 130 42905600 1700
95279 Abra C June 29, 2010, 4:59 p.m. OK Java 6 TESTS 30 160 42905600 1700
94463 stef2n C June 29, 2010, 3:58 p.m. OK Java 6 TESTS 30 410 42905600 1700
94562 RosyIsh C June 29, 2010, 4:04 p.m. OK Java 6 TESTS 30 440 42905600 1700
94730 thisguyisnoob C June 29, 2010, 4:14 p.m. OK Java 6 TESTS 30 470 42905600 1700
94442 yoshibo- C June 29, 2010, 3:56 p.m. OK Java 6 TESTS 30 470 42905600 1700
94189 Rotsor C June 29, 2010, 3:38 p.m. OK Mono C# TESTS 30 550 6041600 1700
94882 yudaer C June 29, 2010, 4:25 p.m. OK MS C++ TESTS 30 80 1331200 1700
94811 redox C June 29, 2010, 4:20 p.m. OK MS C++ TESTS 30 80 1740800 1700
94914 AndreyP C June 29, 2010, 4:27 p.m. OK MS C++ TESTS 30 80 1740800 1700
94540 wz12 C June 29, 2010, 4:03 p.m. OK MS C++ TESTS 30 80 1740800 1700
95026 Jens C June 29, 2010, 4:36 p.m. OK MS C++ TESTS 30 80 2662400 1700
94551 Ministr C June 29, 2010, 4:03 p.m. OK MS C++ TESTS 30 80 10240000 1700
94977 Parhomets C June 29, 2010, 4:32 p.m. OK MS C++ TESTS 30 90 1331200 1700
94966 blackperl C June 29, 2010, 4:31 p.m. OK MS C++ TESTS 30 90 1331200 1700
94950 VolodymyrK C June 29, 2010, 4:30 p.m. OK MS C++ TESTS 30 90 1331200 1700
95023 liuyubobobo C June 29, 2010, 4:36 p.m. OK MS C++ TESTS 30 90 1740800 1700
94421 insane C June 29, 2010, 3:55 p.m. OK Python 2 TESTS 30 330 4608000 1700
95092 DNNX C June 29, 2010, 4:43 p.m. OK Ruby TESTS 30 1010 6144000 1700

remove filters

Back to search problems