自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Focus5679的博客

记录个人代码用

  • 博客(12)
  • 资源 (1)
  • 收藏
  • 关注

原创 ACM算法模板--BY Focus

1.数学1.1素数1.1.1素数筛法(欧拉筛法,判断<maxn的数是否是素数及求取<maxn的素数)/* *notprime是一张表,false表示是素数,true表示不是素数 *prime是素数表,储存小于maxn的全部素数。 */const int maxn = 10500000;int prime[maxn];bool notprime[maxn];...

2018-09-22 18:32:22 455

原创 Get Many Persimmon Trees POJ - 2029

Get Many Persimmon TreesPOJ - 2029 Seiji Hayashi had been a professor of the Nisshinkan Samurai School in the domain of Aizu for a long time in the 18th century. In order to reward him for his mer...

2018-09-04 11:05:52 101

原创 Super Mario HDU - 4417

Super MarioHDU - 4417 Mario is world-famous plumber. His “burly” figure and amazing jumping ability reminded in our memory. Now the poor princess is in trouble again and Mario needs to save his lo...

2018-09-04 11:04:49 213

原创 Panda HDU - 4046

PandaHDU - 4046 When I wrote down this letter, you may have been on the airplane to U.S.We have known for 15 years, which has exceeded one-fifth of my whole life. I still remember the first time ...

2018-09-04 11:03:47 148

原创 Coder HDU - 4288

CoderHDU - 4288   In mathematics and computer science, an algorithm describes a set of procedures or instructions that define a procedure. The term has become increasing popular since the advent o...

2018-09-04 11:02:56 144

原创 Another LIS HDU - 3564

Another LISHDU - 3564 There is a sequence firstly empty. We begin to add number from 1 to N to the sequence, and every time we just add a single number to the sequence at a specific position. Now,...

2018-09-04 11:02:08 136

原创 Billboard HDU - 2795

BillboardHDU - 2795 At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is the place where all possible announcemen...

2018-09-04 11:01:08 116

原创 Minimum Inversion Number HDU - 1394

Minimum Inversion NumberHDU - 1394 The inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj) that satisfy i < j and ai > aj.For a given sequence of num...

2018-09-04 11:00:05 86

原创 I Hate It HDU - 1754

I Hate ItHDU - 1754 很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。Input本题目包含多组测试,请处理到文件结束。在每个测试的第一行,有两个正整数 N 和 M ( 0<N&l...

2018-09-04 10:59:12 270

原创 Multiply game HDU - 3074

Multiply gameHDU - 3074 Tired of playing computer games, alpc23 is planning to play a game on numbers. Because plus and subtraction is too easy for this gay, he wants to do some multiplication in ...

2018-09-04 10:56:54 119

原创 A - 敌兵布阵 HDU - 1166

A - 敌兵布阵HDU - 1166 C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一清二楚,每个工兵营地的人数都有可能发生变动,可能增加或减少若干人手,但这些都逃不过C国的监视...

2018-09-04 10:52:59 214

原创 ACM-ICPC 2018 南京赛区网络预赛 L. Magical Girl Haze

There are NNN cities in the country, and MMM directional roads from uuu to v(1≤u,v≤n)v(1\le u, v\le n)v(1≤u,v≤n). Every road has a distance cic_ici​. Haze is a Magical Girl that lives in City 111, she...

2018-09-02 12:28:13 172

code-data.zip

HotRing: A Hotspot-Aware In-Memory Key-Value Store 阅读报告 代码与数据资源

2020-06-09

空空如也

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

TA关注的人

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