
递归
文章平均质量分 61
hubayi31072
这个作者很懒,什么都没留下…
展开
-
【hpu oj 1127 用递归求数组中元素的最大值以及下标】
点击打开链接本题很简单,但是先容我吐槽一会儿,如果用while(~scanf("%d",&n))反而会输出超限。。。笑死我了。。。。1127: 【C语言程序设计】[7.4.2]最大元素 [水题]时间限制: 1 Sec 内存限制: 128 MB提交: 257 解决: 72 统计题目描述编一个程序,读入n个元素的实型数组,然后调用一个函数原创 2017-08-21 20:51:41 · 1165 阅读 · 1 评论 -
【zoj1004 vector stack STL】anagrams by stack
点击打开链接Anagrams by StackTime Limit: 2 Seconds Memory Limit: 65536 KBHow can anagrams result from sequences of stack operations? There are two sequences of stack operators which原创 2018-01-22 22:41:19 · 271 阅读 · 0 评论 -
[codeforce 347 C. Alice and Bob]
点击打开链接C. Alice and Bobtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt is so boring in the summer holiday, isn't it? So Alice and Bob have inven...原创 2018-03-18 21:01:00 · 306 阅读 · 0 评论