码迷,mamicode.com
首页 >  
搜索关键字:may cause a leak    ( 6377个结果
web服务器实现
最近工作中需要客户端和服务器使用https协议进行通信,我负责客户端程序的编写,想到以前在深入理解操作系统中看过web服务器的实现,代码整理如: #include"apue.h" extern char **environ; void clienterror(int fd,char *cause,char *errnum,char *shortmsg,char *longmsg) {...
分类:Web程序   时间:2014-07-28 00:19:59    阅读次数:325
TOJ 1804 The Machinegunners in a Playoff
终于知道国足多么不容易只要打平就能晋级是说的简单。。 傻逼了,开始没看懂题弄了什么净胜球。。。 直接开搞。 第一个数要输出自己最小的进球 must晋级  0 30  就只能输出30 第二个数要输出自己最大的进球 对方may晋级  30 0  就只能输出30 #include #include int main() { char s[222]; int a,b,t;...
分类:其他好文   时间:2014-07-27 11:43:34    阅读次数:205
LeetCode:Best Time to Buy and Sell Stock II
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-07-27 09:49:52    阅读次数:237
Leetcode--Combination Sum II
Problem Description: Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each number in C may only b...
分类:其他好文   时间:2014-07-26 15:24:02    阅读次数:252
HDU-4866-Shooting(函数式线段树)
Problem Description In the shooting game, the player can choose to stand in the position of [1, X] to shoot, you can shoot all the nearest K targets. The value of K may be different on different shoo...
分类:其他好文   时间:2014-07-26 15:08:00    阅读次数:383
Evaluate Reverse Polish Notation leetcode java
题目:Evaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer or anothe....
分类:编程语言   时间:2014-07-26 14:14:35    阅读次数:225
[leetcode]Insert Interval
Insert IntervalGiven a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals...
分类:其他好文   时间:2014-07-26 01:35:07    阅读次数:246
【leetcode刷题笔记】Insert Interval
Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initially...
分类:其他好文   时间:2014-07-26 00:37:46    阅读次数:237
【leetcode刷题笔记】Sudoku Solver
Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character'.'.You may assume that there will be on...
分类:其他好文   时间:2014-07-25 14:18:51    阅读次数:284
POJ1390 Blocks 【动态规划】
Blocks Time Limit: 5000MS   Memory Limit: 65536K Total Submissions: 4173   Accepted: 1661 Description Some of you may have played a game called 'Blocks'. There are n bl...
分类:其他好文   时间:2014-07-25 11:11:22    阅读次数:312
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!