码迷,mamicode.com
首页 >  
搜索关键字:otherwise    ( 526个结果
Codeforces Round #618 (Div. 2)
A. Non zero Description: Guy Manuel and Thomas have an array $a$ of $n$ integers [$a_1, a_2, \dots, a_n$]. In one step they can add $1$ to any element ...
分类:其他好文   时间:2020-02-10 22:25:52    阅读次数:87
D - Counting Squares
Your input is a series of rectangles, one per line. Each rectangle is specified as two points(X,Y) that specify the opposite corners of a rectangle. A ...
分类:其他好文   时间:2020-01-31 19:08:57    阅读次数:80
poj 2155 Matrix
Matrix Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 36547 Accepted: 13109 Description Given an N*N matrix A, whose elements are either 0 ...
分类:其他好文   时间:2020-01-28 23:01:20    阅读次数:73
HashMap的resize自动扩容
在之前学习的HashMap触发红黑树条件的知识点中,有一个步骤是resize(), 再来了解一下这块的知识 HashMap是JAVA最常用的集合之一,用来存储Key-Value这种键值对形式的数据,内部通过哈希表,让存取的效率最好的时候可以达到O(1),实际使用中可能存在hash冲突,引入了链表和红 ...
分类:其他好文   时间:2020-01-27 19:17:41    阅读次数:78
剑指offer-数组——数组中重复的数字
题目描述 在一个长度为n的数组里的所有数字都在0到n 1的范围内。 数组中某些数字是重复的,但不知道有几个数字是重复的。也不知道每个数字重复几次。请找出数组中任意一个重复的数字。 例如,如果输入长度为7的数组{2,3,1,0,2,5,3},那么对应的输出是第一个重复的数字2。 时间限制:C/C++ ...
分类:编程语言   时间:2020-01-23 00:05:44    阅读次数:90
mybatis动态sql之使用foreach进行批量插入的两种方式
EmployeeMapperDynamicSql.java package com.gong.mybatis.mapper; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.MapKe ...
分类:数据库   时间:2020-01-21 23:31:31    阅读次数:330
I. Powers Of Two
I. Powers Of Two A positive integer xx is called a power of two if it can be represented as x=2yx=2y, where y is a non-negative integer. So, the power ...
分类:其他好文   时间:2020-01-18 12:25:52    阅读次数:97
HDU-4609 3-idiots
Description King OMeGa catched three men who had been streaking in the street. Looking as idiots though, the three men insisted that it was a kind of ...
分类:其他好文   时间:2020-01-13 15:54:33    阅读次数:71
leetcode.617 合并两个二叉树
题目描述:给予两个二叉树 t1 , t2 ,合并他们。 Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overl ...
分类:其他好文   时间:2019-12-30 09:14:14    阅读次数:78
mybatis框架-choose when otherwise 的使用
需求:模拟实际业务情况,传入多条件进行查询 /** * 需求:模拟实际业务,用户传入多个条件,进行用户列表信息的查询 * @param roleids * @return */ public List<User> getUserListByMulConditions(@Param("usercode ...
分类:其他好文   时间:2019-12-22 18:45:10    阅读次数:196
526条   上一页 1 ... 3 4 5 6 7 ... 53 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!