摘要:
http://poj.org/problem?id=1661 1 #include 2 #include 3 #include 4 #include 5 #include 6 #define INF 100000000 7 using namespace std; 8 9 int n,m,... 阅读全文
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=1676题意:有n个城市和m条路,一辆车要从s城市到e城市,而且这辆车能够乘的油的容量为cap,每走1单位距离就耗费1单位油。每个城市都有加油站,但是每个加油站的价格不同。让你判断这辆车能否到达城市e,如果能够达到,... 阅读全文
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=1023 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 using namespace ... 阅读全文
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=1023 1 //package dhsjdhjkh; 2 3 import java.util.*; 4 import java.io.*; 5 import java.math.BigInteger; 6 7... 阅读全文