码迷,mamicode.com
首页 >  
搜索关键字:positive    ( 2430个结果
poj 3233 Matrix Power Series(矩阵二分,快速幂)
Matrix Power Series Time Limit: 3000MS   Memory Limit: 131072K Total Submissions: 15739   Accepted: 6724 Description Given a n × n matrix A and a positive integer k, fi...
分类:其他好文   时间:2014-10-28 10:25:00    阅读次数:158
Lowest Bit
Problem DescriptionGiven an positive integer A (1 2 #include 3 4 5 int main(){ 6 int A; 7 int timer; 8 9 while(1){10 t...
分类:其他好文   时间:2014-10-27 17:32:52    阅读次数:143
Elevator
Problem DescriptionThe highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at wh...
分类:其他好文   时间:2014-10-27 17:29:51    阅读次数:170
leetcode第40题--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...
分类:其他好文   时间:2014-10-26 22:37:58    阅读次数:196
leetcode - 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 uses constant...
分类:其他好文   时间:2014-10-26 14:25:50    阅读次数:177
POJ 2738 Two Ends(记忆化)
DescriptionIn the two-player game "Two Ends", an even number of cards is laid out in a row. On each card, face up, is written a positive integer. Play...
分类:其他好文   时间:2014-10-25 18:32:56    阅读次数:207
LeetCode 146 LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the value (will always be positive) of the key if ...
分类:系统相关   时间:2014-10-22 12:56:02    阅读次数:274
LeetCode: First Missing Positive 解题报告
Q: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 sho...
分类:其他好文   时间:2014-10-20 20:47:32    阅读次数:231
Euler Project question 14 in python way
# This Python file uses the following encoding: utf-8# The following iterative sequence is defined for the set of positive integers:# n → n/2 (n is ev...
分类:编程语言   时间:2014-10-20 09:52:55    阅读次数:218
Maple重点知识总结
Maple中的evalf与evalhf evalf 可作用于单值可作用于List可作用于Set可作用于Vector()可作用于Matrix() evalhf 可作用于单值可作用于Vector()可作用于Matrix()不可作用于List不可作用于Set Maple编程中的常用的参数限定 positive      正数 negative    ...
分类:其他好文   时间:2014-10-20 00:55:04    阅读次数:355
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!