码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
Oracle 存储过程
简要记录存储过程语法与Java程序的调用方式一 存储过程首先,我们建立一个简单的表进行存储过程的测试create table xuesheng(id integer, xing_ming varchar2(25), yu_wen number, shu_xue number);insert into...
分类:数据库   时间:2015-06-03 11:27:24    阅读次数:209
Project Euler:Problem 29 Distinct powers
Consider all integer combinations of ab for 2 ≤ a ≤ 5 and 2 ≤ b ≤ 5: 22=4, 23=8, 24=16, 25=32 32=9, 33=27, 34=81, 35=243 42=16, 43=64, 44=256, 45=1024 52=25, 53=125, 54=625, 55=3125 If they a...
分类:其他好文   时间:2015-06-03 09:59:38    阅读次数:123
B - Alexandra and Prime Numbers
Alexandra has a little brother. He is new to programming. One day he is solving the following problem: Given an positive integer N, judge whether N is...
分类:其他好文   时间:2015-06-03 09:35:30    阅读次数:130
LeetCode(13)--Roman to Integer
https://leetcode.com/problems/roman-to-integer/原题:Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to...
分类:其他好文   时间:2015-06-03 00:43:07    阅读次数:181
leetcode_Number of 1 Bits_easy
Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight). For example, the 32-bit integer ’11' has binary representation 00000000...
分类:其他好文   时间:2015-06-02 22:04:54    阅读次数:128
leetcode_Reverse Bits_easy
Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), return 964176192 (represented in binary as0011100101...
分类:其他好文   时间:2015-06-02 22:04:40    阅读次数:166
Minimum Size Subarray Sum -- leetcode
题目描述:Given an array of n positive integers and a positive integer s, find the minimal length of a subarray of which the sum ≥ s. If there isn’t one, return 0 instead.For example, given the array [2,3,1...
分类:其他好文   时间:2015-06-02 21:56:21    阅读次数:115
从本地相册中动态添加image
package com.example.showgetpic; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.util.ArrayList; import android.R.integer; import android.content.Context; import and...
分类:其他好文   时间:2015-06-02 17:55:42    阅读次数:96
LeetCode219:Contains Duplicate II
Given an array of integers and an integer k, find out whether there there are two distinct indices i and j in the array such that nums[i] = nums[j] and the difference between i and j is at most k.直接使用循...
分类:其他好文   时间:2015-06-02 17:54:07    阅读次数:87
CF 546D Soldier and Number Game
DescribeTwo soldiers are playing a game. At the beginning first of them chooses a positive integer n and gives it to the second soldier. Then the seco...
分类:其他好文   时间:2015-06-02 13:12:26    阅读次数:129
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!