Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321 1 class Solution { 2 public: 3 int reverse(int x){ 4 ...
分类:
其他好文 时间:
2014-07-26 13:54:24
阅读次数:
206
begin ShowMessage(IntToStr(Byte(^A))); {1} ShowMessage(IntToStr(Integer(^b))); {2} ShowMessage(IntToStr(Integer(^^))); {30} ShowMessage(IntToStr(Int.....
分类:
其他好文 时间:
2014-07-26 01:39:36
阅读次数:
213
B. Power StringsTime Limit: 3000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:MainGiven two strings a and b we define a*b to be...
分类:
其他好文 时间:
2014-07-26 01:25:26
阅读次数:
300
A. BabelfishTime Limit: 3000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:MainYou have just moved from Waterloo to a big city. ...
分类:
其他好文 时间:
2014-07-26 01:20:26
阅读次数:
297
D. Going in Cycle!!Time Limit: 3000msMemory Limit: 131072KB64-bit integer IO format:%lld Java class name:MainYou are given a weighted directed graph w...
分类:
其他好文 时间:
2014-07-26 01:00:36
阅读次数:
209
TCPIP网络协议层对应的RFC文档RFC - Request For Comments请求注解TCP/IP层网络协议RFC文档Physical LayerData Link LayerARP-Address Resolution ProtocolRFC826(ENCN)RARP-Reverse A...
分类:
其他好文 时间:
2014-07-26 00:53:56
阅读次数:
423
J. Drainage DitchesTime Limit: 1000msMemory Limit: 32768KB64-bit integer IO format:%I64d Java class name:MainEvery time it rains on Farmer John's fiel...
分类:
其他好文 时间:
2014-07-26 00:21:56
阅读次数:
257
描述:计算逆波兰表达法的结果Sample: ["2", "1", "+", "3", "*"] -> ((2 + 1) * 3) -> 9 ["4", "13", "5", "/", "+"] -> (4 + (13 / 5)) -> 6使用stack实现: 1 def is_op(c): 2 .....
分类:
其他好文 时间:
2014-07-26 00:13:26
阅读次数:
265
Balanced NumberTime Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluDescriptionA balanced number is a non-negative integer that can be balanced...
分类:
其他好文 时间:
2014-07-26 00:11:36
阅读次数:
345
1:基础数据与封装类型之间的转型
A:基础数据类型--->封装类型(对象类型)
Boolean boolean_1 = new Boolean(true);
byte ---->Byte
short---->Short
char---->Character
int--->Integer
long-->Long
float-->Float
double-->Double...
分类:
其他好文 时间:
2014-07-25 11:24:51
阅读次数:
210