码迷,mamicode.com
首页 >  
搜索关键字:基础题    ( 646个结果
Bzoj1036 树链剖分基础题
Bzoj1036 树的统计 树链剖分的模板题 不需要求LCA的简单易懂版本...
分类:其他好文   时间:2014-07-22 23:02:33    阅读次数:305
C++ Primer(中文第五版)学习笔记
递增(++)和递减(--)运算符递增和递减运算符有两种形式:前置版本和后置版本,经常在面试的基础题中出现。前置版本:先将运算对象加1(或减1),然后将改变后的对象作为求值结果;后置版本:也将运算对象加1(或减1),但是求值结果是运算对象改变之前的那个值得副本,我们通过下面的代码比较:int i = ...
分类:编程语言   时间:2014-05-08 09:09:40    阅读次数:459
Pat(Advanced Level)Practice--1060(Are They Equal)
Pat1060代码 题目描述: If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both saved as 0.123*105 with simple chopping. Now given...
分类:其他好文   时间:2014-05-08 02:07:49    阅读次数:452
Noip2008提高组总结
Noip2008前三题是基础题,仔细一些都是可以AC的,第四题的证明很巧妙,但是看懂后代码其实很简单,感觉在这些大家都不屑去做的简单题中又学到了不少,四道题代码基本都是十几二十行就够了,渐渐感觉到,比代码和算法更重要的是思想与建模,觉得下阶段应该多注意培养自己的建模能力。T1:火柴棒等式 最简...
分类:其他好文   时间:2014-05-03 22:22:19    阅读次数:315
Pat(Advanced Level)Practice--1063(Set Similarity)
Pat1063代码 题目描述: Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Nc is the number of distinct common numbers shared by the two sets, and Nt is the to...
分类:其他好文   时间:2014-04-29 13:44:20    阅读次数:325
sicily 1007 To and Fro (基础题)
链接:http://soj.me/show_problem.php?pid=1007 Description Mo and Larry have devised a way of encrypting messages. They first decide secretly on the number of columns and write the message (letter...
分类:其他好文   时间:2014-04-29 13:23:21    阅读次数:293
646条   上一页 1 ... 63 64 65
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!