wojiaohuangyu的专栏

一步一个脚印

nyoj-1078 汉诺塔(四)

#include #include #include int main(){ int T,n,m,i,j,k,t,flag; scanf("%d",&T); while(T--){ scanf("%d",&m); int a[m...

2015-04-07 16:48:57

阅读数:535

评论数:0

hdu-2709 Sumsets

规律题,如果多写出几组数据就可以找出规律了。。。。 代码:#include #include __int64 num[1200000]; int main(){ __int64 n; int i,j,k,t; memset(num,0,sizeof(num)); ...

2015-02-10 19:47:53

阅读数:359

评论数:0

nyoj-68 三点顺序

题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=68 看的大神的解析:http://blog.csdn.net/sjl_leaf/article/details/8789785#include #include int main(){ ...

2015-01-13 11:45:52

阅读数:377

评论数:0

nyoj-123 盗梦空间

题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=125 题目不经过自己调试ac的不算ac....#include #include int main(){ int n,m; int i,j,k,t,ans; int numa,nu...

2015-01-11 16:16:59

阅读数:624

评论数:0

nyoj-469 擅长排列的小明 II

题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=469 规律题,找到规律的话就不难了,但是找不到规律的话就不知道从何下手了。。。。。。#include #include int main(){ int num[60]; num[0]...

2015-01-11 00:46:19

阅读数:509

评论数:0

nyoj-76 超级台阶

题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=76斐波那数列 代码: #include #include int main(){ int num[45]; int n,m; int i,j,k,t; memset(num,0,s...

2014-12-17 21:19:47

阅读数:446

评论数:0

nyoj-252 01串

题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=252简单水题 代码: #include #include int main(){ int n,t; int num[120]; memset(num,0,sizeof(num)); ...

2014-12-16 18:48:51

阅读数:470

评论数:0

nyoj-nyoj An problem about date 吉姆拉森公式

题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=219#include #include int main(){ int year,month,day; while(~scanf("%d %d %d",&...

2014-12-14 22:39:23

阅读数:711

评论数:0

hdu 1060 Leftmost Digit

Problem Description Given a positive integer N, you should output the leftmost digit of N^N.   Input The input contains several test cases. T...

2014-11-08 23:35:58

阅读数:383

评论数:0

hdu-5018

Revenge of Fibonacci Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 703    Accepted Submi...

2014-11-03 21:04:57

阅读数:340

评论数:0

nyoj-254

编号统计 时间限制:2000 ms  |  内存限制:65535 KB 难度:2 描述zyc最近比较无聊,于是他想去做一次无聊的统计一下。他把全校同学的地址都统计了一下(zyc都将地址转化成了编码),然后他希望知道那个地方的同学最多(如果同学最多的地方有多个,输出编号最小...

2014-10-31 10:45:55

阅读数:383

评论数:0

hdu-2516

取石子游戏 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2890    Accepted Submission(s): 1674...

2014-10-23 12:11:19

阅读数:309

评论数:0

九余数定理

Eddy's digital Roots Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 4634    Accepted Subm...

2014-10-12 19:54:35

阅读数:487

评论数:0

hdu-1719 Friend

http://acm.hdu.edu.cn/showproblem.php?pid=1719

2014-08-25 16:44:58

阅读数:468

评论数:0

hdu-2190

悼念512汶川大地震遇难同胞——重建希望小学 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4187    Accepted S...

2014-08-19 19:55:03

阅读数:528

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