高精度,java做View Code import java.util.*;import java.io.*;import java.math.*;public class Main { static public void main(String args[]) throws FileNotFoundException{ Scanner cin = new Scanner(new BufferedInputStream(System.in)); //Scanner cin = new Scanner(new FileInputStream("t.txt")); Strin
转载 2011-05-25 12:36:00
23阅读
2评论
题目链接:http://poj.org/problem?id=2389 题意:给你两个数,让你输出相乘的结果 解析
原创 2022-11-23 10:12:32
34阅读
原题: Description Bulls are so much better at math than the cows. They can multiply huge integers together and get perfectly precise answers ... or so they say. Farmer John wonders if their answers ar
原创 2013-04-04 11:53:00
588阅读
Bull MathTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 15040 Accepted: 7737Des...
转载 2017-02-17 09:05:00
36阅读
2评论
Bull MathTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 15040 Accepted: 7737Des...
转载 2017-02-17 09:05:00
39阅读
2评论
直接上代码了:#include#include#include#include#include#include#include#include#include#include#define LL long long#define MAX(a,b) (a>b?a:b)#...
转载 2017-03-27 21:58:00
38阅读
2评论
Bull MathTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 15040 Accepted: 7737DescriptionBulls are so much better at math tha...
转载 2017-02-17 09:05:00
53阅读
2评论
= =、每次这种题目说只有40位 然而要开到100位,心里总是一万匹草泥马在奔腾;#include #include #include #include #include #include #include #include #include #include using name...
转载 2016-07-04 10:05:00
21阅读
ccepted: 6873DescriptionBulls are so much better at math than
原创 2022-09-26 14:52:29
35阅读
Bull MathTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 14629Accepted: 7514DescriptionBulls are so much better at math than the cows. They can multipl
原创 2022-08-11 15:09:56
54阅读
题干: Bulls are so much better at mat
原创 2022-06-15 10:40:30
31阅读
Description:Bulls are so much better at math than the cows. They can multiply huge integers together and get perfectly precise answers ... or so they say. Farmer John wonders if their answers are c...
原创 2023-05-09 10:03:41
126阅读
题目:http://bailian.openjudge.cn/practice/2980?lang=en_US http://poj.org/problem?id=2389题意:求两个不超过200位的非负整数的积。Input 有两行,每行是一个不超过200位的非负整数,没有多余的前导0。 Output 一行,即相乘后的结果。结果里不能有多余的前导0,即如果结果是342,那么就不能输出为034
原创 2017-05-13 14:28:07
118阅读
题干:Bulls are so much better at mat than th
原创 2022-06-15 16:10:34
78阅读
这个题就是有一个精度误差的问题 其它还好题目描述Before the 2009 elections at the European Parliament, Bill and Ted have asked their friends to make guesses about the outcome of the ballot. Now, the results have been published, so Bill and Ted want to check who was right. But checking the results of their many friends would
转载 2012-02-26 21:01:00
37阅读
2评论
就是两个比较大的数相乘,用数组就可以解决。不过要注意一下数组存的时候数对应的
原创 2023-07-27 18:44:24
56阅读
Problem DescriptionYou’re giving a party in the garden of your villa by the sea. The party is a huge success, and everyone is here. It’s a warm, sunny evening, and a soothing wind sends fresh, salty air from the sea. The evening is progressing just as you had imagined. It could be the perfect end of
hdu
原创 2021-07-29 16:24:54
48阅读
题目链接:The Trip On Abandoned Railway题目大意:给你一个长度为n的数列和一
原创 2022-08-31 10:32:19
33阅读
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2389思路:纯裸的一个最大匹配题,不过悲摧的是以前一直用的dfs版一直过不了,TLE无数次啊,然后改成bfs就过了。 1 #include<iostream> 2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<vector> 6 #include<cmath> 7 #include<queue> 8 using namesp
转载 2013-06-18 01:51:00
53阅读
2评论
一、内容 You’re giving a party in the garden of your villa by the sea. The party is a huge success, and everyone is here. It’s a warm, sunny evening, and a soothing wind sends fresh, salty air from the s...
原创 2021-08-27 14:17:43
87阅读
  • 1
  • 2
  • 3
  • 4
  • 5