AIM Tech Round 3 (Div. 1)

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
708 AIM Tech Round 3 (Div. 1) FINISHED False 7200 304349123 Aug. 24, 2016, 4:35 p.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 883 ) D Incorrect Flow PROGRAMMING flows 2900

At the entrance examination for the magistracy of the MSU Cyber-Mechanics Department Sasha got the question about Ford-Fulkerson algorithm. He knew the topic perfectly as he worked with it many times on programming competition. As the task for the question he was given a network with partially build flow that he had to use in order to demonstrate the workflow of the algorithm. He quickly finished to write the text and took a look at the problem only to understand that the given network is incorrect! Suppose you are given a directed graph G ( V , E ) with two special nodes s and t called source and sink. We denote as n the number of nodes in the graph, i.e. n = | V | and m stands for the number of directed edges in the graph, i.e. m = | E | . For the purpose of this problem we always consider node 1 to be the source and node n to be the sink. In addition, for each edge of the graph e we define the capacity function c ( e ) and flow function f ( e ) . Function f ( e ) represents the correct flow if the following conditions are satisfied: For each edge the flow is non-negative and does not exceed capacity c ( e ) , i.e. 0 ≤ f ( e ) ≤ c ( e ) . For each node , that is not source or sink ( v ≠ s and v ≠ t ) the sum of flows of all edges going in v is equal to the sum of the flows among all edges going out from v . In other words, there is no flow stuck in v . It was clear that as the exam was prepared last night and there are plenty of mistakes in the tasks. Sasha asked one of the professors to fix the network or give the correct task, but the reply was that the magistrate student should be able to fix the network himself. As the professor doesn't want the task to become easier, he asks Sasha to fix the network in a such way that the total number of changes is minimum possible. Sasha is not allowed to remove edges, add new ones or reverse the direction of existing edges. The only thing he is able to do is to change capacity function c ( e ) and flow function f

