码迷,mamicode.com
首页 >  
搜索关键字:positive    ( 2430个结果
(数论)D - Beautiful Numbers
D - Beautiful Numbers Vitaly is a very weird man. He's got two favorite digits a and b. Vitaly calls a positive integer good, if the decimal represent ...
分类:其他好文   时间:2020-01-16 19:06:21    阅读次数:79
1317. Convert Integer to the Sum of Two No-Zero Integers
Given an integer n. No-Zero integer is a positive integer which doesn't contain any 0 in its decimal representation. Return a list of two integers [A, ...
分类:其他好文   时间:2020-01-14 09:17:43    阅读次数:100
LeetCode 41. First Missing Positive
41. First Missing Positive(缺失的第一个正数) 链接 https://leetcode cn.com/problems/first missing positive 题目 给定一个未排序的整数数组,找出其中没有出现的最小的正整数。 示例?1: 输入: [1,2,0] 输出: ...
分类:其他好文   时间:2020-01-10 22:05:39    阅读次数:62
bfs迷宫
链接:https://ac.nowcoder.com/acm/contest/338/BSleeping is a favorite of little bearBaby, because the wetness of Changsha in winter is too uncomfortable. ...
分类:其他好文   时间:2020-01-10 18:38:50    阅读次数:99
【机器学习】性能评估指标
机器学习性能评估指标 TP、TN、FP、FN FN:False(假的) Negative(反例),模型判断样本为负例,但模型判断错了,事实上是正样本。(漏报率)FP:False(假的) Positive(正例),模型判断样本为正例,但模型判断错了,事实上是负样本。(误报率)TN:True(真的) N ...
分类:其他好文   时间:2020-01-10 01:13:59    阅读次数:125
Django中content-type组件的使用
网上商城购物时,会有各种各样的优惠卷,比如通用优惠卷,满减卷,或者仅限特定品类的优惠卷,我们以往的方式是在数据库中,通过外键将优惠卷和不同品类的商品表关联起来 ...
分类:其他好文   时间:2020-01-08 21:02:49    阅读次数:81
等比数列二分求和取模
题意:Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak. n (n ≤ 30), k (k ≤ 109) and m (m < 104) 输出结果矩阵 解法: 若 n是偶数 S ...
分类:其他好文   时间:2020-01-05 10:09:31    阅读次数:80
LeetCode 1053. Previous Permutation With One Swap
原题链接在这里:https://leetcode.com/problems/previous-permutation-with-one-swap/ 题目: Given an array A of positive integers (not necessarily distinct), return ...
分类:其他好文   时间:2020-01-05 09:32:35    阅读次数:73
8. String to Integer (atoi)
Description Soluction public class Solution { public int myAtoi(String str) { char[] numbers = str.toCharArray(); // sign symbol, 1 for positive, -1 f ...
分类:其他好文   时间:2020-01-04 12:21:28    阅读次数:77
pat Radix(25分)
Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 is a ...
分类:其他好文   时间:2020-01-02 21:01:08    阅读次数:82
2430条   上一页 1 ... 14 15 16 17 18 ... 243 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!