摘要:
http://poj.org/problem?id=1459 题意:多组测试数据,每组测试数据给出N,Np,Nc,M。N代表结点数量,M代表边的数量,Np代表结点中电站的数量(只产电,不耗电),Nc代表消费者数量(只耗电,不产电),其他结点代表中转站(不产电,不耗电)。 接着M组(u,v)w数据,代 阅读全文
摘要:
学习出https://blog.csdn.net/sunny_hun/article/details/80627351 题:poj1325 #include<iostream> #include<cstring> #include<cstdio> #include<algorithm> using 阅读全文