码迷,mamicode.com
首页 >  
搜索关键字:mine number    ( 27191个结果
第七章 循环语句
第七章 循环语句1. 循环语句的老祖宗--Goto语句(可用do…while();代替) 1 //①goto语句的使用(一般情况不用,但想在多重循环中一下子跳到外面时可以用)*******************① 2 int i=0; 3 number: i++; 4...
分类:其他好文   时间:2014-05-19 22:45:52    阅读次数:361
hust 1377 - Sequence
题目描述Given a number sequence whose length is n, you can delete at most k numbers in the sequence.After that you are asked to answer the maximum length ...
分类:其他好文   时间:2014-05-19 22:21:32    阅读次数:304
HDOJ 1005 Number Sequence
Problem DescriptionA number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are t...
分类:其他好文   时间:2014-05-16 00:34:50    阅读次数:354
[leetcode]_Palindrome Number
判断integer是否为回文串(负数全部不为回文串)思路很直接,提取出integer中的每一位,一头一尾进行比较是否相同。一次AC , 直接上代码:public boolean isPalindrome(int x) { if(x = 0 && x 0){ ...
分类:其他好文   时间:2014-05-16 00:24:44    阅读次数:386
PDMS二次开发之PML开发一些常见查询语句
1.查找session 以及session number var !DBname DBname !db = object db(!DBname) !session = !db.lastsession() 下面是查询结果截图 q var !db q var !sessioon.number2.从某个时...
分类:其他好文   时间:2014-05-16 00:12:32    阅读次数:2061
待整理细化的点
Row_number配合over(partition by xx order by xx) 与 Group by 的区别, = order + group?SqlBulkCopyGuidance Automation Toolkit 2010 Reference
分类:其他好文   时间:2014-05-15 20:39:55    阅读次数:249
CF 27E Number With The Given Amount Of Divisors
A - Number With The Given Amount Of Divisors Time Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Submit Status Description Given the number n, find the smallest...
分类:其他好文   时间:2014-05-15 13:31:36    阅读次数:343
Codeforces Round #209 (Div. 2)——Prime Number
给一个素数x,和a1、a2……an,计算这个式子 的时候,化成了 这个形式, 且t等于 xa1?+?a2?+?...?+?an,求s和t的最大公约数 (1?≤?n?≤?105, 2?≤?x?≤?109) ,结果对1000000007 取模...
分类:其他好文   时间:2014-05-15 13:04:46    阅读次数:291
【LeetCode】Two Sum
Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the...
分类:其他好文   时间:2014-05-15 10:48:59    阅读次数:322
Don’t Assume – Per Session Buffers
MySQL has a number of global buffers, i.e. your SGA. There are also a number of per session/thread buffers that combined with other memory usage const...
分类:其他好文   时间:2014-05-15 07:34:17    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!