自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(38)
  • 收藏
  • 关注

原创 Codeforces Round #529 (Div. 3)

A  输出第1 2 4 7...位置的字母即可#include <bits/stdc++.h>#define fir first#define se second#define ll long long#define pb push_back#define mp make_pair#define ull unsigned long long #define cl(a...

2018-12-29 23:11:00 199

原创 HDU 6439(容斥原理+积性函数前缀和+打表)

Congruence equationTime Limit: 8000/4000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 153    Accepted Submission(s): 37 Problem DescriptionThere is a seque...

2018-08-27 17:21:23 1045

原创 牛客多校第五场 E(费用流)

链接:https://www.nowcoder.com/acm/contest/143/E来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述Nowcoder University has 4n students and n dormitories ( Four st...

2018-08-02 20:35:47 286

原创 牛客多校第五场 A(01分数规划)

链接:https://www.nowcoder.com/acm/contest/143/A来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288KSpecial Judge, 64bit IO Format: %lld题目描述Kanade selected n courses in the university. The...

2018-08-02 20:33:35 242

原创 Codeforces Round #501 (Div. 3) E(前缀和)

E2. Stars Drawing (Hard Edition)time limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA star is a figure of the following type: an ast...

2018-08-02 10:11:38 308

原创 Codeforces Round #501 (Div. 3) D(暴力)

D. Walking Between Housestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are nn houses in a row. They are numbered from 11...

2018-08-02 10:07:09 224

原创 Codeforces Round #501 (Div. 3) C(贪心)

C. Songs Compressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIvan has nn songs on his phone. The size of the ii-th song is...

2018-08-02 10:04:57 305

原创 Codeforces Round #501 (Div. 3) B(暴力)

B. Obtaining the Stringtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two strings ss and tt. Both strings have len...

2018-08-02 10:02:54 285

原创 Codeforces Round #501 (Div. 3) A(暴力)

A. Points in Segmentstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a set of nn segments on the axis OxOx, each se...

2018-08-02 10:00:05 281

原创 HDU 6331(矩阵+最短路)

Problem M. Walking PlanTime Limit: 5000/2500 MS (Java/Others)    Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 850    Accepted Submission(s): 313 Problem DescriptionThere are...

2018-08-02 09:55:20 441

原创 HDU 6327(dp)

Problem I. Random SequenceTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 392    Accepted Submission(s): 133 Problem DescriptionThere ...

2018-08-02 09:49:38 356

原创 HDU 6325(凸包)

Problem G. Interstellar TravelTime Limit: 4000/2000 MS (Java/Others)    Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 1333    Accepted Submission(s): 316 Problem DescriptionA...

2018-08-02 09:45:05 546

原创 HDU 6343(三角形不等式)

Problem L. Graph Theory HomeworkTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 272    Accepted Submission(s): 154 Problem Description...

2018-08-01 22:19:47 285

原创 HDU 6333(莫队)

Problem B. Harvest of ApplesTime Limit: 4000/2000 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 608    Accepted Submission(s): 212 Problem DescriptionTher...

2018-08-01 22:13:36 517

原创 HDU 6319(单调栈)

Problem A. Ascending RatingTime Limit: 10000/5000 MS (Java/Others)    Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 1582    Accepted Submission(s): 442 Problem DescriptionBef...

2018-07-30 23:17:22 477

原创 HDU 6321(壮压)

Problem C. Dynamic Graph MatchingTime Limit: 8000/4000 MS (Java/Others)    Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 376    Accepted Submission(s): 145 Problem Description...

2018-07-30 23:01:02 282

原创 HDU 6324(树形dp)

Problem F. Grab The TreeTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 199    Accepted Submission(s): 137 Problem DescriptionLittle Q...

2018-07-30 22:58:39 612

原创 HDU 6330(模拟)

Problem L. Visual CubeTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 159    Accepted Submission(s): 119 Problem DescriptionLittle Q l...

2018-07-30 22:56:56 214

原创 HDU 6322(打表)

Problem D. Euler FunctionTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 138    Accepted Submission(s): 124 Problem DescriptionIn numb...

2018-07-30 22:55:58 255

原创 HDU 6314(容斥原理)

MatrixTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 332768/332768 K (Java/Others)Total Submission(s): 290    Accepted Submission(s): 72 Problem DescriptionSamwell Tarly is learning t...

2018-07-26 23:04:09 785

原创 HDU 6315(线段树)

