- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 poj1328贪心
Radar InstallationTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 76566 Accepted: 17139DescriptionAssume the coasting is an infinite straight line. Land
2016-08-11 21:49:24 460
原创 poj2376Cleaning Shifts_贪心
Cleaning ShiftsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 17935 Accepted: 4569DescriptionFarmer John is assigning some of his N (1 <= N <= 25,000)
2016-08-05 00:22:43 284
原创 poj3253Fence Repair解法之贪心
Fence RepairTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 39794 Accepted: 12979DescriptionFarmer John wants to repair a small length of the fence arou
2016-08-04 22:46:58 301
原创 poj3069贪心
Saruman's ArmyTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7709 Accepted: 3941DescriptionSaruman the White must lead his army along a straight path
2016-08-04 20:19:58 304
原创 scanf("%c")和getchar
1.scanf("%c")scanf等待回车输入后,准确说是'\n'输入后,从缓冲区中读取数据,称为等待回车输入;这也是我们很多次输入数据要按回车键的原因。scanf读取数据时,简单来说分为两种一种是读取字符scanf("%c"),由于tab,空格,和回车都有自己对应的ascaii码,tab为9,空格为32,回车为10,所以输入数据时要谨防这些间隔符被当成字符输入;一种是输
2016-08-03 20:58:36 4606 2
原创 poj3617_简单贪心
Best Cow LineTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 18790 Accepted: 5228DescriptionFJ is about to take his N (1 ≤ N ≤ 2,000) cows to the annual
2016-08-03 20:04:42 365
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人