本文主要是介绍hdu-2082-F(N),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
|
F(N)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3546 Accepted Submission(s): 1220 Problem Description ![]() Giving the N, can you tell me the answer of F(N)? Input Each test case contains a single integer N(1<=N<=10^9). The input is terminated by a set starting with N = 0. This set should not be processed. Output For each test case, output on a line the value of the F(N)%2009. Sample Input
Sample Output
|
这篇关于hdu-2082-F(N)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!