自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 2018 计蒜之道 初赛 第三场

贝壳找房有一个性价比比较的系统,对于两个房源 aa,bb,aa 的价格为 p_apa​ 万元,面积 s_asa​ 平方米,bb 的价格为 p_bpb​万元,面积为 s_bsb​ 平方米。他们的绝对性价比差定义成为 \displaystyle \frac{|p_a - p_b|}{|s_a - s_b|}∣sa​−sb​∣∣pa​−pb​∣​。现在给出 nn 个房源的价格和面积,请你求出一对房源使得...

2018-05-19 23:09:24 208

原创 poj1952BUY LOW, BUY LOWER

BUY LOW, BUY LOWERTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 10882 Accepted: 3816DescriptionThe advice to "buy low" is half the formula to success in the bovine stock market.To be consi...

2018-05-10 01:01:14 126

原创 UVA11880 - Ball in a Rectangle

题目链接:点击打开链接题意一个半径为r的求以大小为v,初速度方向为a在l*w的矩阵中运动,碰撞后无能量损耗,问s秒后球所在位置。令x-r,y-r,l-2*r,w-2*r,然后矢量分解,x方向总距离sumx = x + v*s*cos(a*180/pi), sumy = y + v*s*sin(a*180/pi),就等价于从(0,0)出发,然后就可以直接计算最终位置了,注意因为0#i

2018-05-02 23:09:40 134

原创 Codeforces Round #478 (Div. 2) D - Ghosts

D. Ghoststime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGhosts live in harmony and peace, they travel the space without any purpose other than sc...

2018-05-02 22:14:30 320

原创 Educational Codeforces Round 43 (Rated for Div. 2) D. Degree Set

 D. Degree Settime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a sequence of n positive integers d1, d2, ..., dn ...

2018-05-01 21:21:53 134

空空如也

空空如也

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

TA关注的人

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