码迷,mamicode.com
首页 >  
搜索关键字:vitual judge    ( 1412个结果
c++ vitual继承
为了解决多继承下的二义性而设计的vitrul继承class Base{public: Base(void); ~Base(void);};Base::Base(void){ printf("Base::Base():%p\n",this);}class ChildFirst : ...
分类:编程语言   时间:2014-07-16 21:29:45    阅读次数:229
Pascal ASCII和文本的转换
用于帮助新手理解ASCII码和字符型与整型的一段小程序,转载请注明出处例如:输入 I love you打印 73 32 108 111 118 101 32 121 111 117 13 10Program TransPro (input,output);Var judge,number:integ...
分类:其他好文   时间:2014-07-14 09:55:02    阅读次数:179
poj2912 Rochambeau
DescriptionNchildren are playing Rochambeau (scissors-rock-cloth) game with you. One of them is the judge. The rest children are divided into three gr...
分类:其他好文   时间:2014-07-13 23:45:13    阅读次数:268
poj 2965 The Pilots Brothers' refrigerator
The Pilots Brothers' refrigerator Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 18109   Accepted: 6871   Special Judge Description The game “The Pilots...
分类:其他好文   时间:2014-07-12 17:21:51    阅读次数:169
POJ 2965:The Pilots Brothers' refrigerator
The Pilots Brothers' refrigerator Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 18080   Accepted: 6855   Special Judge Description The game “The Pilo...
分类:其他好文   时间:2014-07-09 11:30:00    阅读次数:254
poj 2965 The Pilots Brothers' refrigerator
The Pilots Brothers' refrigerator Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 18040   Accepted: 6841   Special Judge Description The game “The Pilots...
分类:其他好文   时间:2014-07-08 12:54:14    阅读次数:131
ZOJ3329-One Person Game(概率DP求数学期望)
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
poj 2264 Advanced Fruits(DP)
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
POJ 1751 Highways
也是最小生成树问题。输出剩余组成生成树的边。 Special Judge 答案不唯一。 不过很奇怪的是Kruskal 写的话。 C++提交要么刚好1000ms 要么就是TLE。 然后G++提交就是594ms。顺便求路过大神指点。 已经有很多的生成边了,用prim可能用时会少一点。 #include #include #include #include #in...
分类:其他好文   时间:2014-07-06 09:22:50    阅读次数:168
POJ 1861 Network
又是个最小生成树问题。 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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!