Tutorials

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
29916409 vjudge3 D Aug. 30, 2017, 11:56 a.m. OK GNU C++ TESTS 95 15 0 2900
20340465 Yukimai D Sept. 2, 2016, 12:28 p.m. OK GNU C++ TESTS 95 15 0 2900
20776924 lichang D Sept. 20, 2016, 1:29 p.m. OK GNU C++ TESTS 95 15 102400 2900
20267703 hwizard D Aug. 30, 2016, 1:48 a.m. OK GNU C++ TESTS 95 15 102400 2900
29936635 mxh1999 D Aug. 31, 2017, 6:59 a.m. OK GNU C++ TESTS 95 15 307200 2900
20790032 kiiiiii D Sept. 21, 2016, 8:09 a.m. OK GNU C++ TESTS 95 15 307200 2900
20323837 xuhaike D Sept. 1, 2016, 2:11 p.m. OK GNU C++ TESTS 95 15 307200 2900
20490786 Dylans D Sept. 10, 2016, 5:59 a.m. OK GNU C++ TESTS 95 15 512000 2900
20439458 Totoro D Sept. 7, 2016, 2:56 p.m. OK GNU C++ TESTS 95 15 1638400 2900
23880813 vjudge3 D Jan. 16, 2017, 11:54 a.m. OK GNU C++ TESTS 95 15 1945600 2900
22650966 Ragdoll D Dec. 2, 2016, 3:06 a.m. OK GNU C++11 TESTS 95 15 0 2900
20821671 krijgertje D Sept. 22, 2016, 3:53 p.m. OK GNU C++11 TESTS 95 15 0 2900
20570497 cylixstar D Sept. 13, 2016, 3:49 p.m. OK GNU C++11 TESTS 95 15 0 2900
20356919 Thost D Sept. 3, 2016, 9:05 a.m. OK GNU C++11 TESTS 95 15 0 2900
20305749 Sakura D Aug. 31, 2016, 2:47 p.m. OK GNU C++11 TESTS 95 15 0 2900
30131086 SandTea D Sept. 6, 2017, 12:23 p.m. OK GNU C++11 TESTS 95 15 102400 2900
22270118 ToTLeS D Nov. 16, 2016, 2:35 p.m. OK GNU C++11 TESTS 95 15 102400 2900
21001350 koratel D Sept. 29, 2016, 7:10 p.m. OK GNU C++11 TESTS 95 15 102400 2900
20671968 kmjp D Sept. 17, 2016, 3:12 a.m. OK GNU C++11 TESTS 95 15 102400 2900
20614385 Roberio D Sept. 14, 2016, 12:49 p.m. OK GNU C++11 TESTS 95 15 102400 2900
20790078 Steven_Wu D Sept. 21, 2016, 8:12 a.m. OK GNU C++14 TESTS 95 15 0 2900
32064695 devanshg27 D Nov. 4, 2017, 10:28 p.m. OK GNU C++14 TESTS 95 15 204800 2900
21057501 myown1209 D Oct. 1, 2016, 5:44 a.m. OK GNU C++14 TESTS 95 15 204800 2900
21057417 myown1209 D Oct. 1, 2016, 5:39 a.m. OK GNU C++14 TESTS 95 15 204800 2900
21056806 myown1209 D Oct. 1, 2016, 5:08 a.m. OK GNU C++14 TESTS 95 15 204800 2900
20776786 Hermera D Sept. 20, 2016, 1:23 p.m. OK GNU C++14 TESTS 95 15 204800 2900
20405279 Laakeri D Sept. 5, 2016, 5:56 p.m. OK GNU C++14 TESTS 95 15 204800 2900
27733015 LoveYayoi D June 12, 2017, 7:23 a.m. OK GNU C++14 TESTS 95 15 409600 2900
20370658 Rafiki53 D Sept. 3, 2016, 8:58 p.m. OK GNU C++14 TESTS 95 15 921600 2900
31381407 ronghuabin D Oct. 16, 2017, 4:17 a.m. OK GNU C++14 TESTS 95 15 1945600 2900
35866741 CQzhangyu D March 3, 2018, 2:41 a.m. OK GNU C++17 TESTS 95 15 3481600 2900
66811504 alan_cty D Dec. 14, 2019, 2:55 a.m. OK GNU C++17 TESTS 95 31 0 2900
66576551 zzpc D Dec. 10, 2019, 7:36 a.m. OK GNU C++17 TESTS 95 31 0 2900
64355550 Elegia D Nov. 6, 2019, 10:04 a.m. OK GNU C++17 TESTS 95 31 102400 2900
68473878 CMXRYNP D Jan. 10, 2020, 4:08 a.m. OK GNU C++17 TESTS 95 31 204800 2900
67403645 AprilGrimoire D Dec. 22, 2019, 5:22 a.m. OK GNU C++17 TESTS 95 31 204800 2900
65433397 jiangly D Nov. 20, 2019, 12:42 p.m. OK GNU C++17 TESTS 95 31 204800 2900
51427746 Shayan.P D March 17, 2019, 8:29 p.m. OK GNU C++17 TESTS 95 31 204800 2900
56386394 89264270823 D July 1, 2019, 10:44 a.m. OK GNU C++17 TESTS 95 31 409600 2900
42484438 vjudge5 D Sept. 5, 2018, 8:07 a.m. OK GNU C++17 TESTS 95 31 1638400 2900
20203051 IgorKoval D Aug. 27, 2016, 11 p.m. OK Java 8 TESTS 95 124 20480000 2900
20138526 mmaxio D Aug. 24, 2016, 9:47 p.m. OK Java 8 TESTS 95 139 20275200 2900
20139257 AlexFetisov D Aug. 24, 2016, 11:03 p.m. OK Java 8 TESTS 95 139 20480000 2900
20130075 niyaznigmatul D Aug. 24, 2016, 6:13 p.m. OK Java 8 TESTS 95 139 20480000 2900
20972221 DEGwer D Sept. 28, 2016, 3:45 p.m. OK MS C++ TESTS 95 15 102400 2900
20395272 Michael D Sept. 5, 2016, 7:43 a.m. OK MS C++ TESTS 95 31 0 2900
50052457 vjudge3 D Feb. 17, 2019, 8:43 a.m. OK MS C++ TESTS 95 31 20070400 2900
49856383 vjudge5 D Feb. 13, 2019, 7:24 a.m. OK MS C++ TESTS 95 46 512000 2900

remove filters

Back to search problems