Implementation of Edmonds Karp algorithm that calculates maxFlow of graph. Input: For each test case, the first line contains the number of vertices (n) and the number of arcs (m). Then, there exist m lines, one for each arc (source vertex, ending vertex and arc weight, separated by a space). The nodes are numbered from 1 to n. The node 1 and node n should be in different sets. There are no more than 30 arcs and 15 nodes. The arc weights vary between 1 and 1 000 000. Output: The output is a single line for each case, with the corresponding minimum size cut. Example: Input: 7 11 1 2 3 1 4 3 2 3 4 3 1 3 3 4 1 3 5 2 4 6 6 4 5 2 5 2 1 5 7 1 6 7 9 Output: 5
标签: Implementation calculates algorithm Edmonds
上传时间: 2014-01-04
上传用户:kiklkook
sd card input,output source program
标签: program output source input
上传时间: 2017-08-29
上传用户:懒龙1988
read file input (java source code)
上传时间: 2013-12-01
上传用户:dapangxie
Data logger Serial Communication function based on new Renesus microcontroller. This module has been tested on the renesus develop board with RS232 cable.
标签: microcontroller Communication function Renesus
上传时间: 2013-12-26
上传用户:ZJX5201314
Serial Communication Program for 8051
标签: Communication Program Serial 8051
上传时间: 2013-12-29
上传用户:小眼睛LSL
here is a PCB design of 485 - serial Bus Converter ... its totally isolated ... use orcade guyz ...
标签: Converter isolated totally design
上传时间: 2017-09-04
上传用户:huannan88
C++ source code for accesing serial memory chip with atmega16 microcontroler.
标签: microcontroler accesing source atmega
上传时间: 2014-08-25
上传用户:CHINA526
C++ source code for serial comunication with LCD using ATMEGA16 microcontroler.
标签: microcontroler comunication source ATMEGA
上传时间: 2013-12-28
上传用户:李彦东
Cable to Touch panel serial port and a PLC by using MPI.
上传时间: 2017-09-06
上传用户:helmos
Show a program built in visual that works for obtain a serial inpunt and output.
标签: program obtain inpunt output
上传时间: 2017-09-06
上传用户:gyq