码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
1005 Spell It Right (20分)
Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specificat ...
分类:其他好文   时间:2020-07-18 21:49:07    阅读次数:59
C. Given Length and Sum of Digits... (贪心)
https://codeforces.com/problemset/problem/489/C C. Given Length and Sum of Digits... You have a positive integer m and a non-negative integer s. Your ...
分类:其他好文   时间:2020-07-17 22:18:10    阅读次数:71
189. Rotate Array
Given an array, rotate the array to the right by k steps, where k is non-negative. Follow up: Try to come up as many solutions as you can, there are a ...
分类:其他好文   时间:2020-07-16 00:20:51    阅读次数:49
【HDU3709】平衡数Balanced Number
Description A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagine each digit ...
分类:其他好文   时间:2020-07-16 00:05:52    阅读次数:79
【DP练习】B-number(HDU3652)
Description A wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string "13" and can be divided by 13. ...
分类:其他好文   时间:2020-07-15 23:20:22    阅读次数:96
0061. Rotate List (M)
Rotate List (M) 题目 Given a linked list, rotate the list to the right by k places, where k is non-negative. Example 1: Input: 1->2->3->4->5->NULL, k = ...
分类:其他好文   时间:2020-07-11 09:40:09    阅读次数:39
119. Pascal's Triangle II
Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row index starts from 0. 只额外开O(k)的空间,那就开一个 ...
分类:其他好文   时间:2020-07-07 15:03:33    阅读次数:121
697. Degree of an Array
Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your t ...
分类:其他好文   时间:2020-07-03 21:48:09    阅读次数:68
0045. Jump Game II (H)
Jump Game II (H) 题目 Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array r ...
分类:其他好文   时间:2020-06-30 09:14:16    阅读次数:59
0043. Multiply Strings (M)
Multiply Strings (M) 题目 Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as ...
分类:其他好文   时间:2020-06-29 09:55:34    阅读次数:55
2271条   上一页 1 2 3 4 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!