码迷,mamicode.com
首页 >  
搜索关键字:vitual judge    ( 1412个结果
Problem Q 蜜蜂找房子
Problem Q  蜜蜂找房子  时间限制: 1000MS   内存限制: 65536KB    Total Submit: 317  Accepted: 113  Special Judge: No 问题描述 有一只经过训练的蜜蜂只能爬向右侧相邻的蜂房,不能反向爬行。请编程计算蜜蜂从蜂房a爬到蜂房b的可能路线数。 其中,蜂房的结构如下所示: 输...
分类:其他好文   时间:2015-02-01 12:12:40    阅读次数:129
1075. PAT Judge (25)
1 #include 2 #include 3 using namespace std; 4 5 struct MyStruct 6 { 7 int grade[6]; 8 int Done[6]; 9 int Perfect; 10 int...
分类:其他好文   时间:2015-02-01 08:27:49    阅读次数:167
POJ 1041 John's trip (无向图欧拉回路)
John's trip Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 7433   Accepted: 2465   Special Judge Description Little Johnny has got a new car. He decided t...
分类:其他好文   时间:2015-01-31 22:00:06    阅读次数:252
判断是否联网_检测网络的类型为3G、2G、wap、wifi
判断是否联网_检测网络的类型为3G、2G、wap、wifi判断是否联网: /*** * judge Internet is available * * @author wei-spring * @return */ public boolean is...
分类:其他好文   时间:2015-01-31 14:20:31    阅读次数:212
Oyk的ACM刷题记录(始于2015年2月29日,可能含剧透)
Online Judge题目序号/题目简单大意/题解犯2情况2月29日SPOJGSS1不带更新区间最大子段和。线段树维护 区间从左/右开始的最大值、区间最大值、区间和。1、输出忘了换行。2、打错了一个字母。SPOJGSS2区间不重复最大子段和。离线维护s[i..now],线段树维护 区间历史最大值、...
分类:其他好文   时间:2015-01-30 00:00:52    阅读次数:305
LeetCode题目:Majority Element
这同样也是一道LeetCode Online Judge上面的题目,属于easy级别,原题如下:题目 Given an array of sizen, find the majority element. The majority element is the element that app...
分类:其他好文   时间:2015-01-29 22:16:36    阅读次数:211
Factorial Trailing Zeroes(析因,求尾随个0个数)
Given an integern, return the number of trailing zeroes inn! 这是LeetCode Online Judge上的一个原题:给定一个n,求n!中,末尾0的个数。思路n!中0的个数,可以将n!表示成 n!=m*10k,其中k就是题目要求的...
分类:其他好文   时间:2015-01-28 22:33:19    阅读次数:223
hdu4620Fruit Ninja Extreme
Fruit Ninja Extreme Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1177    Accepted Submission(s): 321 Special Judge Problem Description...
分类:其他好文   时间:2015-01-27 00:37:14    阅读次数:184
poj 3386 Halloween Holidays 水题
判断下就好,直接贴代码。 //poj 3386 //sep9 #include using namespace std; int A,a,B,b,P; int judge() { if(A+BB){ swap(A,B); swap(a,b); } if(B>P) return 0; if(A>b) return 0; ...
分类:其他好文   时间:2015-01-24 10:12:55    阅读次数:174
poj3122--Pie(二分的精度问题)
Pie Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 11178   Accepted: 3899   Special Judge Description My birthday is coming up and traditionally I'm serving...
分类:其他好文   时间:2015-01-23 13:29:39    阅读次数:281
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!