自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Gym100507C--Zhenya moves from parents(线段树+懒标记)

Problem C. Zhenya moves from parentsTime limit: 1 secondMemory limit: 64 megabytesZhenya moved from his parents’ home to study in other city. He didn’t take any cash with him, he onlytook his

2017-01-31 16:39:06 400

原创 计算几何模板——点在线段判定

点在线段上判断方法,需满足下面两个条件:设P1P2为一条线段,Q为需要判断的点,条件可以表示为(1)(Q-P1)×(P2-P1)=0;(2)Q在以P1P2为对角顶点的矩形内。

2017-01-23 23:39:59 464

原创 CDOJ 1170 红与蓝 (几何+二分+枚举)

红与蓝acmTime Limit: 3000/1000MS (Java/Others)     Memory Limit: 65535/65535KB (Java/Others)Submit Status平面上有N个红点和N个蓝点,求红点到蓝点的最近距离Input第一行为一个整数N 1≤N≤1000001≤N≤100000 接下来第N行每行

2017-01-23 00:39:11 447

原创 codeforces 758D-D - Ability To Convert 数学细节题

D. Ability To Converttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlexander is learning how to convert numbers fro

2017-01-20 14:59:40 871

原创 codeforces 758C - Unfair Poll 细节题

C. Unfair Polltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOn the Literature lesson Sergei noticed an awful injust

2017-01-20 14:48:07 847

原创 Gym - 100923A Por Costel and Azerah 新手dp水题

azerah.in / azerah.outPor Costel the Pig has received a royal invitation to the palace of the Egg-Emperor of Programming, Azerah. Azerah had heard of the renowned pig and wanted to see him with

2017-01-19 22:59:21 892

原创 Gym - 100923H Por Costel and the Match 并查集判情况矛盾 (经典)

meciul.in / meciul.outOberyn Martell and Gregor Clegane are dueling in a trial by combat. The fight is extremely important, as the life of Tyrion Lannister is on the line. Oberyn and Gregor are

2017-01-19 22:46:48 663

原创 UVA 1030 Image Is Everything

Your new company is building a robot that can hold small lightweight objects. The robot will have the intelligence to determine if an object is light enough to hold. It does this by taking pictures of

2017-01-11 00:18:38 378

空空如也

空空如也

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

TA关注的人

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