码迷,mamicode.com
首页 >  
搜索关键字:positive    ( 2430个结果
LeetCode 713. Subarray Product Less Than K
Problem Description: Your are given an array of positive integers nums. Count and print the number of (contiguous) subarrays where the product of all ...
分类:其他好文   时间:2019-03-29 14:46:24    阅读次数:161
ROC曲线,AUC面积
1. 什么是ROC曲线? ROC曲线是Receiver operating characteristic curve的简称,中文名为“受试者工作特征曲线”。ROC曲线源于军事领域,横坐标为假阳性率(False positive rate,FPR),纵坐标为真阳性率(True positive rat ...
分类:其他好文   时间:2019-03-24 09:16:48    阅读次数:300
873. Length of Longest Fibonacci Subsequence
A sequence X_1, X_2, ..., X_n is fibonacci-like if: n >= 3 X_i + X_{i+1} = X_{i+2} for all i + 2 <= n Given a strictly increasing array A of positive ...
分类:其他好文   时间:2019-03-23 12:58:30    阅读次数:118
Digital Roots:高精度
C - Digital Roots Description The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single ...
分类:其他好文   时间:2019-03-17 19:39:55    阅读次数:179
263. Ugly Number
Write a program to check whether a given number is an ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. Example ...
分类:其他好文   时间:2019-03-16 09:42:45    阅读次数:146
单调栈(SOJ 3085)
SOJ 3085: windy's cake V http://acm.scu.edu.cn/soj/problem.action?id=3085 Given a list of $n$ positive integers $num[1], ..., num[n]$, denote the scor ...
分类:其他好文   时间:2019-03-14 13:42:46    阅读次数:164
600. Non-negative Integers without Consecutive Ones
Given a positive integer n, find the number of non-negative integers less than or equal to n, whose binary representations do NOT contain consecutive ...
分类:其他好文   时间:2019-03-09 23:16:42    阅读次数:170
CF 317 A. Lengthening Sticks(容斥+组合数学)
传送门:点我 A. Lengthening Sticks time limit per test 1 second You are given three sticks with positive integer lengths of a,?b, and c centimeters. You can ...
分类:其他好文   时间:2019-03-09 11:37:18    阅读次数:188
[Algorithm] Find first missing positive integer
Given an array of integers, find the first missing positive integer in linear time and constant space. In other words, find the lowest positive intege ...
分类:其他好文   时间:2019-03-08 09:20:26    阅读次数:120
UVA11029 Leading and Trailing【快速模幂+数学】
Apart from the novice programmers, all others know that you can’t exactly represent numbers raised to some high power. For example, the C function pow ...
分类:其他好文   时间:2019-03-04 11:12:47    阅读次数:169
2430条   上一页 1 ... 32 33 34 35 36 ... 243 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!