码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
九度 1106
#include #include #include using namespace std; #ifdef ONLINE_JUDGE                                    #define FINPUT(file)  0 #define FOUTPUT(file) 0 #else                              ...
分类:其他好文   时间:2014-05-10 08:58:45    阅读次数:281
NET简单的一个画图程序
using System;using System.Drawing;//HttpUtility.UrlEncode/// ///Curve 的摘要说明/// public class Curve{ public Curve() { // //TODO: 在此处...
分类:Web程序   时间:2014-05-10 07:36:33    阅读次数:491
公共的Json操作类
using System;using System.Data;using System.Text;using System.Collections.Generic;using System.Reflection;using System.Data.Common;using System.Collec...
分类:Web程序   时间:2014-05-10 07:27:45    阅读次数:474
Leetcode | Divide Two Integers
Divide two integers without using multiplication, division and mod operator.这道题要AC也不容易,许多基础概念不懂。最后看了答案,自己再做也很难AC。还是要记住一些关键点才行:1. 负数的补码等于反码+1.所以负数取绝对值就...
分类:其他好文   时间:2014-05-10 06:52:22    阅读次数:380
九度 1108
#include #include #include using namespace std; #ifdef ONLINE_JUDGE #define FINPUT(file) 0 #define FOUTPUT(file) 0 #else...
分类:其他好文   时间:2014-05-10 04:48:25    阅读次数:287
LeetCode--Reverse Integer
//#include #include #include //using namespace std; //const int MAXN=10; //int Stack[MAXN]; stack s; class Solution { public: int getNumber(int x) { //int lengthOfStack=0;...
分类:其他好文   时间:2014-05-10 04:45:29    阅读次数:231
九度 1121
#include #include #include using namespace std; #ifdef ONLINE_JUDGE #define FINPUT(file) 0 #define FOUTPUT(file) 0 #else ...
分类:其他好文   时间:2014-05-10 04:36:26    阅读次数:269
链表
在下例中,演示了链表的各种操作 #include using namespace std; typedef struct Node { int data; //数据域 struct Node * next; //指针域 }NODE, *PNODE; //NODE相当于struct Node, PNODE相当于struct Node * PNODE CreateList()...
分类:其他好文   时间:2014-05-10 04:29:49    阅读次数:263
zoj 1648 Circuit Board
题目:意思就是判断给定的几条线段是否有相交的。 方法:模版吧,有空在来细细学习。 代码: #include #include using namespace std; struct Point { double x,y; }; struct LineSeg { Point a,b; }; double Cross(Point a, Point b, Poi...
分类:其他好文   时间:2014-05-10 03:39:07    阅读次数:326
二叉查找树
相关性质 可查看维基百科"二叉查找树"关键性质:设root为二叉查找树的结点 如果a是root的左结点 key[a] 2 #include 3 using namespace std; 4 /*二叉查找树*/ 5 /*实现中假设关键元素互不相同*/ 6 typedef i...
分类:其他好文   时间:2014-05-10 02:28:24    阅读次数:630
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!