2014年5月7日
摘要:
一道水题.....大意是一条1inch的虫子在一个n inch的盒子的底部,有足够的能够每一分钟往上爬u inch,但是需要休息一分钟,这期间会往下掉d inch,虫子爬到盒子口即认为结束。要求计算出给定的n,u,d虫子爬上的时间。 1 /******************************...
阅读全文
posted @ 2014-05-07 14:09
笑侃码农
阅读(421)
推荐(0)
2014年5月6日
摘要:
The Problem问题Consider the following algorithm:考虑下面的算法:123456input nprint nifn = 1 then stopifn is odd then n j)16 {17 i1=j;18 ...
阅读全文
posted @ 2014-05-06 14:38
笑侃码农
阅读(599)
推荐(0)
2014年5月5日
摘要:
Problem DescriptionA number of students sit in a circle facing their teacher in the center. Each student initially has an even number of pieces of can...
阅读全文
posted @ 2014-05-05 20:43
笑侃码农
阅读(747)
推荐(0)
摘要:
AHRS(航姿参考系统)和IMU(惯性测量单元)的区别[测试测量]发布时间:2010-05-09 16:52:09http://bbs.ednchina.com/BLOG_ARTICLE_1616967.HTM刚开始的时候我总是搞不清楚AHRS和IMU的区别。。不知道这有什么区别。。后来慢慢的慢慢的...
阅读全文
posted @ 2014-05-05 16:37
笑侃码农
阅读(670)
推荐(0)
2014年4月27日
摘要:
今天第一次去那个平台做题,上面的题目很多....难度也分的很清楚.....于是做了一个初级难度的题目,结果将近搞了一个下午才做出来.....题目大意:在字符串中找出连续最长的数字串写一个函数,它的原形是int Continumax(char** outputstr,char *intputstr)功...
阅读全文
posted @ 2014-04-27 17:16
笑侃码农
阅读(941)
推荐(0)
2014年4月26日
摘要:
本题的大意是要求计算出颜色出现频率最高的那个气球...虽然不是很难,但是还是学到了一些知识,二维数组的运用,由于题目输入的是不超过15个字符的颜色,所以我使用一个二维数组来装颜色,每一行装一种颜色...再与以前初次的颜色进行比较,得到最大的那个数据即使出现次数最高的那个颜色,输出即可...代码如下:...
阅读全文
posted @ 2014-04-26 13:28
笑侃码农
阅读(729)
推荐(0)
2014年4月25日
摘要:
本题是一个非常简单的升序排序题目,但那时在做的时候把题目看错了,导致花费了大量的时间来检查为什么WA,最后发现题目看错了..... 1 /************************************************* 2 杭电acm,1040,已AC 3 ************...
阅读全文
posted @ 2014-04-25 14:42
笑侃码农
阅读(834)
推荐(0)
2014年4月24日
摘要:
Problem DescriptionFor products that are wrapped in small packings it is necessary that the sheet of paper containing the directions for use is folded...
阅读全文
posted @ 2014-04-24 13:24
笑侃码农
阅读(680)
推荐(0)
2014年4月22日
摘要:
Problem DescriptionIgnatius is poor at math,he falls across a puzzle problem,so he has no choice but to appeal to Eddy. this problem describes that:f(...
阅读全文
posted @ 2014-04-22 14:01
笑侃码农
阅读(610)
推荐(0)
2014年4月20日
摘要:
Problem DescriptionAs the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(becau...
阅读全文
posted @ 2014-04-20 13:22
笑侃码农
阅读(400)
推荐(0)