IPv4套接字地址结构struct in_addr { in_addr_t s_addr; };struct sockaddr_in { uint8_t sin_len; /* length of structure (16) bytes */ ...
分类:
其他 时间:
2015-03-15 00:43:41
收藏:
0 评论:
0 赞:
0 阅读:
274
在线聊天功能的总设计思路: 现在有两个浏览器在不同的两台电脑上面, 浏览器A登陆的是系统管理员, 浏览器B登陆的是总监, 现在系统管理员想给总监发送消息,而浏览器之间 是不可以相互之间直接发送消息的。因为一个浏览器是在A电脑上面, 一个浏览器是在B电脑上面。这两台...
分类:
其他 时间:
2015-03-15 00:43:21
收藏:
0 评论:
0 赞:
0 阅读:
449
Description Arbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency into more than one unit of the sam...
分类:
其他 时间:
2015-03-15 00:42:31
收藏:
0 评论:
0 赞:
0 阅读:
357
利用類別產生XSD檔產出XSD檔的目的在於提供Word樣板設計之資料框架在此使用微軟提供之XML Schema Definition Tool (Xsd.exe)工具產生XSD檔1. 定義類別view sourceprint?01// 書籍資料02public class Book03{04publ...
分类:
其他 时间:
2015-03-15 00:42:21
收藏:
0 评论:
0 赞:
0 阅读:
308
差分约束。很容易看出两种约束方式,然后建图。而且题目要求排序不能乱,于是加上第三种约束。求最长就跑一遍最短路啊就行了。#include #include #include #include #include #include #include #include #define rep(i, l, r...
分类:
其他 时间:
2015-03-15 00:42:11
收藏:
0 评论:
0 赞:
0 阅读:
355
Description Background Hugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business. But he needs a clever man w...
分类:
其他 时间:
2015-03-15 00:42:01
收藏:
0 评论:
0 赞:
0 阅读:
382
Given a binary tree, return theinordertraversal of its nodes' values.和preorder是一样的,把左子节点一直压入到栈中,直到没有左子节点为止,然后出栈访问,存储右子节点。 1 vector inorderTraversal(Tr...
分类:
其他 时间:
2015-03-15 00:41:46
收藏:
0 评论:
0 赞:
0 阅读:
305
PM2.5Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 613Accepted Submission(s): 326Problem Descrip...
分类:
其他 时间:
2015-03-15 00:41:21
收藏:
0 评论:
0 赞:
0 阅读:
367
Description While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a o...
分类:
其他 时间:
2015-03-15 00:41:11
收藏:
0 评论:
0 赞:
0 阅读:
633
给出的曲线要么是开口向上的抛物线要么是直线,但所定义的F(x)的图形一定是下凸的。注意一点就是求得是极小值,而不是横坐标,样例也很容易误导人。 1 #include 2 #include 3 using namespace std; 4 5 const int maxn = 10000 + 1...
分类:
其他 时间:
2015-03-15 00:41:01
收藏:
0 评论:
0 赞:
0 阅读:
287
Given a binary tree, return thepreordertraversal of its nodes' values.简单题,递归和迭代都可以解。 1 class Solution { 2 public: 3 vector preorderTraversal(TreeN...
分类:
其他 时间:
2015-03-15 00:40:51
收藏:
0 评论:
0 赞:
0 阅读:
256
控制台应用程序Ctrl + Shift + B 会在 文件资源管理器中 bin/Debug 目录下面生成 一个exe 文件Windows 窗体应用程序 (winform)会在 文件资源管理器中 bin/Debug 目录下面生成 一个exe 文件像这样 以.exe 后缀名结尾的文件 叫 可执行文件 ....
分类:
其他 时间:
2015-03-15 00:40:41
收藏:
0 评论:
0 赞:
0 阅读:
328
参数文件作用:主要用来记录数据库配置信息,数据库在启动时,需要读取参数文件中关于控制文件的信息,分配内存,打开进程,会话等。数据库启动时第一个读取参数文件。参数文件分类: 1)pfile:文本文件,vim编辑器编辑,文件名:init.ora 2)spfile:二进制文件,9i后推出使用,服务器参数文...
分类:
其他 时间:
2015-03-15 00:40:33
收藏:
0 评论:
0 赞:
0 阅读:
430
学习UGUI的Text控件,用于显示文本!. 基本属性就不再啰嗦了! Alignment: 文字以 水平和垂直 对齐方式, Horizontal Overflow: 水平 Wrap: 文字大小和数量超过Text边框宽度,不再显示 Overflow: 文字超过了边框宽度,还是显示出来 Vertical...
分类:
其他 时间:
2015-03-15 00:40:14
收藏:
0 评论:
0 赞:
0 阅读:
377
今天一起学习Image控件O(∩_∩)O~ 介绍一下基本的属性 Source:Image: 指定图片源, 图片设置2DSprite(2D and UI)格式Color: 改变图片的颜色 Image Type Simple 单个显示 Sliced 九宫格显示 Tiled...
分类:
其他 时间:
2015-03-15 00:39:41
收藏:
0 评论:
0 赞:
0 阅读:
3513
测试基础1、软件测试的目的:证明(表达软件能够工作)→检测(发现错误)→预防(管理质量)2、测试执行:单元测试(UT执行):一个测试用例的测试执行;集成测试(IT执行):一个测试用例集的测试执行;系统测试(ST执行):不同测试阶段的测试执行。这几句话是什么意思,觉得不是很有针对性?3、回归测试的目的...
分类:
其他 时间:
2015-03-15 00:38:45
收藏:
0 评论:
0 赞:
0 阅读:
284
整理一下思路,明天再写。。。#include #include #define LL __int64using namespace std;const LL inf=10000000000000ll;const int root=0;LL f[60],ans[60];int trie[550][10...
分类:
其他 时间:
2015-03-15 00:38:21
收藏:
0 评论:
0 赞:
0 阅读:
265
最近买了一块ssd,并且为了尝鲜,系统换成了windows 10,但是不用linux,总觉得少点什么,于是乎决定把opensuse请到虚拟机里。 提到虚拟机,首先想到的是virtualbox,但是virtualbox安装完成后,会导致win10黑屏。只得放弃。突然间想到,微软还有自己的虚拟机h...
分类:
其他 时间:
2015-03-15 00:38:11
收藏:
0 评论:
0 赞:
0 阅读:
858
转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudMissile SilosA country called Berland consists of n cities, numbered with integer numbers from 1 to n....
分类:
其他 时间:
2015-03-15 00:38:01
收藏:
0 评论:
0 赞:
0 阅读:
458
Description Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to ...
分类:
其他 时间:
2015-03-15 00:37:41
收藏:
0 评论:
0 赞:
0 阅读:
394