![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
高精度
文章平均质量分 70
ykycode
安徽大学计算机学硕。
两次获得大学生数学竞赛省一等奖,且排名前列。
蓝桥杯C++组省一、国三。
毕业曾被国家电网录用,热爱代码的心让我选择了一家上市公司的C++开发岗。
后来又转行Java开发。
展开
-
高精度算法总结
【代码】高精度算法总结。原创 2023-11-26 14:01:24 · 491 阅读 · 0 评论 -
杭电oj Problem-1002 A + B Problem II
A + B Problem II Problem Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. Input The first line of the input contain原创 2018-01-10 14:43:42 · 320 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1024. Palindromic Number (25)
A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number. All single digit numbers are palindromic numbers原创 2018-01-15 09:10:14 · 137 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1023. Have Fun with Numbers (20)
Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 246913578, which happens to be another 9-digit number con原创 2018-01-15 09:08:19 · 150 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1005. Spell It Right (20)
1005. Spell It Right (20) Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specification: Each i原创 2017-12-13 10:03:10 · 172 阅读 · 0 评论 -
九度题目1076:N的阶乘
题目描述: 输入一个正整数N,输出N的阶乘。 输入: 正整数N(0 输出: 输入可能包括多组数据,对于每一组输入数据,输出N的阶乘 样例输入: 4 5 15 样例输出: 24 120 1307674368000 来源:2006年清华大学计算机研究生机试真题 答疑: 解题遇到问题?分享解题心得?讨论本题请访问:htt原创 2017-09-21 01:04:29 · 275 阅读 · 0 评论 -
九度题目1198:a+b
题目描述: 实现一个加法器,使其能够输出a+b的值。 输入: 输入包括两个数a和b,其中a和b的位数不超过1000位。 输出: 可能有多组测试数据,对于每组数据, 输出a+b的值。 样例输入: 2 6 10000000000000000000 10000000000000000000000000000000 样例输出: 8 10000原创 2017-09-21 00:12:20 · 182 阅读 · 0 评论 -
九度题目1124:Digital Roots
题目描述: The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is the digital root. If the resulting value原创 2017-09-20 09:25:09 · 308 阅读 · 0 评论 -
九度OJ题目1000:计算a+b(用java编写)
用Java写高精度题目真的很爽,发现Eclipse真的很强大,用Java编写代码的确很爽!只不过比较耗时,不过对提交题目够用了! import java.io.*; import java.util.*; import java.math.*; public class Main{ public static void main(String[] args){ Scanner in=ne原创 2017-09-25 11:10:35 · 950 阅读 · 0 评论 -
ACM中java的使用(一)
1. 输入: 格式为:Scanner cin = new Scanner (new BufferedInputStream(System.in)); 例程: import java.io.*; import java.math.*; import java.util.*; import java.text.*; public class Main {转载 2017-09-24 18:57:26 · 2126 阅读 · 0 评论 -
ACM中java的使用(二)
Chapter I. Java的优缺点各种书上都有,这里只说说用Java做ACM-ICPC的特点: (1) 最明显的好处是,学会Java,可以参加Java Challenge :) (2) 对于熟悉C/C++的程序员来说,Java 并不难学,找本书,一两周业余时间就可以搞定了。当然,这里只是指一般编程,想熟悉所有的Java库还是需要些时间的。转载 2017-09-24 19:04:01 · 236 阅读 · 0 评论