码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
HDU 3466 Proud Merchants
Proud MerchantsTime Limit: 1000msMemory Limit: 65536KBThis problem will be judged onHDU. Original ID:346664-bit integer IO format:%I64d Java class nam...
分类:其他好文   时间:2015-04-11 17:43:24    阅读次数:93
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-11 16:25:26    阅读次数:127
[LeetCode] Factorial Trailing Zeroe
Factorial Trailing Zeroes Given an integer n, return the number of trailing zeroes in n!. Note: Your solution should be in logarithmic time complexity. 解题思路: n!=2^x*3^y*5^z...,注意到一个2和一个5...
分类:其他好文   时间:2015-04-11 16:21:43    阅读次数:141
android sqlite3 时间比较语法介绍
sqlite3支持的数据类型: NULL、INTEGER、REAL、TEXT、BLOB 但是,sqlite3也支持如下的数据类型 smallint           16位整数 integer             32位整数 decimal(p,s)   p是精确值,s是小数位数 float                  32位实数 double...
分类:移动开发   时间:2015-04-11 11:49:49    阅读次数:147
圆形相交,相切,相离,包含
来自BNU热身赛的一道几何题,个人感觉还行,毕竟Q神卡了7次才过去。。E. School FlowerTime Limit: 1000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:MainSubmitStat...
分类:其他好文   时间:2015-04-11 01:12:22    阅读次数:308
Leetcode: Search a 2D Matrix
题目: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted from left to right. The first integer of...
分类:其他好文   时间:2015-04-11 00:03:23    阅读次数:132
UVA 624 CD
CDTime Limit: 3000msMemory Limit: 131072KBThis problem will be judged onUVA. Original ID:62464-bit integer IO format:%lld Java class name:MainYou have...
分类:其他好文   时间:2015-04-10 23:48:13    阅读次数:225
leetcode-13 Roman to Integer
?? 问题描述:Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to3999. 问题分析:{'M','D','C','L','X','V','I'};分别对应{1000, 500, 100, 50, 10, 5, 1}; 当出...
分类:其他好文   时间:2015-04-10 22:30:55    阅读次数:142
判断 ACdream 1202 Integer in C++
题目传送门 1 /* 2 分情况讨论,在long long范围里可以直接比较 3 sscanf 直接读到n中去 4 */ 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 #includ...
分类:编程语言   时间:2015-04-10 22:21:20    阅读次数:149
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-10 22:03:00    阅读次数:113
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!