题目
Reverse digits of an integer.
Example1: x = 123, return 321
Example2: x = -123, return -321
click to show spoilers.
Have you thought about this?
Here are some good questions to ask...
分类:
其他好文 时间:
2014-08-09 00:13:36
阅读次数:
309
Number BustersTime Limit: 1000msMemory Limit: 262144KBThis problem will be judged onCodeForces. Original ID:382B64-bit integer IO format:%I64d Java cl...
分类:
其他好文 时间:
2014-08-09 00:00:46
阅读次数:
406
Evaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer or another ex...
分类:
其他好文 时间:
2014-08-08 23:49:56
阅读次数:
314
JAVA中Long与Integer比较容易犯的错误...
分类:
编程语言 时间:
2014-08-08 21:27:06
阅读次数:
370
public static String getTimeForShowing(String strTime) { System.out.println(strTime); //年 int year = Integer.parseInt(st...
分类:
其他好文 时间:
2014-08-08 17:40:06
阅读次数:
181
Description
Given m sequences, each contains n non-negative integer. Now we may select one number from each sequence to form a sequence with m integers. It's clear that we may get n ^ m this kind o...
分类:
其他好文 时间:
2014-08-08 16:10:06
阅读次数:
236
Problem Description:
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.
Given an integer n, return all distinct solution...
分类:
其他好文 时间:
2014-08-08 12:46:55
阅读次数:
180
Buy TicketsTime Limit: 4000 MS Memory Limit: 65536 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status] [Discuss]Descripti...
分类:
其他好文 时间:
2014-08-08 12:13:15
阅读次数:
227
To see how pointers work, look at the following example.1 var2 X, Y: Integer; // X and Y are Integer variables3 P: ^Integer; // P points to an Intege....
分类:
其他好文 时间:
2014-08-08 01:47:55
阅读次数:
304
Post OfficeTime Limit: 1000msMemory Limit: 10000KBThis problem will be judged onPKU. Original ID:116064-bit integer IO format:%lld Java class name:Mai...
分类:
其他好文 时间:
2014-08-08 01:46:07
阅读次数:
204