码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
Reverse Bits
Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as00000010100101000001111010011100), return ...
分类:其他好文   时间:2015-04-08 21:10:38    阅读次数:108
Excel Sheet Column Title
Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 ->...
分类:其他好文   时间:2015-04-08 19:37:19    阅读次数:100
Oracle sqlplus 常用设置
Oraclesqlplus常用设置§2.5 SQLPLUS常用设置使用过程中大都需要进行必要的环境设置才能完成我们所需要的输出。所有环境的设置由SET命令加相应的环境变量来完成。下面是常用的环境设置:§2.5.1 ARRAYSIZE(取回的行数)SET ARRAY[SIZE]{integer}一次可...
分类:数据库   时间:2015-04-08 19:29:28    阅读次数:177
一个spark receiver 或多个spark receiver 接收 多个flume agent
利用一个spark receiver 接收多个flume agentString host = args[0]; int port = Integer.parseInt(args[1]); String host1 = args[2]; int port1 = Integer.parseInt(args[3]); InetSocketAddress address1 = new Ine...
分类:Web程序   时间:2015-04-08 18:09:37    阅读次数:195
SPOJ COT2
【标签】离散化,数据结构,分治,图论 【题意】 You are given a tree with N nodes. The tree nodes are numbered from 1 to N. Each node has an integer weight. We will ask you to perfrom the following operation: u v :...
分类:其他好文   时间:2015-04-08 18:06:15    阅读次数:184
LeetCode—Palindrome Number 数字是否是回文数字
Determine whether an integer is a palindrome. Do this without extra space. 检测当前数字是否是回文数字,同时不能增加额外的内存空间,这里一个注意的点就是 负数 都不可能是回文数字 然后是检测出来每一位数字进行比较 代码还是写得比较繁琐,主要的一个点就是数字的位数是基数位和偶数位的时候处理的过程是不同的 c...
分类:其他好文   时间:2015-04-08 16:37:01    阅读次数:115
04-08 leetcode-12 Integer to Roman
?? 问题描述:Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to3999. 问题分析:类似于十进制,从高位进行计算即可 代码: public class Solution { public String intTo...
分类:其他好文   时间:2015-04-08 16:36:44    阅读次数:99
LeetCode—Merge Sorted Array两个有序数组排序
Given two sorted integer arrays A and B, merge B into A as one sorted array. Note: You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements from ...
分类:编程语言   时间:2015-04-08 15:04:58    阅读次数:152
BNU 背包密码(编码与解密)
背包密码 Time Limit: 1000ms Memory Limit: 65536KB 64-bit integer IO format: %lld      Java class name: Main Submit Status PID: 29141              背包密码系统是一种非常经典的公钥密码系统,这种密码系统加密过程如下: ...
分类:其他好文   时间:2015-04-08 13:19:19    阅读次数:171
Android——ImageSwitcher 图片切换
public class ImageSwitcherActivity extends Activity implements OnClickListener, ViewFactory { // 所有要显示图片资源索引 private static final Integer[] imageList....
分类:移动开发   时间:2015-04-08 12:31:34    阅读次数:152
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!