- 博客(14)
- 收藏
- 关注
原创 HDU 4135 Co-prime(质因数分解+容斥原理)
Co-primeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6969 Accepted Submission(s): 2751 Problem DescriptionGiven a number N, you ar...
2018-07-26 21:52:03 197
原创 POJ 2407 Relatives
RelativesTime Limit: 1000MS Memory Limit: 65536K Total Submissions: 16322 Accepted: 8272 DescriptionGiven n, a positive integer, how many positive integers less than n are rela...
2018-07-26 21:44:08 130
原创 POJ 2653 Pick-up sticks(线段相交)
Pick-up sticksTime Limit: 3000MS Memory Limit: 65536K Total Submissions: 14721 Accepted: 5550 DescriptionStan has n sticks of various length. He throws them one at a time on th...
2018-07-26 21:30:55 115
原创 POJ 1265 Area(皮克定理)
AreaTime Limit: 1000MS Memory Limit: 10000K Total Submissions: 7340 Accepted: 3119 DescriptionBeing well known for its highly innovative products, Merck would definitely be a g...
2018-07-26 21:21:09 1088
原创 poj 3348 Cows(凸包面积)
CowsTime Limit: 2000MS Memory Limit: 65536K Total Submissions: 10647 Accepted: 4661 DescriptionYour friend to the south is interested in building fences and turning plowshares ...
2018-07-26 21:13:10 179
原创 【HDU 4006】The kth great number
The kth great numberTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 13728 Accepted Submission(s): 5357 Problem DescriptionXiao Ming a...
2018-07-24 23:37:55 239
原创 【codeforces 894A】QAQ
A. QAQtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output"QAQ" is a word to denote an expression of crying. Imagine "Q" as eyes with...
2018-07-23 08:02:02 271
原创 【HDU 1263】水果(迭代器)
水果 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 10631 Accepted Submission(s): 4225 Problem Description 夏天来了~~好开...
2018-07-22 10:34:28 137
原创 【codeforces 1009C】Annoying Present(思维)
C. Annoying Presenttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlice got an array of length nn as a birthday present once again! This is the t...
2018-07-15 12:20:35 526
原创 【HDU 2204】Eddy's爱好(容斥原理)
Eddy's爱好Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2885 Accepted Submission(s): 1408Problem DescriptionIgnatius 喜欢收集蝴蝶标本和邮票,但是Eddy的爱好很特别...
2018-07-14 20:54:42 597
原创 【HDU 1754】 I Hate It(线段树基础)
I Hate ItTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 95618 Accepted Submission(s): 36179Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当...
2018-07-13 15:51:09 122
原创 【codeforces 1003D】Coins and Queries(思维)
D. Coins and Queriestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp has nn coins, the value of the ii-th coin is aiai. It is guaranteed t...
2018-07-12 20:53:33 270
原创 【hdu 1142】A Walk Through the Forest(最短路+DFS)
A Walk Through the ForestTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9950 Accepted Submission(s): 3625Problem DescriptionJimmy experience...
2018-07-12 10:24:35 182
原创 牛客Wannafly 挑战赛19 A【队列Q】
链接:https://www.nowcoder.com/acm/contest/131/A来源:牛客网ZZT 创造了一个队列 Q。这个队列包含了 N 个元素,队列中的第 i 个元素用 Qi 表示。Q1 表示队头元素,QN 表示队尾元素。队列中的元素是 N 的一个全排列。 ZZT 需要在这个队列上执行 P 次操作,操作分两种: FIRST X: 将元素 X 移到队头。 LAST X: 将元素 X...
2018-07-07 19:13:20 329
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人