高精度,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评论
这个题就是有一个精度误差的问题 其它还好题目描述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评论
原题: 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: 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阅读
就是两个比较大的数相乘,用数组就可以解决。不过要注意一下数组存的时候数对应的
原创 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阅读
题目链接:http://poj.org/problem?id=2389 题意:给你两个数,让你输出相乘的结果 解析
原创 2022-11-23 10:12:32
34阅读
题目链接:The Trip On Abandoned Railway题目大意:给你一个长度为n的数列和一
原创 2022-08-31 10:32:19
33阅读
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评论
题目链接: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评论
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: 7737DescriptionBulls are so much better at math tha...
转载 2017-02-17 09:05:00
53阅读
2评论
题干: 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阅读
一、内容 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阅读
一、内容 You’re giving a party in the garden of your villa by the sea. The party is a huge success, and every
原创 2022-01-06 15:40:54
98阅读
题目链接: ​​​http://acm.hdu.edu.cn/showproblem.php?pid=2389​​用 Hopcroft-Karp 算法 匈牙利算法会超时代码:#include <stdio.h>#include <iostream>#include <math.h>#include <stdlib.h>#include <ct
原创 2023-03-04 10:36:00
93阅读
= =、每次这种题目说只有40位 然而要开到100位,心里总是一万匹草泥马在奔腾;#include #include #include #include #include #include #include #include #include #include using name...
转载 2016-07-04 10:05:00
21阅读
  #include <iostream> #include <cstdlib> #include <cstdio> #include <cstring> #include <queue> #include <cmath> using namespace std; const int MAXN = 3010; cons
转载 2018-07-14 18:53:00
52阅读
2评论
  • 1
  • 2
  • 3
  • 4