码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
CF898A Rounding
题意翻译 给你一个数字,将其“四舍六入”,末尾为5舍去或进位都可,求最终的数字。 题目描述 Vasya has a non-negative integer n n n . He wants to round it to nearest integer, which ends up with 0 0 ...
分类:其他好文   时间:2018-02-24 13:13:13    阅读次数:174
【Leetcode】445. Add Two Numbers II
You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes contai ...
分类:其他好文   时间:2018-02-24 10:46:05    阅读次数:174
LC.02. Add Two Numbers
https://leetcode.com/problems/add-two-numbers/description/You are given two non-empty linked lists representing two non-negative integers.The digits a... ...
分类:其他好文   时间:2018-02-23 13:20:41    阅读次数:169
2. Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:其他好文   时间:2018-02-21 13:47:45    阅读次数:188
LeetCode 2.Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:其他好文   时间:2018-02-19 13:48:33    阅读次数:193
LeetCode 633. Sum of Square Numbers
Given a non-negative integer c, your task is to decide whether there're two integers a and b such that a2 + b2 = c. Example 1: Input: 5 Output: True E ...
分类:其他好文   时间:2018-02-15 10:28:38    阅读次数:192
【Leetcode】61. Rotate List
Given a list, rotate the list to the right by k places, where k is non-negative. Example: Tips:右移结点,过程如下: k=2,右移两次: ①5->1->2->3->4 ②4->5->1->2->3 思路:( ...
分类:其他好文   时间:2018-02-14 16:43:45    阅读次数:222
2. Add Two Numbers 两个数字相加
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai... ...
分类:其他好文   时间:2018-02-12 23:42:23    阅读次数:334
43. Multiply Strings 字符串相乘
Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2.Note:The length of both num1 and num2 is < 1... ...
分类:其他好文   时间:2018-02-12 23:41:41    阅读次数:420
445. Add Two Numbers II 两个数字相加2
You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes contai... ...
分类:其他好文   时间:2018-02-12 23:40:27    阅读次数:232
2271条   上一页 1 ... 41 42 43 44 45 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!