随笔分类 -  数学

摘要:Daylight Saving Time Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description Last month, xiaodao together 阅读全文
posted @ 2017-09-15 20:03 jhz033 阅读(455) 评论(0) 推荐(0)
摘要:Code Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description WLD likes playing with codes.One day he is w 阅读全文
posted @ 2017-09-08 20:23 jhz033 阅读(174) 评论(0) 推荐(0)
摘要:Counting Divisors Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others) Problem Description In mathematics, the function 阅读全文
posted @ 2017-08-03 17:18 jhz033 阅读(192) 评论(0) 推荐(0)
摘要:TrickGCD Time Limit: 5000/2500 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Problem Description You are given an array A , and Zhu wan 阅读全文
posted @ 2017-07-27 17:15 jhz033 阅读(1841) 评论(7) 推荐(0)
摘要:简单GCD问题(一) Time Limit: 1500/500MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others) 秦队长给你两个长度为nn的序列AA和BB,第ii个数分别为aiai和bibi请你求出∑1≤i,j≤ngcd(i,j)ai 阅读全文
posted @ 2017-07-23 19:52 jhz033 阅读(268) 评论(0) 推荐(0)
摘要:Xiao Ming's Hope Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description Xiao Ming likes counting numbers 阅读全文
posted @ 2017-07-21 19:13 jhz033 阅读(263) 评论(0) 推荐(0)
摘要:#1196 : 高斯消元·二 #1196 : 高斯消元·二 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 在上一回中,小Hi和小Ho趁着便利店打折,买了一大堆零食。当他们结账后,看到便利店门口还有其他的活动。 店主:买了东西还可以参加游戏活动哦,如果能够完成游戏还有额 阅读全文
posted @ 2017-05-16 17:32 jhz033 阅读(255) 评论(0) 推荐(0)
摘要:E. Pretty Song time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output E. Pretty Song time limit 阅读全文
posted @ 2017-04-18 13:35 jhz033 阅读(322) 评论(0) 推荐(0)
摘要:题目链接:http://codeforces.com/contest/785 A. Anton and Polyhedrons time limit per test 2 seconds memory limit per test 256 megabytes input standard input 阅读全文
posted @ 2017-03-18 17:52 jhz033 阅读(381) 评论(0) 推荐(0)
摘要:C. Tennis Championship time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Famous Brazil cit 阅读全文
posted @ 2016-11-28 16:36 jhz033 阅读(337) 评论(0) 推荐(0)
摘要:题目链接:Taxes D. Taxes time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output 题目链接:Taxes D. Taxes 阅读全文
posted @ 2016-11-28 16:30 jhz033 阅读(268) 评论(0) 推荐(0)
摘要:Fibonacci Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others) Problem Description We know the Fibonacci SequenceF1=1,F2=1 阅读全文
posted @ 2016-10-27 21:32 jhz033 阅读(241) 评论(0) 推荐(0)
摘要:F. Video Cards time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Little Vlad is fond of pop 阅读全文
posted @ 2016-10-22 12:42 jhz033 阅读(321) 评论(0) 推荐(0)
摘要:题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4763 题意:给你一个区间L,R;求区间所有数的并,和或的答案; 思路:两个数的二进制长度不一样 阅读全文
posted @ 2016-10-21 20:29 jhz033 阅读(137) 评论(0) 推荐(0)
摘要:C. Dreamoon and Sums time limit per test 1.5 seconds memory limit per test 256 megabytes input standard input output standard output Dreamoon loves su 阅读全文
posted @ 2016-10-16 14:22 jhz033 阅读(136) 评论(0) 推荐(0)
摘要:E. Vanya and Field time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output E. Vanya and Field ti 阅读全文
posted @ 2016-09-30 15:03 jhz033 阅读(199) 评论(0) 推荐(0)
摘要:D. Vanya and Computer Game time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Vanya and his 阅读全文
posted @ 2016-09-28 19:06 jhz033 阅读(163) 评论(0) 推荐(0)
摘要:Harmonic Number (II) Description I was trying to solve problem '1234 - Harmonic Number', I wrote the following code long long H( int n ) { long long r 阅读全文
posted @ 2016-08-18 20:32 jhz033 阅读(169) 评论(0) 推荐(0)
摘要:n!的长度为 ll ans = log10(2*pi*n)/2 + n*(log10(n/exp(1.0)))+1; n!的长度为 ll ans = log10(2*pi*n)/2 + n*(log10(n/exp(1.0)))+1; 阅读全文
posted @ 2016-08-17 11:20 jhz033 阅读(149) 评论(0) 推荐(0)
摘要:D. Road to Post Office time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vasiliy has a car 阅读全文
posted @ 2016-08-07 15:53 jhz033 阅读(168) 评论(0) 推荐(0)