随笔分类 - 大数~
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要:题目描述给你两个很大的数,你能不能判断出他们两个数的大小呢?比如123456789123456789要大于-123456输入每组测试数据占一行,输入两个不超过1000位的10进制整数a,b数据保证输入的a,b没有前缀的0。如果输入0 0表示输入结束。测试数据组数不超过...
阅读全文
摘要:Hat's FibonacciA Fibonacci sequence is calculated by adding the previous two members the sequence, with the first two members being bo...
阅读全文

浙公网安备 33010602011771号