码迷,mamicode.com
首页 >  
搜索关键字:unsigned    ( 4409个结果)
POJ 2590
1 #include 2 #include 3 #define MAXN 1000000 4 using namespace std; 5 6 unsigned a[MAXN]; 7 8 int main() 9 {10 //freopen("acm.acm","r",stdin);1...
分类:其他好文   时间:2015-06-11 12:57:06    阅读次数:100
设置格式
ENGINE = INNODB CHARACTER SET utf8 COLLATE utf8_general_ci;例子:--用户表--DROP TABLE IF EXISTS `imooc_user`;CREATE TABLE `imooc_user`(`id` int unsigned aut...
分类:其他好文   时间:2015-06-11 12:48:51    阅读次数:132
POJ 2853
#include#include#include#include#include#define FOR for#define M 10009using namespace std;int main(){ //freopen("acm.acm","r",stdin); unsigned sum; un...
分类:其他好文   时间:2015-06-11 12:47:15    阅读次数:120
POJ 2505
1 #include 2 #include 3 using namespace std; 4 5 int main() 6 { 7 //freopen("acm.acm","r",stdin); 8 unsigned num; 9 unsigned mod; 10 ...
分类:其他好文   时间:2015-06-11 12:39:46    阅读次数:101
md5
C++实现:// MD5.h#ifndef MD5_H#define MD5_H#include #include #include /* Type define */typedef unsigned char byte;typedef unsigned int bit32;using std::s...
分类:其他好文   时间:2015-06-11 01:40:51    阅读次数:130
base64实现
C语言版本:#include /* aaaack but it's fast and const should make it shared text page. */static const unsigned char pr2six[256] ={ /* ASCII table */ ...
分类:其他好文   时间:2015-06-11 00:03:31    阅读次数:255
Linux系统编程@多线程编程(二)
线程的操作线程标识线程的ID表示数据类型:pthread_t (内核中的实现是unsigned long/unsigned int/指向pthread结构的指针(不可移植)几种类型)1.对两个线程ID进行比较#include int pthread_equal(pthread_t tid1, pth...
分类:编程语言   时间:2015-06-10 22:08:51    阅读次数:127
POJ 2081
1 #include 2 #define MAXN 500005 3 using namespace std; 4 5 //unsigned _m[MAXN]; 6 bool mark[MAXN*10]; 7 8 int main() 9 {10 //freopen("acm.ac...
分类:其他好文   时间:2015-06-10 18:58:30    阅读次数:125
通过对象成员地址求对象本身地址
#include "stdafx.h"#include using namespace std;class Polygon{public: Polygon() {Draw();} void Draw() {}//coutmenber) + (unsigned int)pMenber))#define...
分类:其他好文   时间:2015-06-10 10:20:30    阅读次数:86
Number of 1 Bits
1 typedef unsigned int uint32_t; 2 class Solution { 3 public: 4 int hammingWeight(uint32_t n) { 5 int tot=0; 6 while(n) 7 ...
分类:其他好文   时间:2015-06-09 23:37:44    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!