随笔分类 -  [4]-题解

摘要:白书上图论例题2 题目大意是 M*N个格子 #不能走 S是起点 T是终点 上北下南左西右东 一开始在S,朝向北, 在每一个格子 可以左转90度 或者右转90度 或者朝向走1格 问从起点到终点 计算重复格子 走5的整数倍个格子到终点 不限制最后朝向 最短时间是多少 就像书上讲的那样 每个点 拆成20个 阅读全文
posted @ 2015-11-06 00:52 abgnwl 阅读(127) 评论(0) 推荐(0)
摘要:B. Chip 'n Dale Rescue Rangers time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A team of 阅读全文
posted @ 2015-10-26 16:58 abgnwl 阅读(176) 评论(0) 推荐(0)
摘要:H. Tourist Guide time limit per test 2 seconds memory limit per test 512 megabytes input standard input output standard output It is not that easy to 阅读全文
posted @ 2015-10-25 16:00 abgnwl 阅读(177) 评论(0) 推荐(1)
摘要:zhx's contest Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1640 Accepted Submission(s): 531 P 阅读全文
posted @ 2015-10-22 19:54 abgnwl 阅读(93) 评论(0) 推荐(0)
摘要:G. Hiring time limit per test 4 seconds memory limit per test 512 megabytes input standard input output standard output The head of human resources de 阅读全文
posted @ 2015-10-19 21:26 abgnwl 阅读(148) 评论(0) 推荐(0)
摘要:D. Duff in Beach time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Duff in Beach time l 阅读全文
posted @ 2015-10-17 21:29 abgnwl 阅读(179) 评论(0) 推荐(0)
摘要:D. Lizard Era: Beginning time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output In the game Liz 阅读全文
posted @ 2015-10-17 21:15 abgnwl 阅读(219) 评论(0) 推荐(0)
摘要://凸包+最远点对 #include #include #include #include #include #include #include using namespace std; const double eps = 1e-8; int cmp(double x) { if(fabs(x)0) return 1; return -1; } inline ... 阅读全文
posted @ 2015-10-13 20:51 abgnwl 阅读(143) 评论(0) 推荐(0)
摘要:Find a path Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 930 Accepted Submission(s): 410 Prob 阅读全文
posted @ 2015-10-03 13:50 abgnwl 阅读(87) 评论(0) 推荐(0)
摘要:XYZZY Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3608 Accepted Submission(s): 1018 Problem 阅读全文
posted @ 2015-09-21 10:30 abgnwl 阅读(124) 评论(0) 推荐(0)
摘要:D. Tanya and Password time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output While dad was at w 阅读全文
posted @ 2015-09-07 14:19 abgnwl 阅读(232) 评论(0) 推荐(0)
摘要:D. Tree Requests time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Tree Requests time l 阅读全文
posted @ 2015-08-15 16:42 abgnwl 阅读(133) 评论(0) 推荐(0)
摘要:Problem 2140 Forever 0.5 Problem Description Given an integer N, your task is to judge whether there exist N points in the plane such that satisfy the 阅读全文
posted @ 2015-05-02 09:25 abgnwl 阅读(102) 评论(0) 推荐(0)