码迷,mamicode.com
首页 >  
搜索关键字:hdoj    ( 2498个结果
HDoj-1228-A + B
A + B Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 12153    Accepted Submission(s): 7103 Problem Description 读入两个小于100的正整数A和B,计算A+B....
分类:其他好文   时间:2014-10-13 18:41:40    阅读次数:166
hdoj 4324 Triangle LOVE 【拓扑】
Triangle LOVE Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 2586    Accepted Submission(s): 1051 Problem Description Recently, sc...
分类:其他好文   时间:2014-10-13 13:08:05    阅读次数:271
零基础(伪)HDOJ水题总结【1】
首先要解决的是输入输出的问题。作为一个渣渣新手,我用以前学的 C++写了错误代码提交,后果可想而知。所以认认真真的看了【ACM新手之八大输入输出】,格式记好,在后面运用会越用越熟的。2000很easy的一题,首先,现在假设我什么都不会(至少编译器,头文件,基本格式知道)我要解决该怎么办?(以后需要学...
分类:其他好文   时间:2014-10-13 02:27:38    阅读次数:298
零基础(伪)HDOJ水题总结【1】
首先要解决的是输入输出的问题。作为一个渣渣新手,我用以前学的 C++写了错误代码提交,后果可想而知。所以认认真真的看了【ACM新手之八大输入输出】,格式记好,在后面运用会越用越熟的。2000很easy的一题,首先,现在假设我什么都不会(至少编译器,头文件,基本格式知道)我要解决该怎么办?(以后需要学...
分类:其他好文   时间:2014-10-13 02:20:29    阅读次数:150
hdoj 2183 奇数阶魔方(II) 【模拟】+【规律】
比赛的时候花了一个多小时还是没做出来 分析:观察得到:最中间是(n*n+1)/2, 中间的上面是n*n,下面是1, 左边是n,右面是(n*n+1)-n,而且正对角线是最左上对到最右下端增加(+1),另外一条对角线是最右上到最左下递减(-n) ,其他对角线也是这样的规律。 难点:模拟的时候数据有点杂,很容易搞错,要细心点。 心得:做题的时候要先确定思路是正确的,并且要履好思路之后在敲代码。 ...
分类:其他好文   时间:2014-10-12 20:52:38    阅读次数:226
HDoj-1013
Problem Description The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is the digital root. If the resultin...
分类:其他好文   时间:2014-10-12 19:46:59    阅读次数:205
HDoj-2524 - 矩形A+B
Problem Description 给你一个高为n ,宽为m列的网格,计算出这个网格中有多少个矩形,下图为高为2,宽为4的网格. Input 第一行输入一个t, 表示有t组数据,然后每行输入n,m,分别表示网格的高和宽 ( n Output 每行输出网格中有多少个矩形. Sample Input 2 1 2 2 4 Sample Output 3 ...
分类:其他好文   时间:2014-10-12 19:22:28    阅读次数:269
HDoj-2095-与众不同
Problem Description In the new year party, everybody will get a "special present".Now it's your turn to get your special present, a lot of presents now putting on the desk, and only one of them will ...
分类:其他好文   时间:2014-10-12 19:14:08    阅读次数:208
【HDOJ】5063 Operation the Sequence
1 #include 2 #include 3 #include 4 5 #define MAXN 100005 6 #define MOD 1000000007 7 int que[MAXN], front = 0, rear = 0; 8 int n; 9 10 void query(...
分类:其他好文   时间:2014-10-12 00:27:06    阅读次数:302
HDoj-1042 大数阶乘
N! Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 53785    Accepted Submission(s): 15217 Problem Description Given an integer N(0 ≤ N ≤ 1...
分类:其他好文   时间:2014-10-11 22:04:37    阅读次数:225
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!