码迷,mamicode.com
首页 >  
搜索关键字:backward    ( 287个结果
UVa401 回文词
PalindromesA regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string"ABCDEDCBA"is a palindr...
分类:其他好文   时间:2014-07-01 18:52:11    阅读次数:460
uva 10623 - Thinking Backward(数学)
题目链接:uva 10623 - Thinking Backward 题目大意:就是给出N,表示要将平面分解成N份,问有哪些可选则的方案,m表示椭圆、n表示圆形、p表示三角形的个数,m、n、p分别给定范围。 解题思路:本来这题一点思路都没有,但是在论坛上看到一个公式N=2+2m(m?1)+n(n?1)+4mn+3p(p?1)+6mp+6np 这样只要枚举m和p,求解n,判断n...
分类:其他好文   时间:2014-06-30 08:56:14    阅读次数:186
copy算法
copy------强化效率无所不用其极 copy(first,last,result)算法可将输入区间[first,last)内的元素复制到输出区间[result,result+(last-first))内。也就是说,它会执行赋值操作*result =*first,*(result+1) =*(first+1), …一次类推。返回一个迭代器:result+(last-...
分类:其他好文   时间:2014-06-22 22:00:36    阅读次数:196
copy、copy_backward和copy_if的区别
copy,copy_backward和copy_if是几种常用的泛型算法,这三个函数包含在头文件#include中,下面县给出三种函数的原型,再说明三者的区别。...
分类:其他好文   时间:2014-06-18 08:00:35    阅读次数:635
Web Navigation
DescriptionStandard web browsers contain features to move backward and forward among the pages recently visited. One way to implement these features i...
分类:Web程序   时间:2014-05-31 21:16:40    阅读次数:279
UVA 之401 - Palindromes
A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when the string is read from lef...
分类:其他好文   时间:2014-05-02 10:33:09    阅读次数:332
Timus 1642. 1D Maze迷宫
1D people lived in a 1D country. Everything in the country was one-dimensional, and everything was simple and clear: just one axis and two directions — forward and backward. Even a 1D world has proble...
分类:其他好文   时间:2014-04-29 13:44:22    阅读次数:284
287条   上一页 1 ... 27 28 29
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!