自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(64)
  • 问答 (1)
  • 收藏
  • 关注

原创 react-native配置及创建helloworld工程遇到的问题

1、必须下载的软件nodejs  python2  react-native-cli  android studio2、安装完node后建议设置npm镜像以加速后面的过程(或使用科学上网工具)。npm config set registry https://registry.npm.taobao.org --globalnpm config set disturl https://n

2017-01-13 15:58:08 638

原创 积木大赛

2556: 积木大赛Time Limit:3000MS Memory Limit:131072KBTotal Submit:51 Accepted:17 Page View:102Submit Status DiscussDescription春春幼儿园举办了一年一度的“积木大赛”。今年比赛的内容是搭建一座宽度为n的大厦,大厦可以看成由n块宽度为1的积木组成

2016-07-19 09:03:07 855

原创 转圈游戏

2554: 转圈游戏Time Limit:2000MS Memory Limit:65536KBTotal Submit:98 Accepted:23 Page View:31Submit Status DiscussDescriptionn 个小伙伴(编号从 0 到 n-1)围坐一圈玩游戏。按照顺时针方向给 n 个位置编号,从 0 到 n-1。最初,第 0

2016-07-18 19:15:45 1100

原创 Pineapple Incident,Barnicle,Lorenzo Von Matterhorn(cf#362)

A. Pineapple Incidenttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTed has a pineapple. This pineapple is

2016-07-16 19:38:02 589

原创 Educational Codeforces Round 14

A. Fashion in Berlandtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAccording to rules of the Berland fash

2016-07-14 21:20:47 1025

原创 Remainders Game

D. Remainders Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday Pari and Arya are playing a game ca

2016-07-12 21:32:02 890

原创 NP-Hard Problem(cf#360)

C. NP-Hard Problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently, Pari and Arya did some researc

2016-07-12 16:50:32 539

原创 迷宫与宝藏

1646: 迷宫与宝藏Time Limit:2000MS Memory Limit:65536KBTotal Submit:28 Accepted:10 Page View:806Submit Status DiscussDescription机器人要在一个矩形迷宫里行动(不能原地停留,只能走向上/下/左/右),每移动一格花费1个单位时间。 迷宫有以下几

2016-07-11 16:50:08 632

原创 B. Mike and Shortcuts(cf#361)

B. Mike and Shortcutstime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently, Mike was very busy with stu

2016-07-10 16:22:20 629

原创 A. Mike and Cellphone(cf#361)

A. Mike and Cellphonetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputWhile swimming at the beach, Mike has

2016-07-09 19:57:20 582

原创 2552: 小朋友的数字

2552: 小朋友的数字Time Limit:10000MS Memory Limit:131072KBTotal Submit:76 Accepted:1 Page View:98Submit Status DiscussDescription     有 n 个小朋友排成一列。每个小朋友手上都有一个数字,这个数字可正可负。规定每个小朋友的特征值等于排在

2016-07-09 16:19:09 1250

原创 2551: 表达式求值

2551: 表达式求值Time Limit:10000MS Memory Limit:131072KBTotal Submit:44 Accepted:9 Page View:30Submit Status DiscussDescription给定一个只包含加法和乘法的算术表达式,请你编程计算表达式的值。Input输入仅有一行,为

2016-07-09 11:38:43 1121

原创 2550: 记数问题

2550: 记数问题Time Limit:10000MS Memory Limit:131072KBTotal Submit:37 Accepted:22 Page View:30Submit Status DiscussDescription 试计算在区间 1 到 n 的所有整数中,数字 x(0 ≤ x ≤ 9)共出现了多少次?例如,在 1 到 11

2016-07-09 11:33:23 522

原创 C. Heap Operations(cf#357)

C. Heap Operationstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya has recently learned data structure

2016-06-24 15:01:21 660

原创 B. Little Robber Girl's Zoo(CF#359)

B. Little Robber Girl's Zootime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Robber Girl likes to sca

2016-06-24 10:29:47 9508

原创 Fibonacci

FibonacciTime Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4382    Accepted Submission(s): 2037Problem Description2007年到来了。经过2006年

2016-04-09 17:10:04 416

原创 成绩查询

1089: 成绩查询Time Limit:4000MS Memory Limit:65536KBTotal Submit:132 Accepted:9 Page View:81Submit Status DiscussDescriptionNOIP乐山一中模拟赛的成绩出来了,很多同学急切的想知道自己的成绩,所以经学校商量后决定在网站上公布。但时间很紧!现在提

2016-03-24 20:34:49 768

原创 寻找考场

1088: 寻找考场Time Limit:1000MS Memory Limit:65536KBTotal Submit:61 Accepted:20 Page View:280Submit Status DiscussDescription小王同学在乐山一中考场的前门(0,0)处,面向正前方是一条宽阔的大道(坐标轴上看作y轴),但是他找不到考试的试场,于是

2016-03-24 20:31:45 777

原创 统计单词数

B: 统计单词数Time Limit: 10000 MS Memory Limit: 131072 KBTotal Submit: 27 Accepted: 9 Page View: 134Submit Status ClarifyDescription    一般的文本编辑器都有查找单词的功能,该功能可以快速定位特定单词在文章中的位 置,有的还能统计出特定

2016-03-22 20:32:15 909

原创 瑞士轮

C: 瑞士轮Time Limit: 10000 MS Memory Limit: 131072 KBTotal Submit: 22 Accepted: 5 Page View: 13Submit Status ClarifyDescription    在双人对决的竞技性比赛,如乒乓球、羽毛球、国际象棋中,最常见的赛制是淘汰赛和 循环赛。前者的特点是比赛场

2016-03-22 20:29:02 1059

原创 find the mincost route

find the mincost routeTime Limit: 1000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3842    Accepted Submission(s): 1546Problem Description杭州有

2016-03-18 20:31:27 331

原创 还是畅通工程

还是畅通工程Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 36375    Accepted Submission(s): 16394Problem Description某省调查乡村交通状况,得到的统计表

2016-03-18 20:07:44 441

原创 Constructing Roads

Constructing RoadsTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18977    Accepted Submission(s): 7234Problem DescriptionThere

2016-03-18 19:58:42 363

原创 Intervals

IntervalsTime Limit: 10000/5000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3623    Accepted Submission(s): 1329Problem DescriptionYou are given n

2016-03-18 19:50:23 608

原创 神奇的幻方

1277: 神奇的幻方Time Limit:1000MS Memory Limit:65536KBTotal Submit:25 Accepted:17 Page View:47Submit Status DiscussDescription    幻方是一种很神奇的 N ∗ N 矩阵:它由数字 1,2,3, … … , N ∗ N 构成,且每行、每列及两条

2016-03-18 13:22:24 1384

原创 金币

1273: 金币Time Limit:1000MS Memory Limit:131072KBTotal Submit:33 Accepted:26 Page View:38Submit Status DiscussDescription国王将金币作为工资,发放给忠诚的骑士。第一天,骑士收到一枚金币;之后两天(第二天和第三天),每天收到两枚金币;之后三天(第

2016-03-18 13:20:24 531

原创 扫雷游戏

1274: 扫雷游戏Time Limit:1000MS Memory Limit:131072KBTotal Submit:20 Accepted:18 Page View:26Submit Status DiscussDescription    扫雷游戏是一款十分经典的单机小游戏。在 n 行 m 列的雷区中有一些格子含有地雷(称之为地雷格),其他格子不含

2016-03-18 13:16:03 2522

原创 推销员

1276: 推销员Time Limit:1000MS Memory Limit:131072KBTotal Submit:2 Accepted:1 Page View:11Submit Status DiscussDescription    阿明是一名推销员,他奉命到螺丝街推销他们公司的产品。螺丝街是一条死胡同, 出口与入口是同一个,街道的一侧是围墙,另一

2016-03-18 13:12:37 794

原创 Rikka with Chess

Rikka with Chess  Accepts: 393  Submissions: 548 Time Limit: 2000/1000 MS (Java/Others)  Memory Limit: 65536/65536 K (Java/Others)问题描述一个n \times mn×m的黑白相间的棋盘,每次可以选择一个矩形把其中的所有

2016-03-10 19:19:47 330

原创 LCP Array

LCP Array  Accepts: 131  Submissions: 1352 Time Limit: 4000/2000 MS (Java/Others)  Memory Limit: 131072/131072 K (Java/Others)问题描述Peter有一个字符串s=s_{1}s_{2}...s_{n}s=s​1​​s​2​​.

2016-03-10 19:11:44 800

原创 Shortest Path

Shortest Path  Accepts: 40  Submissions: 610 Time Limit: 4000/2000 MS (Java/Others)  Memory Limit: 131072/131072 K (Java/Others)问题描述有一条长度为nn的链. 节点ii和i+1i+1之间有长度为11的边. 现在又新加了3

2016-03-10 18:56:27 572

原创 F - Nearest Common Ancestors

F - Nearest Common AncestorsTime Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionA rooted tree is a well-known data structure in co

2016-02-26 20:58:51 561

原创 G - Closest Common Ancestors

G - Closest Common AncestorsTime Limit:2000MS     Memory Limit:10000KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionWrite a program that takes as input a rooted tree

2016-02-26 14:52:58 438

原创 Cheapest Palindrome

B - Cheapest PalindromeTime Limit:2000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionKeeping track of all the cows can be a tricky task so F

2016-01-29 14:48:48 488

原创 D - Multiplication Puzzle

D - Multiplication PuzzleTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThe multiplication puzzle is played with a row of car

2016-01-28 15:35:44 635

原创 F - 炮兵阵地

F - 炮兵阵地Time Limit:2000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit StatusDescription司令部的将军们打算在N*M的网格地图上部署他们的炮兵部队。一个N*M的地图由N行M列组成,地图的每一格可能是山地(用"H" 表示),也可能是

2016-01-28 14:51:41 521

原创 A - Brackets

A - BracketsTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionWe give the following inductive definition of a “regular bracket

2016-01-28 13:56:10 1420

原创 Atlantis

J - AtlantisTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1542DescriptionThere are several ancient Greek texts that contain

2016-01-26 14:42:52 396

原创 Baby Ming and Weight lifting

Baby Ming and Weight liftingTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 418    Accepted Submission(s): 166Problem Description

2016-01-24 19:36:28 390

原创 LCIS

F - LCISTime Limit:2000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionGiven n integers. You have two operations: U A B: replace the Ath nu

2016-01-24 19:24:56 479

空空如也

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

TA关注的人

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