DescriptionIn modern society, each person has his own friends. Since all the people are very busy, they communicate with each other only by phone. You...
分类:
其他好文 时间:
2014-06-15 20:44:45
阅读次数:
162
Operating Cisco Routerconsider the hardware on
the ends of the serial link, in particular where the channel service unit/data
service unit (CSU/DSU) h...
分类:
其他好文 时间:
2014-06-12 19:10:26
阅读次数:
351
在继承中常会出现两个问题: 父类的属性变成了子类的原型
构造器指向混乱寄生组合式继承解决了这样的问题: 属性继承到属性 原型继承到原型 构造器指向明确// 父类var Super = function(name) {
this.name = name; this.friends = ["...
分类:
编程语言 时间:
2014-05-30 04:10:48
阅读次数:
209
链接:http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1449+题意:给出三个整数A,B,C,判断A+B与C的大小关系(-2^63C,输出“>”,若A+B=C,输出“=”,若A+Btypedef
long long int lli;# define ...
分类:
其他好文 时间:
2014-05-28 21:28:09
阅读次数:
338
1 #include 2 #include 3 #include 4 5 int
i,j,n,a,b,c,d,temp1,temp2,temp3,temp4,temp5,temp6; 6 char a1,c1; 7 8 void
solve() 9 {10 temp1=a+b;1...
分类:
其他好文 时间:
2014-05-27 17:19:11
阅读次数:
340
今天神坑的GCPC 2013
B题啊,本来是个很简单的模拟+扫描线,却WA的不明不白经过几个人测试,不得不说一下,CSU OJ 的编译器肯定有点问题coj 1458#include
#include #include #include using namespace std;int b,c;stru...
分类:
其他好文 时间:
2014-05-26 19:46:46
阅读次数:
277
1115: 最短的名字
Time Limit: 5 Sec Memory Limit:
64 MB
Submit: 141 Solved: 56
[Submit][Status][Web
Board]
Description
在一个奇怪的村子中,很多人的名字都很长,比如aaaaa, bbb and abababab。
名字这么长,叫全名显然起来很...
分类:
其他好文 时间:
2014-05-26 05:57:48
阅读次数:
220
Kitahara Haruki has bought n apples for Touma Kazusa and Ogiso Setsuna. Now he wants to divide all the apples between the friends.
Each apple weights 100 grams or 200 grams. Of course Kitahara Haru...
分类:
其他好文 时间:
2014-05-25 09:01:36
阅读次数:
174
Rescue
Problem Description
Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M
Angel's friends want to save Angel. Their task is: a...
分类:
其他好文 时间:
2014-05-23 00:06:37
阅读次数:
482