码迷,mamicode.com
首页 >  
搜索关键字:vitual judge    ( 1412个结果
Let the Balloon Rise
问题陈述: 杭州电子科技大学HANGZHOU DIANZI UNIVERSITY Online Judge Problem - 1004问题解析: 输出每组数据中出现次数最多的颜色。代码详解: 1 #include 2 #include 3 #include 4 5 using na...
分类:其他好文   时间:2015-02-09 00:43:54    阅读次数:267
A+B Problem II
问题陈述: 杭州电子科技大学 HANGZHOU DIANZI UNIVERSITY Online Judge Problem - 1002代码详解(Java): import java.io.BufferedInputStream;import java.math.BigInteger;impo.....
分类:其他好文   时间:2015-02-08 21:50:48    阅读次数:103
poj3239 Solution to the n Queens Puzzle (n皇后问题)
Solution to the n Queens Puzzle Time Limit: 1000MS   Memory Limit: 131072K Total Submissions: 3494   Accepted: 1285   Special Judge Description The eight queens puz...
分类:其他好文   时间:2015-02-07 09:13:07    阅读次数:170
HDU 1001 Sum Problem C/C++
Problem DescriptionHey, welcome to HDOJ(Hangzhou Dianzi University Online Judge).In this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + ... +...
分类:编程语言   时间:2015-02-06 20:27:57    阅读次数:167
寒假练习 01
这一系列的练习主要在Virtual Judge上进行,题目为小白书上的题目推荐。UVa 10055注意两个数的大小关系,水题。#include using namespace std;int main(){ long long x, y; while(cin >> x >> y) { if(x >....
分类:其他好文   时间:2015-02-06 18:36:33    阅读次数:176
1035. Password
1035. Password (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueTo prepare for PAT, the judge sometimes has to generate random passwords ...
分类:其他好文   时间:2015-02-05 17:48:11    阅读次数:190
PAT1035. Password
To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords ...
分类:其他好文   时间:2015-02-04 18:02:49    阅读次数:154
poj 1293 Duty Free Shop
Duty Free Shop Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 1145   Accepted: 452   Special Judge Description Pedro travelled to Europe to take part in t...
分类:其他好文   时间:2015-02-03 11:17:03    阅读次数:130
现在给出你一些数,要求你写出一个程序,输出这些整数相邻最近的素数,并输出其相距长度。如果左右有等距离长度素数,则输出左侧的值及相应距离。 如果输入的整数本身就是素数,则输出该素数本身,
#include #include int judge(int n) { int i,k; for(i=2,k=1;i      if(n%i==0)         {         k=0;       break;                }  return k;  }      int main()  {  int N,M,i,a...
分类:其他好文   时间:2015-02-02 21:31:29    阅读次数:121
Leetcode Majority Element
感觉Leetcode出书了以后judge速度快了不少,可是新出的题目质量不大好Given an array of sizen, find the majority element. The majority element is the element that appears more than?...
分类:其他好文   时间:2015-02-02 15:33:53    阅读次数:124
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!