码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
Integer 中的缓存类IntegerCache
2014年去某公司笔试的时候遇到这么一道题:public class Test { public static void main(String[] args) { Integer int1 = Integer.valueOf("100"); Integer int...
分类:系统相关   时间:2015-04-13 20:17:04    阅读次数:201
ZOJ-3314
CAPTCHATime Limit: 1000 MS Memory Limit: 32768 KB64-bit integer IO format: %lld , %llu Java class name: MainDescriptionA CAPTCHA (Completely Automated...
分类:其他好文   时间:2015-04-13 18:31:08    阅读次数:118
C++运算符重载简单练习 写一个Integer包装类
// Operator.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include using namespace std; class Integer { public: //explicit如果添加explicit就不能进行隐式构造 //隐式构造不会导致拷贝构造函数调用 Integer(int num):m_num...
分类:编程语言   时间:2015-04-13 16:42:53    阅读次数:239
九九乘法表拯救世界【误
Private Sub Command1_Click() Dim i, j As Integer Label1.Caption = " 万岁!世界重新得到了和平!" Form1.Cls For i = 1 To 9 For j = 1 To i ...
分类:其他好文   时间:2015-04-13 16:29:11    阅读次数:95
AnsiString类型定义的时候可以直接指定代码页,比如950繁体字,936日文
procedure TForm3.FormCreate(Sender: TObject);type AnsiStringForPage = type AnsiString(950);//代码页var AnsiStr: AnsiStringForPage; i: Integer; functi...
分类:其他好文   时间:2015-04-13 14:16:56    阅读次数:172
Merge Sorted Array--LeetCode
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 B...
分类:其他好文   时间:2015-04-13 12:55:54    阅读次数:127
Delphi 字符数组存入文件
TDMSRequestBuffer=object Head:TDMSHead; Data:array[0..2047] of char; DataSize:Integer; procedure Init(Sys:TDMSSysType;Svr:TDMSSvrType); procedure Enc....
分类:编程语言   时间:2015-04-13 10:53:37    阅读次数:119
LeetCode Rank Scores
Write a SQL query to rank scores. If there is a tie between two scores, both should have the same ranking. Note that after a tie, the next ranking number should be the next consecutive integer value. ...
分类:其他好文   时间:2015-04-13 09:43:20    阅读次数:119
LeetCode Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total number of bits in the code, print the sequence of ...
分类:其他好文   时间:2015-04-13 09:30:41    阅读次数:102
168. 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-13 09:16:35    阅读次数:107
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!