
高精度
文章平均质量分 70
ykycode
安徽大学计算机学硕。
两次获得大学生数学竞赛省一等奖,且排名前列。
蓝桥杯C++组省一、国三。
毕业曾被国家电网录用,热爱代码的心让我选择了一家上市公司的C++开发岗。
后来又转行Java开发。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
高精度算法总结
【代码】高精度算法总结。原创 2023-11-26 14:01:24 · 529 阅读 · 0 评论 -
杭电oj Problem-1002 A + B Problem II
A + B Problem IIProblem DescriptionI have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. InputThe first line of the input contain原创 2018-01-10 14:43:42 · 362 阅读 · 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 · 177 阅读 · 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 · 194 阅读 · 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 · 212 阅读 · 0 评论 -
九度题目1076:N的阶乘
题目描述: 输入一个正整数N,输出N的阶乘。输入:正整数N(0输出: 输入可能包括多组数据,对于每一组输入数据,输出N的阶乘样例输入:4515样例输出:241201307674368000来源:2006年清华大学计算机研究生机试真题答疑:解题遇到问题?分享解题心得?讨论本题请访问:htt原创 2017-09-21 01:04:29 · 319 阅读 · 0 评论 -
九度题目1198:a+b
题目描述:实现一个加法器,使其能够输出a+b的值。输入:输入包括两个数a和b,其中a和b的位数不超过1000位。输出:可能有多组测试数据,对于每组数据,输出a+b的值。样例输入:2 610000000000000000000 10000000000000000000000000000000样例输出:810000原创 2017-09-21 00:12:20 · 213 阅读 · 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 · 348 阅读 · 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 · 997 阅读 · 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 · 2218 阅读 · 0 评论 -
ACM中java的使用(二)
Chapter I. Java的优缺点各种书上都有,这里只说说用Java做ACM-ICPC的特点: (1) 最明显的好处是,学会Java,可以参加Java Challenge :) (2) 对于熟悉C/C++的程序员来说,Java 并不难学,找本书,一两周业余时间就可以搞定了。当然,这里只是指一般编程,想熟悉所有的Java库还是需要些时间的。转载 2017-09-24 19:04:01 · 275 阅读 · 0 评论