上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 2016年没有参赛,在师兄的介绍下,试了一下简单的一题,需要注意的是读写数据的形式还有具体代码。 2016资格赛 A题 Problem Bleatrix Trotter the sheep has devised a strategy that helps her fall asleep faste 阅读全文
posted @ 2016-05-08 14:33 fisherinbox 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 小Hi和小Ho是一对好朋友,出生在信息化社会的他们对编程产生了莫大的兴趣,他们约定好互相帮助,在编程的学习道路上一同前进。 这一天,他们遇到了一只河蟹,于 阅读全文
posted @ 2016-05-07 17:32 fisherinbox 阅读(418) 评论(0) 推荐(0) 编辑
摘要: #1014 : Trie树 #1014 : Trie树 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 小Hi和小Ho是一对好朋友,出生在信息化社会的他们对编程产生了莫大的兴趣,他们约定好互相帮助,在编程的学习道路上一同前进。 这一天,他们遇到了一本词典,于是小Hi就向 阅读全文
posted @ 2016-05-04 16:37 fisherinbox 阅读(382) 评论(0) 推荐(0) 编辑
摘要: #1051 : 补提交卡 #1051 : 补提交卡 时间限制:2000ms 单点时限:1000ms 内存限制:256MB 描述 小Ho给自己定了一个宏伟的目标:连续100天每天坚持在hihoCoder上提交一个程序。100天过去了,小Ho查看自己的提交记录发现有N天因为贪玩忘记提交了。于是小Ho软磨 阅读全文
posted @ 2016-04-29 09:20 fisherinbox 阅读(365) 评论(0) 推荐(0) 编辑
摘要: Write a function that takes a string as input and returns the string reversed. Example:Given s = "hello", return "olleh"。 思路:比较容易从代码看明白。注意下StringBuffe 阅读全文
posted @ 2016-04-27 17:21 fisherinbox 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum pro 阅读全文
posted @ 2016-04-27 16:29 fisherinbox 阅读(316) 评论(0) 推荐(0) 编辑
摘要: Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. click to show follow up. Follow up: Did you use extra sp 阅读全文
posted @ 2016-04-27 14:49 fisherinbox 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted f 阅读全文
posted @ 2016-04-25 11:37 fisherinbox 阅读(136) 评论(0) 推荐(0) 编辑
摘要: According to the Wikipedia's article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John 阅读全文
posted @ 2016-04-24 17:59 fisherinbox 阅读(328) 评论(0) 推荐(0) 编辑
摘要: n对括号的有效组合数 参考:https://zh.wikipedia.org/wiki/%E5%8D%A1%E5%A1%94%E5%85%B0%E6%95%B0 阅读全文
posted @ 2016-04-24 11:44 fisherinbox 阅读(1093) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页