1、在记事本里编写c#代码,将文件保存为ProgramTest.cs:
namespace huangxiangTestDemo
{
class ProgramTest
{
static void Main()
{
System.Console.WriteLine("hello world");
System.Console.ReadKey();
}
}
}
...
分类:
其他好文 时间:
2014-05-10 09:48:43
阅读次数:
315
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=586
In the planet w-503 of galaxy cgb, there is a kind of intelligent creature named QS. QScommunicate with each other via networks. If...
分类:
Web程序 时间:
2014-05-10 09:38:02
阅读次数:
537
题意:求2000.1.1(周六)过n天后,是哪年哪月哪日星期几
思路:看到过好多次了这种题,细心点模拟就是了
#include
#include
#include
#include
using namespace std;
char w[7][10]={"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" ,...
分类:
其他好文 时间:
2014-05-10 09:28:33
阅读次数:
266
#include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
CCScene* HelloWorld::scene()
{
CCScene *scene = CCScene::create();
HelloWo...
分类:
其他好文 时间:
2014-05-10 09:26:12
阅读次数:
337
1、函数是一种 “第一类值”
a = {p = print};
a.p("hello");
a = print;
a("Hi");
2、 table 提供的函数 table.sort
network = {
{name = "lua", IP = "192.168.1.1"},
{name = "CPP", IP = "192.168.1.2"}
};
f...
分类:
其他好文 时间:
2014-05-10 09:21:02
阅读次数:
273
#include #include //#include #include #include
//using namespace std;int main(){ double a = (-4.0+sqrt(7.0))/3.0; double b =
(-4.0-sqrt(7.0))/3....
分类:
其他好文 时间:
2014-05-06 13:29:21
阅读次数:
325
题目:穷举法:由于3 1 1和1 3 1 是一种分法,所以也就是说在N个篮子里的苹果数目是
n1 2 using namespace std; 3 int count; 4 int foo(int n,int m,int prei,int
temp[10]) 5 { 6 int i=0,j=...
分类:
移动开发 时间:
2014-05-06 13:08:55
阅读次数:
489
很多道相似的半平面交,但只过了这个,心都碎了。。#pragma
warning(disable:4996)#include #include #include #include #include #include
#include using namespace std;#define maxn 2...
分类:
其他好文 时间:
2014-05-06 12:58:01
阅读次数:
344
今天打算做两道半平面交,一题卡太久了,心都碎了。。。#pragma
warning(disable:4996)#include #include #include #include #include #include
#include using namespace std;#define maxn...
分类:
其他好文 时间:
2014-05-06 12:27:57
阅读次数:
389
运行级别(Runlevel)指的是Unix或者Linux等类Unix操作系统下不同的运行模式。运行级别通常分为7等,分别是从0到6,但如果必要的话也可以更多。例如在大多数linux操作系统下一共有如下6个典型的运行级别:0
停机1 单用户,Does not configure network int...
分类:
系统相关 时间:
2014-05-06 12:18:28
阅读次数:
446