码迷,mamicode.com
首页 >  
搜索关键字:positive    ( 2430个结果
leetcode 279-Perfect Squares(medium)
Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. 1. DP Set an array, first ...
分类:其他好文   时间:2018-09-29 01:19:26    阅读次数:223
[Math_Medium] 372. Super Pow 2018-09-27
"原题:372. Super Pow" Your task is to calculate ab mod 1337 where a is a positive integer and b is an extremely large positive integer given in the form ...
分类:其他好文   时间:2018-09-28 12:56:56    阅读次数:154
ACM-ICPC 2018 徐州赛区网络预赛 D. Easy Math
Easy Math 问答问题反馈 只看题面 16.47% 1000ms 262144K Given a positive integers nn , Mobius function \mu(n)μ(n) is defined as follows: \displaystyle \mu(n) = \b ...
分类:其他好文   时间:2018-09-25 20:36:56    阅读次数:184
auc的本质
AUC的本质 定义auc是roc曲线下的面积。其中,roc是横坐标为fpr,纵坐标是tpr的坐标系上的曲线。TPR(true positive rate):所有正样本中被预测为正的比例FPR(false positive rate):所有负样本中被预测为正的比例a. 对于相同的FPR,TPR越高越好... ...
分类:其他好文   时间:2018-09-25 01:24:59    阅读次数:285
动态规划 完全平方数
Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. Example 1: Example 2: ...
分类:其他好文   时间:2018-09-23 22:41:01    阅读次数:475
POJ 1426 - Find The Multiple - [DP][BFS]
题目链接:http://poj.org/problem?id=1426 Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation con ...
分类:其他好文   时间:2018-09-23 22:37:00    阅读次数:229
[LeetCode] 689. Maximum Sum of 3 Non-Overlapping Subarrays 三个非重叠子数组的最大和
In a given array nums of positive integers, find three non-overlapping subarrays with maximum sum. Each subarray will be of size k, and we want to max ...
分类:移动开发   时间:2018-09-23 16:37:21    阅读次数:267
动态规划 跳台阶问题的三种解法
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl ...
分类:其他好文   时间:2018-09-23 16:26:11    阅读次数:205
C. Enlarge GCD Codeforces Round #511 (Div. 2)【数学】
题目: Mr. F has nn positive integers, a1,a2,…,an. He thinks the greatest common divisor of these integers is too small. So he wants to enlarge it by rem ...
分类:其他好文   时间:2018-09-23 13:41:45    阅读次数:128
A. Little C Loves 3 I Codeforces Round #511 (Div. 2) 【数学】
题目: 题目: Little C loves number «3» very much. He loves all things about it. Now he has a positive integer nn. He wants to split nn into 33 positive int ...
分类:其他好文   时间:2018-09-23 11:55:16    阅读次数:213
2430条   上一页 1 ... 49 50 51 52 53 ... 243 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!