码迷,mamicode.com
首页 >  
搜索关键字:positive    ( 2430个结果
uva 01350
1350 - Pinary`Pinary" number is a positive number using only two digits ``0" and ``1" with usual rule that it must not begin with a 0, and the additio...
分类:其他好文   时间:2015-01-15 23:43:44    阅读次数:323
uva 12075
12075 - Counting TrianglesTriangles are polygons with three sides and strictly positive area. Lattice triangles are the triangles all whose vertexes h...
分类:其他好文   时间:2015-01-15 23:33:17    阅读次数:159
LeetCode168——Excel Sheet Column Title
LeetCode168——Excel Sheet Column Title 题目 Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: 1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 2...
分类:其他好文   时间:2015-01-15 14:19:18    阅读次数:173
[LeetCode]41.First Missing Positive
【题目】 Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in O(n) time and use...
分类:其他好文   时间:2015-01-13 21:35:19    阅读次数:197
Excel Sheet Column Title
Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 ->...
分类:其他好文   时间:2015-01-13 17:38:14    阅读次数:112
POJ 1741 Tree
DescriptionGive a tree with n vertices,each edge has a length(positive integer less than 1001).Define dist(u,v)=The min distance between node u and v....
分类:其他好文   时间:2015-01-12 23:50:04    阅读次数:222
LeetCode First Missing Positive
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:其他好文   时间:2015-01-12 22:15:52    阅读次数:158
leetcode----------Excel Sheet Column Title
题目Excel Sheet Column Title通过率17.2%难度EasyGiven a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 ...
分类:其他好文   时间:2015-01-11 18:58:49    阅读次数:197
Excel Sheet Column Title
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/42554641 Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example:...
分类:其他好文   时间:2015-01-10 13:57:58    阅读次数:132
Pat(Advanced Level)Practice--1085(Perfect Sequence)
Pat1085代码 题目描述: Given a sequence of positive integers and another positive integer p. The sequence is said to be a "perfect sequence" if M Now given a sequence and a parameter p, you are s...
分类:其他好文   时间:2015-01-09 23:48:11    阅读次数:495
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!