码迷,mamicode.com
首页 >  
搜索关键字:vitual judge    ( 1412个结果
九度 Online Judge 之《剑指 Offer》一书相关题目解答
前段时间准备华为机试,正好之前看了一遍《剑指 Offer》,就在九度 Online Judge 上刷了书中的题目,使用的语言为 C++;只有3题没做,其他的都做了。 正如 Linus Torvalds 所言“Talk is cheap, show me the code!",详见托管在 Git...
分类:其他好文   时间:2014-07-22 22:48:35    阅读次数:185
poj 1861 Network
Network Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 13260   Accepted: 5119   Special Judge Description Andrew is working as system administrator and is...
分类:Web程序   时间:2014-07-21 23:27:31    阅读次数:277
uva 201 - Squares(自己的方法,同学有更好一点点的方法)
#include #include #include #include #include using namespace std; int h[20][20]; int v[20][20]; int size_[20]; int n,m; int flag; void judge(int x,int y)//这是关键部分的代码,用来判读那是否能构成square; { int a1=n-x...
分类:其他好文   时间:2014-07-21 13:36:09    阅读次数:221
[ACM] POJ 2796 Feel Good (求序列中子序列的和与子序列中的最小数最大乘积)
Feel Good Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 9186   Accepted: 2509 Case Time Limit: 1000MS   Special Judge Description Bill is developi...
分类:其他好文   时间:2014-07-21 11:21:15    阅读次数:235
uva 1368 - DNA Consensus String
题目上给的样例input格式存在一定问题,行末多空格。 在这上面纠结了几次…… #include #include #include const int maxn = 1100; int A[maxn]; int C[maxn]; int G[maxn]; int T[maxn]; char ans[maxn]; int ans_; int m,n; void judge(int pos) ...
分类:其他好文   时间:2014-07-19 23:26:29    阅读次数:347
POJ 2367:Genealogical tree(拓扑排序)
Genealogical tree Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2738 Accepted: 1838 Special Judge Description The system of Martians' blood...
分类:其他好文   时间:2014-07-18 14:01:29    阅读次数:189
POJ 3566
?? Building for UN Time Limit: 5000MS   Memory Limit: 65536K Total Submissions: 1367   Accepted: 599   Special Judge Description The United Nations has decided to buil...
分类:其他好文   时间:2014-07-17 20:37:19    阅读次数:294
POJ 1965 The Pilots Brothers' refrigerator 搜索
The Pilots Brothers' refrigerator Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 18222   Accepted: 6936   Special Judge Description The game “The Pilots...
分类:其他好文   时间:2014-07-17 19:25:39    阅读次数:207
HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online 数字整除 java
数字整除 Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:65536KB Total submit users: 88, Accepted users: 82 Problem 10932 : No special judgement Problem description   ...
分类:编程语言   时间:2014-07-16 08:24:14    阅读次数:379
7.12归来赛_B
Prime Judge 时间限制 1000 ms 内存限制 65536 KB 题目描述 众所周知,如果一个正整数只能被1和自身整除,那么该数被称为素数。题目的任务很简单,就是判定一个数是否是一个素数。 只不过可能数的形式与正整数有一些不同,数的形式为a+bi,其中a、b为整数,且ii被定义为-1。如果a+bi能被分解为(a1+b1i)(a2+b2i)的形式,那么该数不是素...
分类:其他好文   时间:2014-07-14 11:16:00    阅读次数:370
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!