码迷,mamicode.com
首页 >  
搜索关键字:incorrect integer va    ( 17090个结果
Java 初学者(12)
今天学习对象的包装,Java提供了八种基本数据类型的包装类。包装类均位于java.lang包中。包装类基本数据对应关系。 包装类主要是为了方便对对象的操作。每个包装类都有对自己操作的方法。并且可以实现数据之间转换如int与Integer类类直接转换,而且可以输出二进制或十六进制值。 除此之外,包装类 ...
分类:编程语言   时间:2020-07-18 00:49:26    阅读次数:65
mybatis 分页
一、普通分页 使用sql语句 limit 起使位置, 步长a、接口 List<User> getLimitUser(Map<String, Integer> map); b、接口配置文件 <select id="getLimitUser" resultType="user" parameterTyp ...
分类:其他好文   时间:2020-07-17 22:22:46    阅读次数:74
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
postgres 在查询面板直接执行查询语句while
之前一直以为while 语句只能在函数中执行,今天算是涨知识了. DO $$ DECLARE i INTEGER := 1; identityId BIGINT := 200000000001; BEGIN WHILE i < 100 LOOP identityId = identityId + 1 ...
分类:其他好文   时间:2020-07-17 19:32:52    阅读次数:70
MyBatis(4):使用limit实现分页
用limit实现分页,首先要创建一个Maven项目,搭建好mybatis的实验环境,并且连接好数据库 代码 1,编写dao接口 UserMapper //查询全部用户实现分页 List<User> selectUser(Map<String,Integer> map); 2,编写对应Mapper映射 ...
分类:其他好文   时间:2020-07-17 15:59:53    阅读次数:69
think PHP6 保存到数据库的时候出现:SQL错误(1366):Incorrect String Value
think PHP6 保存到数据库的时候出现:SQL错误(1366):Incorrect String Value 这种问题的出现,如果不是数据库设置的编码格式不正确,那就是你文件本身的编码格式不正确。 所以你只需要进行如下操作: 1、打开你文件浏览器,找到你的文件,选择文件,用笔记本打开 2、点击 ...
分类:数据库   时间:2020-07-16 18:31:28    阅读次数:93
【刷题-LeetCode】209. Minimum Size Subarray Sum
Minimum Size Subarray Sum Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which th ...
分类:其他好文   时间:2020-07-16 18:17:25    阅读次数:57
重写equals为什么要重写hashcode
三个方面去理解“重写equals为什么要重写hashcode”: 1.Object中hashCode()的源码注释 1. 源码 hashCode()的注释的最后一段的括号中写道:将对象的地址值映射为integer类型的哈希值。 2. 源码 equals()的注释:当我们将equals方法重写后有必要 ...
分类:其他好文   时间:2020-07-16 11:45:29    阅读次数:53
【leetcode_easy_array】1394. Find Lucky Integer in an Array
problem 1394. Find Lucky Integer in an Array solution #1: 使用哈希表; 使用哈希表记录数组元素和freq,然后判断是否相等,且取最大值; 注意 1. 最大值可以由下标一次递减隐性表示; 2. 数值的范围是1-500; 参考 1. leetco ...
分类:其他好文   时间:2020-07-16 00:22:19    阅读次数:51
【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
17090条   上一页 1 ... 35 36 37 38 39 ... 1709 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!