自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 react-redux使用

1.第一步:2.第二步:3.第三步:4.第四步:5.第五步:

2019-06-24 19:20:31 123

转载 前端小经验1

首先创建一个vue.config.js1.跨域请求配置module.exports = {devServer: {proxy: {'/ele':{target:"https://h5.ele.me",ws:false,cha...

2019-06-22 10:22:21 170

原创 前端小知识1

1.key属性的作用<div id="my-app"><input type="radio" value="email" v-model="loginType"><label for="">邮箱登录</label><input type="radio" v...

2019-06-22 10:08:26 326

原创 Largest prime factor

Largest prime factorTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionEverybody knows any number can be combined by the prime number. Now, your t

2016-10-22 16:07:32 435

原创 Primes on Interval

Primes on IntervalTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionYou've decided to carry out a survey in the theory of prime numbers. Let us re

2016-10-22 16:01:52 317

原创 QAQ的区间价值

时间限制: 1 Sec  内存限制: 128 MB提交: 56  解决: 34[提交][状态][讨论版]题目描述QAQ有一个整数序列,元素个数有N个,分别为1,2,3 ... N-1,N。假定用数组a[]来依次记录N个元素,那么区间[i, j]的价值 = sum(i, j) * Check(i, j)。其中sum(i, j) = a[i] + ... + a[j],表示区间

2016-10-07 20:51:01 334

原创 QAQ的区间统计

时间限制: 1 Sec  内存限制: 128 MB提交: 63  解决: 20[提交][状态][讨论版]题目描述QAQ有一个区间[L, R]。已知QAQ很喜欢长度为奇数的区间,现在请你告诉他有多少个长度为奇数的子区间。对于区间[2 4]来讲,它的子区间有[2 2] [2 3] [2 4] [3 3] [3 4] [4 4]共6个。为了简化题目,QAQ所给的区间里面全是非负整

2016-10-07 20:49:42 387

原创 New Year Permutation

B - New Year PermutationTime Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionUser ainta has a permutation p1, p2, ..., pn. As the Ne

2016-09-23 23:54:54 241

原创 周赛

D 圆周率用acos(-1.0) 使用longlongTime Limit:2000MS     Memory Limit:32768KB     64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1136 uDebugDescriptionThere is sequence 1, 12, 1

2016-08-25 17:50:58 312

原创 周赛

H 圆周率用acos(-1.0) 使用longlongTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1109 uDebugDescriptionWe define b is a Divisor o

2016-08-25 17:27:28 262

原创 周赛

F 圆周率用acos(-1.0) 使用longlongTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1331 uDebugDescriptionAgent J is preparing to st

2016-08-25 17:17:42 199

原创 周赛

E 圆周率用acos(-1.0) 使用longlongTime Limit:500MS     Memory Limit:32768KB     64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1225 uDebugDescriptionA palindromic number or num

2016-08-25 17:16:45 252

原创 周赛

B 圆周率用acos(-1.0) 使用longlongTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmitStatusPracticeLightOJ 1305uDebugDescriptionA parallelogram is a quadrilateral

2016-08-25 17:12:41 264

原创 周赛

圆周率用acos(-1.0) 使用longlongTime Limit:500MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmitStatusPracticeLightOJ 1182uDebugDescriptionGiven an integer n, first we represen

2016-08-25 17:10:52 238

原创 欧拉回路

DTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 1878Description欧拉回路是指不令笔离开纸面,可画过图中每条边仅一次,且可以回到起点的一条回路。现给定一个图,问是否存在欧拉回路?Input测试输入包含若

2016-08-24 19:43:00 267

原创 2016"百度之星"-初赛(AstarRound2A)

ATime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 5695Description众所周知,度度熊喜欢各类体育活动。 今天,它终于当上了梦寐以求的体育课老师。第一次课上,它发现一个有趣的事情。在上课之前,所有同学要排成

2016-08-24 19:38:17 487

原创 边之比的平方=面积之比

DescriptionSee the picture below.You are given AB, AC and BC. DE is parallel to BC. You are also given the area ratio between ADE and BDEC. You have to find the value of AD.InputInput

2016-08-23 21:36:20 701

原创 求n^k的前三位数和后三位数

DescriptionYou are given two integers: n and k, your task is to find the most significant three digits, and least significant three digits of nk.InputInput starts with an integer T (≤ 1000), d

2016-08-23 21:25:13 1985

原创 求一个区间有多少个数能整除k

Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 597ADescriptionFind the number of k-divisible numbers on the segment [a, b]. In ot

2016-08-23 20:36:04 2859

原创 Fibsieve`s Fantabulous Birthday

Fibsieve`s Fantabulous BirthdayTime Limit:500MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmitStatusPracticeLightOJ 1008uDebugDescriptionFibsieve had a fantabulous (yes

2016-08-23 11:19:49 448

原创 Ohana Cleans Up

Ohana Cleans UpTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 554BDescriptionOhana Matsumae is trying to clean a room, which is

2016-08-22 21:04:55 165

原创 音痴又音痴的LT

音痴又音痴的LT时间限制:4000 ms  |  内存限制:65535 KB描述LT最近一直在无限循环薛之谦的歌,简直都中毒了!可是呢…他的歌LT还是不会唱(其实不止他的歌LT不会唱,所有人的歌LT都不会唱…因为LT是标准的音痴)可是LT又很喜欢唱歌(所以LT不仅是音痴还是音痴)…没错,这对于LT的室友来说简直是噩梦…    现在呢,LT有N次操作,每次操作只会有两种可能:

2016-08-20 17:09:46 662

原创 不是匹配

不是匹配时间限制:1000 ms  |  内存限制:65535 KB描述 有N个人,N个活动, 每个人只会对2个或者3个活动感兴趣, 每个活动也只有两个人或者两个活动对它兴趣,每个人参加一个 感兴趣的活动需要一天 ,且当天该活动被参加时,其他的人不能参加 如果每个人都参加完自己有兴趣的活动,应当怎样安排使得所用总天数时间最短2输入

2016-08-20 17:07:07 270

原创 Prim(普利姆)算法+Kruskal(克鲁斯卡尔)算法

Prim(普利姆)算法1.概览普里姆算法(Prim算法),图论中的一种算法,可在加权连通图里搜索最小生成树。意即由此算法搜索到的边子集所构成的树中,不但包括了连通图里的所有顶点(英语:Vertex (graph theory)),且其所有边的权值之和亦为最小。该算法于1930年由捷克数学家沃伊捷赫·亚尔尼克(英语:Vojtěch Jarník)发现;并在1957年由美国计算

2016-08-19 16:11:14 1752

原创 Vika and Squares

Vika and SquaresTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 610BAppoint description: DescriptionVika has n jars with paint

2016-08-18 20:28:25 245

原创 青蛙的约会

青蛙的约会Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 107178 Accepted: 21363Description两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰

2016-08-18 11:15:15 312

原创 周赛(还要看看)

DTime Limit: 1 Sec  Memory Limit: 128 MBSubmit: 220  Solved: 57SubmitStatusWeb BoardDescription晴天想把一个包含n个整数的序列a分成连续的若干段,且和最大的一段的值最小,但他有强迫症,分的段数不能超过m段,然后他就不会分了。。。他想问你这个分出来的和最大的一段的和最小值是多

2016-08-17 21:20:55 268

原创 Parallelogram Counting(POJ 1971)

Parallelogram CountingTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 6258 Accepted: 2155DescriptionThere are n distinct points in the plane, given by t

2016-08-17 21:09:46 301

原创 水水

HTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 282 Solved: 118SubmitStatusWeb BoardDescription在三维空间里,晴天得到了一些坐标,然后他想知道这些坐标有没有重合的哇,然后若两个坐标是重合的也就是x=x,y=y,z=z。然后他把这个任务交给你啦。Input输入第

2016-08-17 19:23:26 260

原创 宝藏

GTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 333 Solved: 71SubmitStatusWeb BoardDescription晴天也来寻宝啦,有一个m层的宝塔,只能从第一层开始一层一层的往上走,每层都有一个门,你需要用钥匙来打开门才能继续走,现在晴天有n把钥匙,编号为0-n-1,然后他要开始寻宝了。没有特殊

2016-08-17 17:13:51 277

原创 过山车(HDU 2063)

过山车Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 16791 Accepted Submission(s): 7334Problem Description RPG girls今天和大家一起去游乐场玩,终于可以坐上

2016-08-17 10:13:13 230

原创 敌兵布阵

敌兵布阵Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的

2016-08-16 21:28:28 212

原创 Saitama Destroys Hotel

Saitama Destroys HotelTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 608AAppoint description: DescriptionSaitama accidentally

2016-08-16 18:38:58 235

原创 Jam's math problem

Jam's math problemTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 5615DescriptionJam has a math problem. He just learned factorization.

2016-08-15 21:31:00 216

原创 Positive Negative Sign

Positive Negative SignTime Limit:2000MS     Memory Limit:32768KB     64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1294 uDebugDescriptionGiven two integers: n and m and

2016-08-15 21:23:14 273

原创 Ekka Dokka

Ekka DokkaTime Limit:2000MS     Memory Limit:32768KB     64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1116 uDebugDescriptionEkka and his friend Dokka decided to buy a

2016-08-15 21:17:39 332

原创 Trailing Zeroes

Trailing Zeroes (III)Time Limit:2000MS     Memory Limit:32768KB     64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1138 uDebugDescriptionYou task is to find minimal natu

2016-08-15 20:14:07 216

原创 编辑距离

编辑距离输入第1行:字符串a(a的长度 第2行:字符串b(b的长度 输出输出a和b的编辑距离输入示例kittensitting输出示例3这个问题之所以难,是难在有“添加”“删除”这样的操作,很麻烦。我们试试换个角度理解问题,把它看成字符串对齐的问题,事实上从生物信息学对比基因的角度,我们可以这样理解问题。给

2016-08-15 17:28:49 209

原创 Fox And Two Dots

Fox And Two DotsTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 510BAppoint description: DescriptionFox Ciel is playing a mobi

2016-08-15 16:15:14 310

原创 Bone Collector(0-1背包模板)

Bone CollectorTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 51860    Accepted Submission(s): 21837Problem DescriptionMany year

2016-08-15 11:55:27 359

空空如也

空空如也

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

TA关注的人

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