- 博客(9)
- 收藏
- 关注
原创 唯一分解定理+因子个数+因子和
#include <iostream>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <algorithm>#include <math.h>#include <cmath>#include <vector
2018-04-28 17:19:55 1188 2
原创 poj 2653 Pick-up sticks 判断线段相交(快速排斥试验+跨立实验)
Pick-up sticksTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 14420 Accepted: 5463DescriptionStan has n sticks of various length. He throws them one at a time on the floor in a random way. A...
2018-04-26 17:07:15 224
原创 计蒜客2018 ACM-ICPC 中国大学生程序设计竞赛线上赛 B. Goldbach 哥德巴赫猜想
Description:Goldbach's conjecture is one of the oldest and best-known unsolved problems in number theory and all of mathematics. It states:Every even integer greater than 2 can be expressed as the sum...
2018-04-23 20:21:31 508
原创 mcpc2017 Hopscotch 组合数
5095: Hopscotch题目描述You’re playing hopscotch! You start at the origin and your goal is to hop to the lattice point (N, N). A hop consists of going from lattice point (x1, y1) to (x2, y2), where x1 <...
2018-04-23 13:46:42 252
原创 Minimum Sum(二分+RMQ查找下标) AtCoder Grand Contest 005
Minimum Sum题目描述One day, Snuke was given a permutation of length N, a1,a2,…,aN, from his friend.Find the following:Constraints1≤N≤200,000(a1,a2,…,aN) is a permutation of (1,2,…,N)
2018-04-15 18:28:09 374
原创 4981: Collatz Conjecture
4981: Collatz Conjecture题目描述In 1978 AD the great Sir Isaac Newton, whilst proving that P is a strict superset of N P, defined the Beta Alpha Pi Zeta function f as follows over any sequence of positive...
2018-04-11 22:00:05 272
原创 Twice Equation(递推+java大数)
问题 L: Twice Equation题目描述For given L, find the smallest n no smaller than L for which there exists an positive integer m for which 2m(m + 1) = n(n + 1).输入This problem contains multiple test cases. The ...
2018-04-08 21:33:30 555
原创 The Chosen One(简单java大数)
The Chosen One题目描述Welcome to the 2017 ACM-ICPC Asia Nanning Regional Contest.Here is a breaking news. Now you have a chance to meet alone with the Asia Director through a game.All boys and girls who c...
2018-04-08 21:26:56 586
原创 Mysterious Light
Mysterious Light题目描述Snuke is conducting an optical experiment using mirrors and his new invention, the rifle of Mysterious Light.Three mirrors of length N are set so that they form an equilateral tri...
2018-04-08 21:17:51 266
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人