码迷,mamicode.com
首页 >  
搜索关键字:csu 1328 近似回文词    ( 645个结果
CSU1584: Train Passengers
Description Input Output Sample Input 1 2 0 1 1 1 0 0 Sample Output possible 题意:给出火车容量c,站点数n 对于每个站点给出上车人数,下车人数和等待人数 问最后是否能按要求完成旅途 思路:这道题理解...
分类:其他好文   时间:2015-04-26 18:23:19    阅读次数:136
csu 1577: Dice Game
#include #include #include using namespace std; double sumg,sume; int ga1,gb1,ga2,gb2,ea1,eb1,ea2,eb2; int main () { while (scanf("%d%d%d%d",&ga1,&gb1,&ga2,&gb2)!=EOF) { ...
分类:其他好文   时间:2015-04-26 18:21:09    阅读次数:124
csu 1578: Opening Ceremony(DP)
#include #include #include using namespace std; int a[100005]; int dp[100005]; int main() { int n; while(scanf("%d",&n)==1) { for(int i=1;i<=n;i++) sc...
分类:其他好文   时间:2015-04-26 18:20:19    阅读次数:137
CSU 1335: 高桥和低桥 (二分查找,树状数组)
Description有个脑筋急转弯是这样的:有距离很近的一高一低两座桥,两次洪水之后高桥被淹了两次,低桥却只被淹了一次,为什么?答案是:因为低桥太低了,第一次洪水退去之后水位依然在低桥之上,所以不算“淹了两次”。举例说明:假定高桥和低桥的高度分别是5和2,初始水位为1第一次洪水:水位提高到6(两个...
分类:编程语言   时间:2015-04-26 08:05:49    阅读次数:199
csuoj 1335: 高桥和低桥
http://acm.csu.edu.cn/OnlineJudge/problem.php?id=13351335: 高桥和低桥Time Limit:1 SecMemory Limit:128 MBSubmit:802Solved:221[Submit][Status][Web Board]Desc...
分类:其他好文   时间:2015-04-25 21:00:28    阅读次数:218
模拟 CSU 1562 Fun House
题目传送门 1 /* 2 题意:光线从 '*' 发射,遇到 '/' 或 '\' 进行反射,最后射到墙上,将 'x' 变成 '&' 3 模拟:仔细读题,搞清楚要做什么,就是i,j的移动,直到撞到墙,模拟一下一次AC,不要被题目吓怕了:) 4 */ 5 #include 6...
分类:其他好文   时间:2015-04-20 22:17:49    阅读次数:143
湖南多校对抗赛(csu 1560)
简单的bfs搜索题,对每个初始的水滴依次扩展,当达到规定步数时跳出。这题还是有坑点的,对于每个初始的水滴,已经访问过的位置不再访问,但是对于不同的水滴,别的水滴已经访问过的,对于当前水滴来说可能还要访问,才能使扩展的范围最大。#include#include#include#include#incl...
分类:其他好文   时间:2015-04-20 20:36:08    阅读次数:135
CSU 1561-(More) Multiplication
题目链接:http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1561 题面: 1561: (More) Multiplication Time Limit: 1 Sec  Memory Limit: 128 MB Submit: 180  Solved: 95 [Submit][Status][Web Board] ...
分类:其他好文   时间:2015-04-20 09:36:29    阅读次数:148
CSU1563 组合数学
C - Lexicography Time Limit:1000MS     Memory Limit:131072KB     64bit IO Format:%lld & %llu Submit Status Practice CSU 1563 Description An anagram of a string is any string that c...
分类:其他好文   时间:2015-04-20 01:52:44    阅读次数:152
湖南多校对抗赛(2015.4.6)CSU 1561~1569 题解
A:点击打开链接 CSU 1561 (More)Multiplication 题意:把两个数的乘积每个位置的结果填充上去。 注意这个矩阵最大是1e8,所以不能开数组。 模拟题 #include #include #include #include #include #include #include #include #include #include usi...
分类:其他好文   时间:2015-04-19 13:16:53    阅读次数:169
645条   上一页 1 ... 47 48 49 50 51 ... 65 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!