- 博客(137)
- 资源 (2)
- 收藏
- 关注
原创 【杭电oj1754】I Hate It
I Hate It Time Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 66074 Accepted Submission(s): 25697 Problem Description 很多学校流行一种比较的习惯。
2016-08-30 18:31:10 490
原创 【杭电oj5671】Matrix
Matrix Time Limit: 3000/1500 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 1409 Accepted Submission(s): 561 Problem Description There is a matrix
2016-08-30 16:42:34 307
原创 【lightoj1047】Neighbor House
1047 - Neighbor House PDF (English) Statistics Forum Time Limit: 0.5 second(s) Memory Limit: 32 MB The people of Mohammadpur have decided to paint each ofth
2016-08-25 22:30:33 341
原创 【lightoj1307】Counting Triangles
J - J 圆周率用acos(-1.0) 使用longlong Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Submit Status Practice LightOJ 1307 uDebug Description You are given N sticks
2016-08-25 21:33:42 388
原创 【lightoj1331】Agent J【计算几何】
F - F 圆周率用acos(-1.0) 使用longlong Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Submit Status Practice LightOJ 1331 uDebug Description Agent J is preparing t
2016-08-25 21:07:12 391
原创 【lightoj1305】 Area of a Parallelogram
B - B 圆周率用acos(-1.0) 使用longlong Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Submit Status Practice LightOJ 1305 uDebug Description A parallelogram is a q
2016-08-25 19:50:58 441
原创 【杭电oj1599】find the mincost route无向图最小环
find the mincost route Time Limit: 1000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4335 Accepted Submission(s): 1738 Problem Description 杭州有N个景区
2016-08-24 21:39:37 382
原创 【杭电oj5253】连接的管道
连接的管道 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2432 Accepted Submission(s): 880 Problem Description 老 Jack 有一片农田,以往几年都是靠天吃饭的。
2016-08-24 20:50:11 415 1
原创 比赛心得
虽刚入acm领域,尚属菜鸟阶段,但经过了那么些次比赛还是总结出了一些心得体会。 1.求胜欲很大程度上决定了你能否再a一道题,碰到有一定难度的题目有没有ac他的信心和决心,有了这些那么很可能最大限度的发挥自己的能力。 2.码代码能力是关键而不是谁记得模板多。 3.分析问题需要方法,这个需要积累和学习。 4.思维方式需要转变,去适应它出题的一些套路。 5.平时要养成细心的习惯,这样比赛时才能
2016-08-24 19:34:45 558
原创 【杭电oj5247】找连续数-百度之星初赛
找连续数 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1451 Accepted Submission(s): 541 Problem Description 小度熊拿到了一个无序的数组,对于这个数组,小度熊想知
2016-08-24 12:02:43 395
原创 【POJ1383】Labyrinth
Labyrinth Time Limit: 2000MS Memory Limit: 32768K Total Submissions: 4333 Accepted: 1640 Description The northern part of the Pyramid contains a very large and comp
2016-08-24 09:28:03 297
原创 【lightoj1282】数学-小知识点
F - F 使用long long Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Submit Status Practice LightOJ 1282 uDebug Description You are given two integers: n and k,
2016-08-23 21:53:36 513
原创 【lightoj1045】数学-小知识点
E - E 使用long long Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Submit Status Practice LightOJ 1045 uDebug Description Factorial of an integer is defined b
2016-08-23 21:18:57 350
原创 lightoj1138数学—数学小知识点
G - G 使用long long Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Submit Status Practice LightOJ 1138 uDebug Description You task is to find minimal natural
2016-08-23 21:11:24 340
原创 【lightoj1294】数学
H - H 使用long long Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Submit Status Practice LightOJ 1294 uDebug Description Given two integers: n and m and n is
2016-08-23 21:01:54 273
原创 【lightoj1043】几何数学
D - D 使用long long Time Limit:500MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Submit Status Practice LightOJ 1043 uDebug Description See the picture below. You are giv
2016-08-23 20:59:39 259
原创 【lightoj1008】数学找规律
C - C 使用long long Time Limit:500MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Submit Status Practice LightOJ 1008 uDebug Description Fibsieve had a fantabulous (yes, it's
2016-08-23 20:56:48 340
原创 【codeforces】数学
B - B 使用long long Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 597A Description Find the number of k-divisible nu
2016-08-23 20:53:24 395
原创 【codeforces】数学
A - A 使用long long Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 598A Description In this problem you are to calculat
2016-08-23 20:50:37 275
原创 【NJUST5480】Conturbatio
Conturbatio Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) [显示标签] [] Description There are many rook on a chessboard, a rook can attack the row and colu
2016-08-23 11:07:06 288
原创 【codeforces】Dima and Guards
A. Dima and Guards time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Nothing has changed since the last round.
2016-08-22 21:29:33 343
原创 【codeforces】Bear and Three Balls
A. Bear and Three Balls time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Limak is a little polar bear. H
2016-08-22 21:26:50 377
原创 【codeforces】 Bear and Reverse Radewoosh
A. Bear and Reverse Radewoosh time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Limak and Radewoosh are going
2016-08-22 21:22:15 210
原创 【codeforces】Ohana Cleans Up
B. Ohana Cleans Up time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Ohana Matsumae is trying to clean a room
2016-08-22 21:12:05 237
原创 【codeforces】-660Co-prime Array
A. Co-prime Array time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given an array of n elements,
2016-08-22 21:04:43 242
原创 【CodeForces】 632B Alice, Bob, Two Teams
B. Alice, Bob, Two Teams time limit per test 1.5 seconds memory limit per test 256 megabytes input standard input output standard output Alice and Bob are playing a
2016-08-22 20:58:30 229
原创 【杭电oj1179】Ollivanders: Makers of Fine Wands since 382 BC.
Ollivanders: Makers of Fine Wands since 382 BC. Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others) Total Submission(s): 164 Accepted Submission(s): 82 P
2016-08-22 10:09:34 279
原创 C++中sort,upper_bound,lower_bound,*max_element,unique用法介绍
1.sort:sort(fast,last,排序方式),sort排序函数是对[fast,last)前开后闭区间内元素进行排序,fast是数组首地址,last是数组尾地址的下一个地址。如sort(a,a+n,cmp), 如果不加排序方式则是默认由大到小排序。 2.*max_element:*max_element(fast,last)该函数也是对[fast,last)前闭后开区间内进行求数组中最
2016-08-21 14:50:13 665
原创 【NYOJ1291】不是匹配
不是匹配 时间限制:1000 ms | 内存限制:65535 KB 难度:2 描述 有N个人,N个活动, 每个人只会对2个或者3个活动感兴趣, 每个活动也只有两个人或者两个活动对它兴趣,每个人参加一个 感兴趣的活动需要一天 ,且当天该活动被参加时,其他的人不能参加 如果每个人都参加完自己有兴趣的活动,应当怎样安排使得所用总天数时间最短 2
2016-08-21 14:18:25 330 1
原创 【NYOJ1261】 音痴又音痴的LT
音痴又音痴的LT 时间限制:4000 ms | 内存限制:65535 KB 难度:4 描述 LT最近一直在无限循环薛之谦的歌,简直都中毒了!可是呢…他的歌LT还是不会唱(其实不止他的歌LT不会唱,所有人的歌LT都不会唱…因为LT是标准的音痴)可是LT又很喜欢唱歌(所以LT不仅是音痴还是音痴)…没错,这对于LT的室友来说简直是噩梦… 现在呢,LT有N次操作,每次操作只会有两
2016-08-21 13:56:13 421
原创 【POJ2559】Largest Rectangle in a Histogram
Largest Rectangle in a Histogram Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 19452 Accepted: 6267 Description A histogram is a polygon composed of a
2016-08-21 11:05:57 442
原创 【POJ3250】Bad Hair Day
Bad Hair Day Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 17576 Accepted: 5926 Description Some of Farmer John's N cows (1 ≤ N ≤ 80,000) are having a
2016-08-20 00:02:42 346
原创 【POJ3264】Balanced Lineup
Balanced Lineup Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 47142 Accepted: 22121 Case Time Limit: 2000MS Description For the daily milking, Far
2016-08-18 19:44:07 252
原创 【POJ3321】Apple Tree
Apple Tree Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 26622 Accepted: 7900 Description There is an apple tree outside of kaka's house. Every autumn, a
2016-08-18 10:18:11 301
原创 【codeforces】29C—Mail Stamps
C. Mail Stamps time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output One day Bob got a letter in an envelope. Bob
2016-08-17 21:47:51 493
原创 【九度1502】最大值最小化
题目1502:最大值最小化 时间限制:1 秒 内存限制:128 兆 特殊判题:否 提交:566 解决:214 题目描述: 在印刷术发明之前,复制一本书是一个很困难的工作,工作量很大,而且需要大家的积极配合来抄写一本书,团队合作能力很重要。 当时都是通过招募抄写员来进行书本的录入和复制工作的, 假设现在要抄写m本书,编号为1,2,3...m
2016-08-17 20:07:27 458
原创 【暑期训练三】晴天系列—G题(二分图最大匹配之匈牙利算法)
1918: G Time Limit: 1 Sec Memory Limit: 128 MB Submit: 350 Solved: 82 SubmitStatusWeb Board Description 晴天也来寻宝啦,有一个m层的宝塔,只能从第一层开始一层一层的往上走,每层都有一个门,你需要用钥匙来打开门才能继续走,现在晴天有n把钥匙,编号为0-n-1,然后他要
2016-08-17 19:47:12 422
原创 【暑期训练三】晴天系列—H题
1915: H Time Limit: 1 Sec Memory Limit: 128 MB Submit: 285 Solved: 121 SubmitStatusWeb Board Description 在三维空间里,晴天得到了一些坐标,然后他想知道这些坐标有没有重合的哇,然后若两个坐标是重合的也就是x=x,y=y,z=z。然后他把这个任务交给你啦。 In
2016-08-17 19:43:52 360
原创 【暑期训练3】晴天系列D题
Problem F: D Time Limit: 1 Sec Memory Limit: 128 MB Submit: 178 Solved: 38 SubmitStatusWeb Board Description 晴天想把一个包含n个整数的序列a分成连续的若干段,且和最大的一段的值最小,但他有强迫症,分的段数不能超过m段,然后他就不会分了。。。他想问你这个分出来的
2016-08-17 19:39:59 299
原创 【杭电oj2063】过山车
过山车 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 15700 Accepted Submission(s): 6886 Problem Description RPG girls今天和大家一起去游乐场玩
2016-08-17 11:51:14 629
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人