文件类型缩写及别称文件类型的缩写、翻译及别称文件类型缩写英文其他名称普通文件-Regular file目录文件dDirectory file块特殊文件bBlock special file块设备文件字符设备文件cCharacter special file字符设备文件先进先出pFIFOnamed p...
分类:
系统相关 时间:
2014-07-09 20:28:01
阅读次数:
311
One Person Game
Time Limit: 1 Second
Memory Limit: 32768 KB Special Judge
There is a very simple and interesting one-person game. You have 3 dice, namely
Die1, Die2 and Die3. Die1...
分类:
其他好文 时间:
2014-07-06 12:04:41
阅读次数:
167
题目如下:
Problem A: The Monocycle
A monocycle is a cycle that runs on one wheel and the one we will be considering is a bit more special. It has a solid wheel colored with fiv...
分类:
其他好文 时间:
2014-07-06 11:49:47
阅读次数:
233
Advanced Fruits
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 1944
Accepted: 967
Special Judge
Description
The company "21st Century Fruits" has spec...
分类:
其他好文 时间:
2014-07-06 10:23:04
阅读次数:
166
也是最小生成树问题。输出剩余组成生成树的边。
Special Judge 答案不唯一。
不过很奇怪的是Kruskal 写的话。
C++提交要么刚好1000ms 要么就是TLE。
然后G++提交就是594ms。顺便求路过大神指点。
已经有很多的生成边了,用prim可能用时会少一点。
#include
#include
#include
#include
#in...
分类:
其他好文 时间:
2014-07-06 09:22:50
阅读次数:
168
又是个最小生成树问题。
Special Judge 。答案不唯一。所以样例看起来是错的。。。
又是忧伤的G++ AC。 提交C++ 就WA了。。。
又要顺道求过路大神看看。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#d...
分类:
Web程序 时间:
2014-07-05 22:53:37
阅读次数:
269
exec语句用来执行动态的Python语句exec 'print "Hello World"'输出:Hello Worldeval用来计算表达式:eval('2*3')结果:6
分类:
编程语言 时间:
2014-07-05 18:47:32
阅读次数:
273
lambdTesting=lambda x: x*3print(lambdTesting(5))输出 15像C#一样传递lambda表达式:def abc(t,a): return t(a)print(abc(lambdTesting,15))输出:45
分类:
编程语言 时间:
2014-07-05 18:02:49
阅读次数:
196
repr函数和反引号用来获取对象的可打印的表示形式。你可以通过定义类的__repr__方法来控制你的对象在被repr函数调用的时候返回的内容。在大多数时候有eval(repr(object)) == object。Let's start Python programming!哇哈哈哈!感谢:沈洁元S...
分类:
编程语言 时间:
2014-07-05 17:44:56
阅读次数:
289
You can easily mount remote server file system or your own home directory using special sshfs and fuse tools.FUSE - Filesystem in UserspaceFUSE is a L...
分类:
系统相关 时间:
2014-07-05 16:58:48
阅读次数:
294