码迷,mamicode.com
首页 >  
搜索关键字:incorrect integer va    ( 17090个结果
[LeetCode] 60. Permutation Sequence
The set [1,2,3,...,n] contains a total of n! unique permutations. By listing and labeling all of the permutations in order, we get the following seque ...
分类:其他好文   时间:2020-06-21 10:13:55    阅读次数:48
166. Fraction to Recurring Decimal
Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repeating ...
分类:其他好文   时间:2020-06-21 10:09:51    阅读次数:35
0279. Perfect Squares (M)
Perfect Squares (M) 题目 Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. Exa ...
分类:其他好文   时间:2020-06-21 09:19:56    阅读次数:46
0018. 4Sum (M)
4Sum (M) 题目 Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b+ c + d = target? Find a ...
分类:其他好文   时间:2020-06-21 09:18:37    阅读次数:40
LeetCode习题总结-算法(19)
第十九天LeetCode刷题-算法 第十九天习题——字符串转换整数的函数 此题仅为个人总结参考,如有错误还请指出 首先先上原题: 来源:力扣(LeetCode)原题链接:https://leetcode-cn.com/problems/string-to-integer-atoi/拿到这道题,会发现 ...
分类:编程语言   时间:2020-06-20 01:30:59    阅读次数:74
剑指offer:面试题22、栈的压入、弹出序列
###题目描述 输入两个整数序列,第一个序列表示栈的压入顺序,请判断第二个序列是否可能为该栈的弹出顺序。假设压入栈的所有数字均不相等。例如序列1,2,3,4,5是某栈的压入顺序,序列4,5,3,2,1是该压栈序列对应的一个弹出序列,但4,3,5,1,2就不可能是该压栈序列的弹出序列。(注意:这两个序 ...
分类:其他好文   时间:2020-06-20 01:28:17    阅读次数:60
java常用类型转换
1.String转int Integer.parseInt(str); 2.int转String String.valueOf(int) 3.String转char[] String.toCharArray(); 4.char[]转String new String(char[]) 5.String ...
分类:编程语言   时间:2020-06-20 01:04:15    阅读次数:54
C语言宏技巧 X宏
前言 本文介绍下X宏的使用 首先简单介绍下宏的几种用法 #define STRCAT(X,Y) X##Y #define _STR(X) #@X #define STR(X) #X #define Log(...) {printf(__VA_ARGS__);} /* * x##y 拼接xy * #@ ...
分类:编程语言   时间:2020-06-19 23:04:15    阅读次数:95
Incorrect datetime value: '0000-00-00 00:00:00' for column 'addtime' at row问题解决
今天导数据进数据库的时候报错 Incorrect datetime value: '0000-00-00 00:00:00' for column 'addtime' at row 1 数据是从5.5版本导出的,导入到5.7版本就不行了 原因是受到了服务器sql模式的影响,5.7的模式比5.5的严格 ...
分类:其他好文   时间:2020-06-19 16:06:25    阅读次数:108
二叉树的创建与遍历(递归实现)
在树的基本概念和术语总结一文中介绍了二叉树的基本结构。 在不知道怎样用递归?按步骤来!一文中介绍了如何使用递归。 二叉树的结构是递归的,所以创建、遍历也可以通过递归实现。 下面是一颗二叉树: 结点的定义: public class Node { Integer value; Node leftChi ...
分类:其他好文   时间:2020-06-19 15:53:16    阅读次数:46
17090条   上一页 1 ... 51 52 53 54 55 ... 1709 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!