摘要: kugwzk.info 阅读全文
posted @ 2016-02-24 00:00 小白酷狗 阅读(182) 评论(0) 推荐(0) 编辑
摘要: The interval angle between the hour hand and the minute hand is always among 0 degree and 180 degree(including 0 and 180 degree). For example, when it... 阅读全文
posted @ 2015-12-27 20:36 小白酷狗 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 这几天杂七杂八的事情太多,再加上进入了考试周,所以很难有时间安安静静的敲敲代码,看看书,写写博客了。最近写了一些oj的题目,但是写到这个份上,发现有些做不动了。因为自己没有很系统的看过一些算法竞赛书,所以很多时候时间复杂度和空间复杂度都控制不好,所以就想写一写前段时间买的刘汝佳的紫书,也就是《算法... 阅读全文
posted @ 2015-12-27 20:14 小白酷狗 阅读(919) 评论(0) 推荐(0) 编辑
摘要: 1A.Theatre Square in the capital city of Berland has a rectangular shape with the size n × m meters. On the occasion of the city's anniversary, a deci... 阅读全文
posted @ 2015-12-26 17:09 小白酷狗 阅读(263) 评论(0) 推荐(0) 编辑
摘要: The number 151 is a prime palindrome because it is both a prime number and a palindrome (it is the same number when read forward as backward). Write a... 阅读全文
posted @ 2015-12-26 13:23 小白酷狗 阅读(859) 评论(0) 推荐(0) 编辑
摘要: Since milk packaging is such a low margin business, it is important to keep the price of the raw product (milk) as low as possible. Help Merry Milk Ma... 阅读全文
posted @ 2015-12-25 16:47 小白酷狗 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 4.Broken arrayDescriptionThere are n (n long long score[10005]={0};long long erratum(int n){ if(score[n]!=0) return score[n]; else{ ... 阅读全文
posted @ 2015-12-25 15:40 小白酷狗 阅读(196) 评论(0) 推荐(0) 编辑
摘要: A1000 A+B问题描述 输入A,B。 输出A+B。输入格式 输入包含两个整数A,B,用一个空格分隔。输出格式 输出一个整数,表示A+B的值。样例输入5 8样例输出13数据规模和约定 -1,000,000,000int main(){ int a,b; scanf("%d %... 阅读全文
posted @ 2015-12-23 16:04 小白酷狗 阅读(993) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionI have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.InputThe first line of ... 阅读全文
posted @ 2015-12-23 15:52 小白酷狗 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 其实早就想把自己会的校赛题目总结一下,但是这段时间事情很多,刚考完英语翻译,想到这段时间把学习的重心都放在ACM上,所以是时候把最近写的一些题总结一下。先说说校赛吧:和ACM正式比赛一样,一共10道题目全英文。其实现在来看我现在会的这三道题,其实难度还称不上ACM、但是自己在比赛的时候很紧张,ID... 阅读全文
posted @ 2015-12-23 15:42 小白酷狗 阅读(225) 评论(0) 推荐(0) 编辑