![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PAT
MAR_Alviss
脚着AJ屐,身着品如衣
展开
-
PAT 甲级 1013. Battle Over Cities
1013. Battle Over Cities (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue It is vitally important to have all the原创 2017-06-29 22:03:49 · 303 阅读 · 0 评论 -
pat 甲级 1003 Emergency
1003. Emergency (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue As an emergency rescue team leader of a city, yo原创 2017-05-30 21:49:11 · 296 阅读 · 0 评论 -
PAT 甲级 1007. Maximum Subsequence Sum
1003. Emergency (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue As an emergency rescue team leader of a city, yo原创 2017-06-27 21:46:38 · 237 阅读 · 0 评论 -
PAT 甲级 1010. Radix
Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is "yes", if 6 is a decimal number and 110 is a binary number. Now for any pair of positive原创 2017-06-27 21:53:45 · 272 阅读 · 0 评论 -
1018. Public Bike Management (30)
题目说明:有公共自行车网,从原点0出发到目标点sp,要把所有点的自行车数都置为half-full,找到最优路径,优先级依次为:路径长度最短,send最少,back最少。 思路:最短路加dfs求最优解 我先附上过了的代码,这是我在错误的思路上做了好久没全对最后妥协查了题解的代码 #include using namespace std; const int M = 501; const int原创 2017-07-29 20:46:55 · 318 阅读 · 0 评论 -
1060. Are They Equal (25)
点击打开题目链接这道题我认为很考验耐性,不审题想满分很难说,直接讲坑点。1、0 是 0.000*10^0,0.000也是02、00123.456这种有前导零的。3、整数4、k可以是负数附上烂代码#include<cstdio> #include<cstring> #include<algorithm> #include<vector> #includ...原创 2018-03-02 19:55:11 · 265 阅读 · 0 评论