题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1593找到二者角速度相等时水中人的R,在此之前二者保持在一条直线上,之后水中的人沿直线到岸边S点匀速运动,岸上的人也匀速圆周运动到S点; 1 #include 2 #include 3 #include ... Read More
posted @ 2015-04-14 23:34 西瓜不懂柠檬的酸 Views(123) Comments(0) Diggs(0)
题目链接http://acm.hdu.edu.cn/showproblem.php?pid=1253广搜题 1 #include 2 #include 3 #include 4 #include 5 #define inf 0x6ffffff 6 #define N 55 7 using n... Read More
posted @ 2015-04-14 23:30 西瓜不懂柠檬的酸 Views(229) Comments(0) Diggs(0)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2612广搜题注意:可能存在一个@两人都不能达到;3 3Y#@.M#@.. 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include... Read More
posted @ 2015-04-14 16:31 西瓜不懂柠檬的酸 Views(220) Comments(0) Diggs(0)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1873运用优先队列写就行了 1 #include 2 #include 3 #include 4 #include 5 #define N 2100 6 using namespace std; 7 8... Read More
posted @ 2015-04-14 14:16 西瓜不懂柠檬的酸 Views(144) Comments(0) Diggs(0)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1042想一下10000!一定非常大结果不能一次性输出,所以我们可以采用数组来保存结果;eg:100!=100*99*98*...*2*1;我们可以让9900*98...可以转换成大整数乘小整数;结果假如是... Read More
posted @ 2015-03-30 21:15 西瓜不懂柠檬的酸 Views(114) Comments(0) Diggs(0)
基础题:1000、1001、1004、1005、1008、1012、1013、1014、1017、1019、1021、1028、1029、1032、1037、1040、1048、1056、1058、1061、1070、1076、1089、1090、1091、1092、1093、1094、1095、1 Read More
posted @ 2015-03-30 16:39 西瓜不懂柠檬的酸 Views(412) Comments(0) Diggs(0)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1231 1 #include 2 #include 3 #include 4 #include 5 #define N 10010 6 using namespace std; 7 int main() ... Read More
posted @ 2015-03-29 20:46 西瓜不懂柠檬的酸 Views(146) Comments(0) Diggs(0)
在一张地图上建立碉堡(X),要求每行没列不能放两个,除非中间有强挡着。求最多能放多少个碉堡#include#include#include#include#define N 5using namespace std;int n,ans;char maps[N][N];int judge(int x,... Read More
posted @ 2015-03-17 15:48 西瓜不懂柠檬的酸 Views(145) Comments(0) Diggs(0)
Oil Deposits Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) ... Read More
posted @ 2015-03-17 13:47 西瓜不懂柠檬的酸 Views(116) Comments(0) Diggs(0)
http://acm.hdu.edu.cn/showproblem.php?pid=1313考查大整数与小整数相乘 1 #include 2 #include 3 #include 4 #include 5 #define N 70 6 using namespace std; 7 int main... Read More
posted @ 2015-03-16 21:03 西瓜不懂柠檬的酸 Views(159) Comments(0) Diggs(0)
levels of contents