- 博客(3)
- 资源 (8)
- 收藏
- 关注
原创 hdu - GCC - 取模与同余 - 数论
GCCProblem DescriptionThe GNU Compiler Collection (usually shortened to GCC) is a compiler system produced by the GNU Project supporting various programming languages. But it doesn’t contains the math operator “!”.In mathematics the symbol represents th
2017-03-25 13:36:26 391
原创 高精度计算
计算国债对于计算机来说是一件很繁重的事情,该问题涉及到的精度很高,现需要你编写一个程序用来计算R的n次方,这里R是一个实数(0.0<R<99.999),而n是一个整数(n<=30)。 Input第1行是测试数据的组数m,每组测试数据占1行,每行包括一对数R和n。 Output对应每组测试数据输出一行结果,结果是R的n次的精确值,首尾无意义的零不要输出,如果是整数,不要输出小数点。 Sample Input295.123 1298.999 10Sample Output548815620
2017-03-21 22:33:35 3099 4
原创 Prime Palindromes(回文素数)
Problem DescriptionThe number 151 is a prime palindrome because it is both a prime number and a palindrome (it is the same number when read forward as backward). Write a program that finds all prime
2017-03-18 21:49:27 1546 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人