码迷,mamicode.com
首页 >  
搜索关键字:hduoj    ( 96个结果
hduoj 1004 Let the Balloon Rise [链表解法]
原题链接: "http://acm.hdu.edu.cn/showproblem.php?pid=1004" Problem Description Contest time again! How excited it is to see balloons floating around. But ...
分类:其他好文   时间:2018-07-04 22:53:01    阅读次数:164
hduoj 1002 A + B Problem II
原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=1002 题目描述如下: A + B Problem II Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/ ...
分类:其他好文   时间:2018-07-04 22:50:31    阅读次数:212
hduoj 1004 Let the Balloon Rise [链表解法]
原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=1004 Problem Description Contest time again! How excited it is to see balloons floating around. But to ...
分类:其他好文   时间:2018-07-03 22:29:08    阅读次数:197
HduOJ 2162 - Primes
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2161 题意:判断n是不是素数,输入到0停止。题目规定1 2 都不是素数。 题解:筛素数。老题目。不过这次是普通筛23333.。之前做的题了。 1 #include<iostream> 2 #includ ...
分类:其他好文   时间:2018-05-11 20:44:35    阅读次数:135
hduoj-1301 Jungle Roads(最小生成树-克鲁斯卡尔和普里姆求解)
普里姆求解: -克鲁斯卡尔: ...
分类:其他好文   时间:2018-04-11 11:33:51    阅读次数:198
HDUOJ 1166 敌兵布阵
发现自己之前对线段树 树状数组这种数据结构只会套套模板,根本就没有理解与运用。所以打算最近开始重新学习这些数据结构。那么这就是我的树状数组第一道练习题目:敌兵布阵差不多就是模板题目 ...
分类:其他好文   时间:2017-09-08 20:33:26    阅读次数:147
HDUOJ P1702 ACboy needs your help again!
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8599 Accepted Submission(s): 4306 Problem Descrip ...
分类:其他好文   时间:2017-08-05 23:38:59    阅读次数:476
HDUOJ A Mathematical Curiosity 1017
?? 此题不难就是输出格式麻烦 #include<stdio.h> int main(){ int T; scanf("%d",&T); while(T--) { int n,m,num=0; while(scanf("%d %d",&n,&m)&&n!=0) { int a,b,sum=0; fo ...
分类:移动开发   时间:2017-08-05 22:55:29    阅读次数:217
HDUOJ A Mathematical Curiosity 1017
?? 此题不难就是输出格式麻烦 #include<stdio.h> int main(){ int T; scanf("%d",&T); while(T--) { int n,m,num=0; while(scanf("%d %d",&n,&m)&&n!=0) { int a,b,sum=0; fo ...
分类:移动开发   时间:2017-08-05 22:50:19    阅读次数:222
HDUOJ A Mathematical Curiosity 1017
?? 此题不难就是输出格式麻烦 #include<stdio.h> int main(){ int T; scanf("%d",&T); while(T--) { int n,m,num=0; while(scanf("%d %d",&n,&m)&&n!=0) { int a,b,sum=0; fo ...
分类:移动开发   时间:2017-08-05 22:44:07    阅读次数:176
96条   上一页 1 2 3 4 ... 10 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!