摘要: FibonacciTime Limit:1000MSMemory Limit:65536KTotal Submissions:7715Accepted:5474DescriptionIn the Fibonacci integer sequence,F0= 0,F1= 1, andFn=Fn− 1+Fn− 2forn≥ 2. For example, the first ten terms of the Fibonacci sequence are:0, 1, 1, 2, 3, 5, 8, 13, 21, 34, …An alternative formula for the Fibonacc 阅读全文
posted @ 2013-08-17 12:57 芷水 阅读(205) 评论(0) 推荐(0) 编辑
摘要: C LooooopsTime Limit:1000MSMemory Limit:65536KTotal Submissions:15066Accepted:3820DescriptionA Compiler Mystery: We are given a C-language style for loop of typefor (variable = A; variable != B; variable += C) statement;I.e., a loop which starts by setting variable to value A and while variable is . 阅读全文
posted @ 2013-08-17 09:58 芷水 阅读(242) 评论(0) 推荐(0) 编辑