码迷,mamicode.com
首页 >  
搜索关键字:digits    ( 2164个结果
Add Two Numbers(Linked List)
Add Two Numbers You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes c ...
分类:其他好文   时间:2017-02-18 22:54:29    阅读次数:203
【LeetCode】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 ...
分类:其他好文   时间:2017-02-17 15:32:24    阅读次数:161
CodeForces 734B Anton and Digits
贪心。先取$256$,再取$32$。 ...
分类:其他好文   时间:2017-02-14 13:30:13    阅读次数:165
Oracle时间日期函数
ORACLE日期时间函数大全 TO_DATE格式(以时间:2007-11-02 13:45:25为例) Year: yy two digits 两位年 显示值:07 yyy three digits 三位年 显示值:007 yyyy four digits 四位年 显示值:2007 Month: m ...
分类:数据库   时间:2017-02-13 22:05:57    阅读次数:234
HDU 4333 Revolving Digits [扩展KMP]【学习笔记】
题意:给一个数字,每一次把它的最后一位拿到最前面,一直那样下去,分别求形成的数字小于,等于和大于原来数的个数。 SAM乱搞失败 当然要先变SS了 然后考虑每个后缀前长为n个字符,把它跟S比较就行了 如果用后缀家族的话复杂度要加上log,本题会TLE吧 求一个串S的每个后缀与另一个串T的最长公共前缀可 ...
分类:其他好文   时间:2017-02-13 20:08:30    阅读次数:176
Reverse Integer
Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 click to show spoilers. Have you thought about this? Here a ...
分类:其他好文   时间:2017-02-12 21:06:41    阅读次数:209
F(x)
F(x) Time Limit: 1000/500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description For a decimal number x with n digits (AnAn-1A ...
分类:其他好文   时间:2017-02-11 23:57:46    阅读次数:380
A6:Add Digits
题目描述: Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. 样例 Given num = 38. The process is like: 3 + ...
分类:其他好文   时间:2017-02-11 17:01:17    阅读次数:187
leetcode 17 Letter Combinations of a Phone Number
class Solution { public: vector<string> letterCombinations(string digits) { vector<string> res; if (digits.empty()) return res; string dict[] = {"abc" ...
分类:其他好文   时间:2017-02-08 23:13:50    阅读次数:182
LeetCode OJ 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 ...
分类:其他好文   时间:2017-02-03 16:53:18    阅读次数:152
2164条   上一页 1 ... 79 80 81 82 83 ... 217 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!