码迷,mamicode.com
首页 >  
搜索关键字:reverse integer    ( 19410个结果
LeetCode : reverse integer
解法: 1 class Solution { 2 public: 3 int reverse(int x) { 4 int signal = (x>0)? 1:-1; /* signal记录正负号 */ 5 x=abs(x); 6 int ...
分类:其他好文   时间:2014-07-29 11:25:06    阅读次数:197
xtu字符串 D. 病毒侵袭
D. 病毒侵袭Time Limit: 1000msMemory Limit: 32768KB64-bit integer IO format:%I64d Java class name:Main当太阳的光辉逐渐被月亮遮蔽,世界失去了光明,大地迎来最黑暗的时刻。。。。在这样的时刻,人们却异常兴奋——我...
分类:其他好文   时间:2014-07-29 11:01:16    阅读次数:347
MySql开启事务
1 CREATE PROCEDURE test_sp1( ) 2 BEGIN 3 DECLARE t_error INTEGER DEFAULT 0; 4 DECLARE CONTINUE HANDLER FOR SQLEXCEPTION SET t_er...
分类:数据库   时间:2014-07-29 10:26:48    阅读次数:456
Codeforces 237C
题目:DescriptionYou've decided to carry out a survey in the theory of prime numbers. Let us remind you that a prime number is a positive integer that ha...
分类:其他好文   时间:2014-07-29 10:25:58    阅读次数:395
Delphi基础知识汇总
☆Delphi基础数据类型分类范围字节备注简单类型序数整数Integer-2147483648..21474836474有符号32位Cardinal0..42949672954无符号32位Shortint-128..1271有符号8位Smallint-32768..327672有符号16位Longint-2147483648..21474836474有符号32位Int64-263..2638有符号64位Byte0....
分类:其他好文   时间:2014-07-28 16:45:24    阅读次数:194
快速幂
快速幂 Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64u Submit Status Description Given a positive integer N, you should output the most right digit of N^N. Input...
分类:其他好文   时间:2014-07-28 15:49:53    阅读次数:262
HDUJ 1042 N!
N! Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 53394    Accepted Submission(s): 15085 Problem Description Given an integer N(0 ≤ N...
分类:其他好文   时间:2014-07-28 15:44:33    阅读次数:205
Merge Sorted Array leetcode java(回顾MergeTwoArray和MergeTwoLinkedList)
题目: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 e....
分类:编程语言   时间:2014-07-28 14:47:23    阅读次数:1108
LeetCode Reverse Nodes in k-Group
class Solution {public: ListNode *reverseKGroup(ListNode *head, int k) { if (k next = rhead; } last = rtail; } ...
分类:其他好文   时间:2014-07-28 11:22:20    阅读次数:227
Oracle内存结构(之三)
PGA的管理: sys@felix SQL>show parameter area_size NAME TYPE VALUE ------------------------------------ ---------------------------------------------------- bitmap_merge_area_size integer ...
分类:数据库   时间:2014-07-28 00:17:29    阅读次数:413
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!