Naive OperationsTime Limit: 6000/3000 MS (Java/Others)    Memory Limit: 502768/502768 K (Java/Others)Total Submission(s): 790    Accepted Submission(s): 293 Problem DescriptionIn a galaxy far,...

2018-07-25 23:32:10 271

原创 HDU 6318(树状数组)

Swaps and InversionsTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 449    Accepted Submission(s): 166 Problem DescriptionLong long ago,...

2018-07-25 23:29:02 505

原创 HDU 6312(打表)

Problem DescriptionAlice and Bob are playing a game.The game is played on a set of positive integers from 1 to n.In one step, the player can choose a positive integer from the set, and erase all o...

2018-07-25 23:27:08 381 1

原创 HDU 6305(笛卡尔树)

RMQ Similar SequenceTime Limit: 4000/2000 MS (Java/Others)    Memory Limit: 255535/255535 K (Java/Others)Total Submission(s): 882    Accepted Submission(s): 281 Problem DescriptionChiaki has a...

2018-07-25 10:54:18 445

原创 牛客多校第二场 G(二分)

链接:https://www.nowcoder.com/acm/contest/140/G来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述White Cloud placed n containers in sequence on a axes. The i-th...

2018-07-25 10:34:28 464

原创 牛客多校第二场 J(随机+矩阵二维前缀和)

链接:https://www.nowcoder.com/acm/contest/140/J来源:牛客网 时间限制:C/C++ 4秒,其他语言8秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述White Rabbit has a rectangular farmland of n*m. In each of the ...

2018-07-25 10:19:07 242

原创 牛客多校第二场 H(树形dp)

链接:https://www.nowcoder.com/acm/contest/140/H来源:牛客网 时间限制:C/C++ 2秒,其他语言4秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述White Cloud has a tree with n nodes.The root is a node with num...

2018-07-25 10:14:52 348

原创 牛客多校第二场 C (计算几何+二分)

链接:https://www.nowcoder.com/acm/contest/140/C来源:牛客网 时间限制:C/C++ 2秒,其他语言4秒空间限制:C/C++ 262144K,其他语言524288KSpecial Judge, 64bit IO Format: %lld题目描述There is an infinite plane. White Cloud has n li...

2018-07-25 10:11:26 307

原创 HDU 6308(模拟)

Time ZoneTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 607    Accepted Submission(s): 204 Problem DescriptionChiaki often participates...

2018-07-24 00:09:33 651

原创 HDU 6304(找规律)

Chiaki Sequence RevisitedTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 634    Accepted Submission(s): 132 Problem DescriptionChiaki is...

2018-07-24 00:08:37 1431

原创 HDU 6301 (贪心)

Distinct ValuesTime Limit: 4000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1091    Accepted Submission(s): 334 Problem DescriptionChiaki has an arra...

2018-07-24 00:05:28 478

原创 HDU 6300(排序)

Triangle PartitionTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 132768/132768 K (Java/Others)Total Submission(s): 356    Accepted Submission(s): 189Special Judge Problem DescriptionC...

2018-07-24 00:02:24 220

原创 HDU 6299 (贪心)

Balanced SequenceTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1003    Accepted Submission(s): 225 Problem DescriptionChiaki has n str...

2018-07-23 23:56:14 329

原创 HDU 6298(找规律)

Maximum MultipleTime Limit: 4000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 541    Accepted Submission(s): 243 Problem DescriptionGiven an integer n...

2018-07-23 23:45:29 341

原创 Codeforces Round #498 (Div. 3) F. Xor-Paths (折半搜索)

F. Xor-Pathstime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere is a rectangular grid of size n×mn×m. Each cell has a number w...

2018-07-21 22:08:17 245

原创 牛客多校第二场 I car (找规律)

链接:https://www.nowcoder.com/acm/contest/140/I来源:牛客网 题目描述White Cloud has a square of n*n from (1,1) to (n,n).White Rabbit wants to put in several cars. Each car will start moving at the same tim...

2018-07-21 22:00:14 285

原创 牛客多校第二场 D money (贪心)

链接:https://www.nowcoder.com/acm/contest/140/D来源:牛客网 题目描述White Cloud has built n stores numbered from 1 to n.White Rabbit wants to visit these stores in the order from 1 to n.The store numbered...

2018-07-21 21:52:04 308

原创 牛客多校第二场 A run (dp)

链接:https://www.nowcoder.com/acm/contest/140/A来源:牛客网 题目描述White Cloud is exercising in the playground.White Cloud can walk 1 meters or run k meters per second.Since White Cloud is tired,it can't...

2018-07-21 21:49:23 334

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除