码迷,mamicode.com
首页 >  
搜索关键字:long live the queen    ( 22219个结果
2014百度之星程序设计竞赛
资格赛Energy Conversion水题。#include #include #include #include #include #include #define ll long longusing namespace std;int main(){ int T; scanf("%...
分类:其他好文   时间:2014-06-07 05:10:51    阅读次数:371
必须弄懂的495个C语言问题
必须弄懂的495个C语言问题1.1 我如何决定使用那种整数类型?如果需要大数 值(大于32, 767 或小于?32, 767), 使用long 型。否则, 如果空间很重要(如有大数组或很多结构), 使用short 型。除此之外, 就使用int 型。如果严格定义的溢出特征很重要而负值无关紧要, 或者你...
分类:编程语言   时间:2014-06-03 11:40:22    阅读次数:434
【Debian】install
n年前的报废台式机实在不能忍受xp的速度,果断装Linux近期家里的小本装了Ubuntu14.04 ,实在不习惯最新的图形界面。装个debian试试吧。1、专门弄一个空白分区2、官网下载debian-live-7.5.0-i386-kde-desktop 懒得折腾硬盘安装,刻盘了事。3、DVD启动,...
分类:其他好文   时间:2014-06-03 08:28:40    阅读次数:267
libvirt 基于C API基本使用案例
1,virConnectGetLibVersionAPI call obtain the version of libvirt software in use on the hostit takes a connection pointer and unsigned long pointer as ...
分类:Windows程序   时间:2014-06-03 08:10:33    阅读次数:440
poj 1011 Sticks
DescriptionGeorge took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to ...
分类:其他好文   时间:2014-05-30 23:00:32    阅读次数:395
Calling C++ code from C# z
http://blogs.msdn.com/b/borisj/archive/2006/09/28/769708.aspxI apologize for the long delay for this section (although I suppose my average posting fr...
分类:编程语言   时间:2014-05-30 13:08:38    阅读次数:362
安卓编程总结(1)
1、通过Toast类显示提示消息对话框Toast.makeText(Login.this,"pleaseinputtherightinfomation!",Toast.LENGTH_LONG).show()函数实现。2、Android中的String类与Qt中的QString类有一点不同,Andro...
分类:移动开发   时间:2014-05-30 03:17:01    阅读次数:287
HDU 2814 Interesting Fibonacci
一道找循环节的题,RE了很多发。要用到一个转换式子:a^b%c=[(a%c)^(b%phi(c)+phi(c))]%c#include#include#include#include#include#define ull unsigned long longusing namespace std;i...
分类:其他好文   时间:2014-05-30 02:53:25    阅读次数:251
LeetCode Permutation Sequence
class Solution {public: string getPermutation(int n, int k) { k--; if (n nums(n, 0); long seg = 1; for (int i=0; i= se...
分类:其他好文   时间:2014-05-29 17:04:51    阅读次数:209
java计算两日期间隔小时或分钟
public static void main(String[] args) { try { long min = dateDiff("2014-05-27 13:30:00","2014-05-27 13:00:00","yyyy-MM-dd HH:mm:ss"); System.out...
分类:编程语言   时间:2014-05-28 16:16:27    阅读次数:328
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!