原文:PAT 解题报告 1003. Emergency (25)

. Emergency As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue teams in each c ...

2014-02-27 14:31 1 3561 推荐指数:

查看详情

PAT 甲级 1003 Emergency

https://pintia.cn/problem-sets/994805342720868352/problems/994805523835109376 As an emergency rescue team leader of a city, you are given ...

Tue Sep 18 20:28:00 CST 2018 2 631
PAT乙级 1003. 我要通过!(20)

答案正确”是自动判题系统给出的最令人欢喜的回复。本题属于PAT的“答案正确”大派送 —— 只要读入的字符串满足下列条件,系统就输出“答案正确”,否则输出“答案错误”。 得到“答案正确”的条件是: 1. 字符串中必须仅有P, A, T这三种字符,不可以包含其它字符;2. 任意形如 xPATx ...

Thu Sep 22 01:41:00 CST 2016 5 5018
PAT 解题报告 1010. Radix (25)

1010. Radix (25) Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is "yes ...

Thu Feb 27 23:19:00 CST 2014 3 3227
1003. 我要通过!(20)

“答案正确”是自动判题系统给出的最令人欢喜的回复。本题属于PAT的“答案正确”大派送 —— 只要读入的字符串满足下列条件,系统就输出“答案正确”,否则输出“答案错误”。 得到“答案正确”的条件是: 1. 字符串中必须仅有P, A, T这三种字符,不可以包含其它字符;2. 任意形如 xPATx ...

Thu Dec 08 04:27:00 CST 2016 0 5125
PAT 1001 A+B 解题报告

PAT 1001 A+B 代码链接:传送门 题目链接:传送门 题目简述: 给定两个值a,b; 范围-1000000 <= a, b <= 1000000; 按指定格式输出a+b的结果,例:-99,991 ...

Wed Jan 27 09:34:00 CST 2016 3 1372
pat1001. Battle Over Cities - Hard Version 解题报告

/**题目:删去一个点,然后求出需要增加最小代价的边集合生成连通图思路:prim+最小堆1.之前图中未破坏的边必用,从而把两两之间可互达的点集合 合并成一个点2.求出不同点集合的最短距离,用prim+ ...

Sat Jul 15 10:13:00 CST 2017 0 1336
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM