随笔分类 -  大数~

摘要:Rearrange ThemN people stand in a line, and we numbered them 1,2...n, and now you are asked to rearrange them. The ith people is consi... 阅读全文
posted @ 2018-05-05 20:54 _大美 阅读(175) 评论(0) 推荐(0)
摘要:A * B Problem Plus Calculate A * B. InputEach line will contain two integers A and B. Process to end of file. Note: the length of each... 阅读全文
posted @ 2017-11-13 10:53 _大美 阅读(191) 评论(0) 推荐(0)
摘要:题目描述给你两个很大的数,你能不能判断出他们两个数的大小呢?比如123456789123456789要大于-123456输入每组测试数据占一行,输入两个不超过1000位的10进制整数a,b数据保证输入的a,b没有前缀的0。如果输入0 0表示输入结束。测试数据组数不超过... 阅读全文
posted @ 2017-10-31 20:16 _大美 阅读(134) 评论(0) 推荐(0)
摘要:Hat's FibonacciA Fibonacci sequence is calculated by adding the previous two members the sequence, with the first two members being bo... 阅读全文
posted @ 2017-09-13 20:59 _大美 阅读(142) 评论(0) 推荐(0)