首页 > 其他
1014. Waiting in Line (30)
排队模型先把每个窗口的黄线排满如果还有人的话,前面完事儿一个插入一个。最后把每个队伍的人服务完。时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose a bank has N windows open for servic...
分类:其他   时间:2015-12-06 11:24:45    收藏:0  评论:0  赞:0  阅读:199
干式双离合和湿式双离合的优缺点
前不久7速DSG双离合变速器的先天不足,所引发的传档抖动、换档异响、跑了一段时间后,警告灯突然报警,然后车便自动停下来等等事故,也让许多选择了这种变速器的消费者连连喊冤。大家都觉得自己变成了大众不成熟的干式变速箱的“小白鼠”,于是纷纷在网上发帖来声讨这种变速器的不合理之处。□7速DSG双离合变速箱可...
分类:其他   时间:2015-12-06 11:24:35    收藏:0  评论:0  赞:0  阅读:451
1036. Boys vs Girls (25)
This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female students.Inpu...
分类:其他   时间:2015-12-06 11:24:25    收藏:0  评论:0  赞:0  阅读:191
1006. Sign In and Sign Out (25)
注意:1,结构体的应用。2,向量的应用,#include vectorp; 用于不定数目的时候的数组创建3,cin 和cout的使用,#include4,字符串的使用 用#include 可以使用string s;时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Stan...
分类:其他   时间:2015-12-06 11:24:15    收藏:0  评论:0  赞:0  阅读:187
代码英语之三
SQLite Open Helper SQLite 打开助手 使用SQLite数据库时,需要继承它,它是个抽象方法================================================================super context string C...
分类:其他   时间:2015-12-06 11:23:55    收藏:0  评论:0  赞:0  阅读:123
第十三周 十一章十二章学习
第11章 网络编程614网络应用随处可见。任何时候你浏览Web、发送Email或者弹出一个X window,你就正在使用一个网络应用程序。有趣的是,所有的网络应用都是基于相同的基本编程模型有着相似的整体逻辑结构,并且依赖相同的编程接口。网络应用依赖于很多在系统研究中已经学习过的概念,例如,进程、信号...
分类:其他   时间:2015-12-06 11:23:35    收藏:0  评论:0  赞:0  阅读:314
1011. World Cup Betting (20)
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueWith the 2010 FIFA World Cup running, football fans the world over were becoming increasingl...
分类:其他   时间:2015-12-06 11:23:25    收藏:0  评论:0  赞:0  阅读:214
Effective Objective-C 2.0 — 第四条:多用类型常量,少用#define预处理指令
第四条:多用类型常量,少用#define预处理指令 使用#define 预处理的坏处:定义出来的常量没有类型信息,编译器只是会在编译前据此执行查找与替换操作。即使有人重新定义了常量值,编译器也不会产生警告信息,这将导致应用程序中的常量值不一致。使用例如:sta...
分类:其他   时间:2015-12-06 11:23:05    收藏:0  评论:0  赞:0  阅读:161
1032. Sharing (25)
时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueTo store English words, one method is to use linked lists and store a word letter by letter....
分类:其他   时间:2015-12-06 11:22:35    收藏:0  评论:0  赞:0  阅读:266
1018. Public Bike Management (30)
比较复杂的dfs 注意算好到底需要send多少take back多少时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThere is a public bike service in Hangzhou City which prov...
分类:其他   时间:2015-12-06 11:22:15    收藏:0  评论:0  赞:0  阅读:267
String创建的小疑惑
String对象一经创建,不可修改。.String对象存在 堆或者String池中(也就是静态方法区中个人感觉)1.String s=“abc” 在String池中寻找是否有“abc”对象,没有就创建一个,有的话不创建 2.String s=new String(“abc”) 先在堆中创建一个Str...
分类:其他   时间:2015-12-06 11:22:05    收藏:0  评论:0  赞:0  阅读:168
1008. Elevator (20)
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThe highest building in our city has only one elevator. A request list is made up with N pos...
分类:其他   时间:2015-12-06 11:21:35    收藏:0  评论:0  赞:0  阅读:183
1030. Travel Plan (30)
dfs使用vector保存最短路径时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA traveler's map gives the distances between cities along the highways, tog...
分类:其他   时间:2015-12-06 11:21:25    收藏:0  评论:0  赞:0  阅读:116
我的职业与事业:创作小而美的产品服务
我的职业与事业:运用逻辑设施和人文思想创作帮助人们处理问题、心灵快乐的产品服务。
分类:其他   时间:2015-12-06 11:21:05    收藏:0  评论:0  赞:0  阅读:261
1012. The Best Rank (25)
To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mat...
分类:其他   时间:2015-12-06 11:20:55    收藏:0  评论:0  赞:0  阅读:226
初遇ACM之A+B问题
主要是熟悉下ACM格式。。。1. http://acm.hdu.edu.cn/showproblem.php?pid=1089#includeusing namespace std;int main(){ int a,b; while(cin>>a>>b) coutusin...
分类:其他   时间:2015-12-06 11:20:45    收藏:0  评论:0  赞:0  阅读:235
斯坦福大学机器学习课程原始讲义(含公开课视频) (转载)
http://blog.csdn.net/v_july_v/article/details/7624837斯坦福大学机器学习课程原始讲义 本资源为斯坦福大学机器学习课程原始讲义,为Andrew Ng所讲,共计20个PDF,基本涵盖了机器学习中一些重要的模型、算法、概念,此次一并压缩上传分享给大家,....
分类:其他   时间:2015-12-06 11:20:25    收藏:0  评论:0  赞:0  阅读:160
1020. Tree Traversals (25)
根据两种遍历方式建立二叉树层遍历二叉树时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose that all the keys in a binary tree are distinct positive integers...
分类:其他   时间:2015-12-06 11:20:05    收藏:0  评论:0  赞:0  阅读:166
1025. PAT Ranking (25)
尽量避免二次循环,很容易运行超时。该算法用printf 用时30ms 使用cout 运行75ms,只差这一句话。所以输出很多的时候不应该使用coutg++ 编译器使用 strcmp 一定要引用 string.h 头Programming Ability Test (PAT) is organized...
分类:其他   时间:2015-12-06 11:19:45    收藏:0  评论:0  赞:0  阅读:215
1015. Reversible Primes (20)
1,不同基底的反数算法,2,输入 cin 使用A reversible prime in any number system is a prime whose "reverse" in that number system is also a prime. For example in the de...
分类:其他   时间:2015-12-06 11:19:35    收藏:0  评论:0  赞:0  阅读:162
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!