会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Thinking in 毛毛
博客园
首页
联系
管理
订阅
上一页
1
···
10
11
12
13
14
15
16
17
18
···
21
下一页
2015年2月2日
1083. List Grades (25)
摘要: http://www.patest.cn/contests/pat-a-practise/1083 1 #include 2 3 #include 4 #include 5 using namespace std; 6 7 struct stu 8 { 9 char name[11]...
阅读全文
posted @ 2015-02-02 07:18 小爷
阅读(153)
评论(0)
推荐(0)
2015年2月1日
1037. Magic Coupon (25)
摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 int cmp(int a,int b) 8 { 9 return a v1;19 for(i=0;i v2;30 ...
阅读全文
posted @ 2015-02-01 08:22 小爷
阅读(195)
评论(0)
推荐(0)
1075. PAT Judge (25)
摘要: 1 #include 2 #include 3 using namespace std; 4 5 struct MyStruct 6 { 7 int grade[6]; 8 int Done[6]; 9 int Perfect; 10 int...
阅读全文
posted @ 2015-02-01 08:14 小爷
阅读(226)
评论(0)
推荐(0)
1062 Talent and Virtue (25)
摘要: 1 /* 2 3 4 L (>=60), the lower bound of the qualified grades -- 5 that is, only the ones whose grades of talent and virtue are both not below...
阅读全文
posted @ 2015-02-01 08:11 小爷
阅读(346)
评论(1)
推荐(1)
1055. The World's Richest (25)
摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 struct MyStruct 8 { 9 char name[9];10 int age,worth;11 };12 13 int ...
阅读全文
posted @ 2015-02-01 08:09 小爷
阅读(265)
评论(0)
推荐(0)
1028. List Sorting (25)
摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 struct MyStruct 8 { 9 char ID[7];10 char name[9];11 int grade;12 };13 14 ...
阅读全文
posted @ 2015-02-01 08:08 小爷
阅读(170)
评论(0)
推荐(0)
电灯小游戏
摘要: 1 unit Unit6; 2 3 interface 4 5 uses 6 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 7 Dialogs, bsSkinData,...
阅读全文
posted @ 2015-02-01 07:47 小爷
阅读(311)
评论(0)
推荐(0)
最短路径问题分数: 3.5
摘要: 时间限制:1 秒 内存限制:32 兆 特殊判题: 否 提交:62 解决: 28 时间限制:1 秒 内存限制:32 兆 特殊判题: 否 提交:62 解决: 28 标签 最短路径 题目描述 给你n个点,m条无向边,每条边都有长度d和花费p,给你起点s终点t,要求输出起点到终点的最短距离及其花费,如果最短
阅读全文
posted @ 2015-02-01 07:45 小爷
阅读(243)
评论(0)
推荐(0)
最短路
摘要: 时间限制:1 秒 内存限制:128 兆 特殊判题:否 提交:1678 解决:816 题目描述: 在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们的工作人员把上百件的衣服从商店运回到赛场的时候,却是非常累的!所以现在他们想要寻找最短的从商店到赛场的路线,你可以帮助他们
阅读全文
posted @ 2015-02-01 07:44 小爷
阅读(141)
评论(0)
推荐(0)
最短路径问题
摘要: 时间限制:1 秒内存限制:32 兆特殊判题:否提交:5480解决:1757题目描述:给你n个点,m条无向边,每条边都有长度d和花费p,给你起点s终点t,要求输出起点到终点的最短距离及其花费,如果最短距离有多条路线,则输出花费最少的。输入:输入n,m,点的编号是1~n,然后是m行,每行4个数 a,b,...
阅读全文
posted @ 2015-02-01 07:42 小爷
阅读(197)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
21
下一页