using UnityEngine;using System.Collections;public class networkserver : MonoBehaviour { private string roip = "127.0.0.1"; private int rport = 1...
分类:
编程语言 时间:
2015-06-19 18:30:13
阅读次数:
183
前言:今天我主要写的是关于头消息的一个用处验证用户信息下面我画一个图,可以先看图第一步:我们先开始做用户请求代码首先:创建一个可执行的上下文对象块并定义内部传输的通道using (OperationContextScope scope = new OperationContextScope(user...
分类:
其他好文 时间:
2015-06-19 18:12:14
阅读次数:
146
题目链接:点击进入
开始看到m和k都很小,就直接暴力了一发,结果T了.后面看到m只有6那么大,k又小于10,就觉得可以用记忆化搜索,状态我们就定为dp[n1][n2][n3][n4][n5][n6],表示n1–n6六种化学试剂的量,状态转移就时选两份试剂进行混合.代码如下:#include
#include
#include
using nam...
分类:
其他好文 时间:
2015-06-19 16:47:19
阅读次数:
116
问题描述:
补充阅读
#include
using namespace std;
void f();
class T
{
public:
T( )
{
cout"constructor"<<endl;
try
{
throw "exception";
}
catch(c...
分类:
其他好文 时间:
2015-06-19 15:26:48
阅读次数:
123
#ifndef BINTREE_H_INCLUDED
#define BINTREE_H_INCLUDED
#include
#include
#include
#include
using namespace std;
template
class BinTree;
template
class BinTreeNode
{
public:
friend class BinT...
分类:
其他好文 时间:
2015-06-19 15:25:51
阅读次数:
139
#include
#include
using namespace std;
extern "C" int ConvertComment(FILE *inputfile, FILE *outputfile);
#define UL unsigned long
typedef enum
{
NO_COMMENT_STATE,
C_COMMENT_STATE,
CPP_COMMENT_ST...
分类:
其他好文 时间:
2015-06-19 15:25:23
阅读次数:
130
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication19{ class Program { static ...
分类:
其他好文 时间:
2015-06-19 15:04:54
阅读次数:
97
using System;
using System.Collections.Generic;
class Sentence
{
static void Main()
{
double ticks0 = DateTime.Now.Ticks;
for (int i = 0; i < int.MaxValue; i++)
{
//...
问题描述:
阅读下面的程序,写出输出结果
(1)
#include
using namespace std;
int a[10]= {1,2, 3, 4, 5, 6, 7, 8, 9, 10};
int fun( int i);
int main()
{
int i ,s=0;
for( i=0; i10; i++)
{
try
...
分类:
编程语言 时间:
2015-06-19 13:31:50
阅读次数:
97
具体功能参考:click here~~
#include
using namespace std;
int main()
{
/*map.at:修改元素值
mapmm=
{
{ "abc",0},
{ "bcd",0},
};
mm.at("abc")=-7;
mm.at("bcd")=20;
for(au...
分类:
其他好文 时间:
2015-06-19 13:30:54
阅读次数:
149