摘要: 1024. 排序Input Format第一行:正整数n,表示需要排序的数字的个数;第二行:n个正整数,代表需要排序的数字。Output Format输出共一行,n个正整数,为从小到大排序后的结果。Sample Input32 1 3Sample Output1 2 3Limitsn 2 void ... 阅读全文
posted @ 2014-06-18 13:31 BlueLuffy 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 1024. 排序Input Format第一行:正整数n,表示需要排序的数字的个数;第二行:n个正整数,代表需要排序的数字。Output Format输出共一行,n个正整数,为从小到大排序后的结果。Sample Input32 1 3Sample Output1 2 3Limitsn<10000,时... 阅读全文
posted @ 2014-06-18 13:12 BlueLuffy 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 1022. Fib数列Description定义Fib数列:1,1,2,3,5,8,13,…求第N项除以2010的余数Input Format输入仅一行,为一个整数NOutput Format输出仅一行,为第N项除以2010的余数Sample Input3Sample Output2Limits:对... 阅读全文
posted @ 2014-06-18 13:00 BlueLuffy 阅读(1050) 评论(0) 推荐(0) 编辑