- 博客(52)
- 收藏
- 关注
原创 【JAVA 课程设计 之 万年历】
距离2017年还有30多个小时~转眼间2016只剩一个尾巴了,大学生活也过了快一半了,自己却依旧那么笨手笨脚,不会的知识永远那么多,该看的书永远没机会去看,2017愿一切如昨天抽的签: 远方不一定有诗,但有更好的自己~明天你好,请多关照~2017希望我的家人们,小伙伴们,以及所有帮助过我的朋友们都能健健康康,万事如意~Java 课设远没有自己想的难,万年历,不用做显示面~也算2016JAVA的最后一
2016-12-30 16:39:45 7854
原创 【Codeforces 747 C Servers 】+ 思维 或 优先队列
C. Servers time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputThere are n servers in a laboratory, each of them can perform tasks. Each
2016-12-28 23:48:48 642
原创 【1215: 毛毛的数学问题(2)】+ 数学
1215: 毛毛的数学问题(2) [数学] 时间限制: 1 Sec 内存限制: 128 MB 提交: 32 解决: 5 [提交][状态][讨论版] 题目描述毛毛是个喜欢数学的小萝莉,她发现对于21可以由 1+2+3+4+5+6, 6+7+8, 10+11等3组长度大于等于2的连续序列相加得到。那么对于一个正整数N,你可以帮毛毛找出N可以有几组连续的正整数(长度>=2)相加得到吗? 输
2016-12-27 17:15:56 580 4
原创 【HPU 1078 傻圆儿要去哪 】+ 积分
1078: 傻圆儿要去哪 [积分] 时间限制: 1 Sec 内存限制: 128 MB 提交: 8 解决: 3 [提交][状态][讨论版] 题目描述终于放假了,-.-,经过一学期的学习傻圆儿终于可以歇歇了。去哪里玩呢?傻圆儿有几个想要去的地方,每个地方在每天所玩的高兴程度是不一样的。假如放假第0天的高兴程度都为0,现在给出几个景点所玩时的高兴程度随着时间的增加率,请你帮助傻圆儿计算出第n天
2016-12-27 14:58:05 298
原创 【Codeforces 652 A Gabriel and Caterpillar】+ 手速
A. Gabriel and Caterpillar time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputThe 9-th grade student Gabriel noticed a caterpillar on a
2016-12-27 13:54:12 543
原创 【Codeforces 652 C Foe Pairs 】
C. Foe Pairs time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputYou are given a permutation p of length n. Also you are given m foe pair
2016-12-27 13:10:41 544
原创 【Codeforces 631 C Report】+ 单调栈
C. Report time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputEach month Blake gets the report containing main economic indicators of th
2016-12-26 21:13:10 463
原创 【Codeforces 748 B Santa Claus and Keyboard Check】
B. Santa Claus and Keyboard Check time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputSanta Claus decided to disassemble his keyboard to
2016-12-26 20:34:21 849
原创 【Codeforces 748 C Santa Claus and Robot】+ 思维
C. Santa Claus and Robot time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputSanta Claus has Robot which lives on the infinite grid and
2016-12-26 19:26:09 783
原创 【Codeforces 631 B Print Check 】+ 简单构造
B. Print Check time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputKris works in a large company “Blake Technologies”. As a best engineer
2016-12-23 18:21:30 379
原创 【Codeforces 631 A Interview】
A. Interview time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputBlake is a CEO of a large company called “Blake Technologies”. He loves
2016-12-23 17:09:39 320
原创 【Codeforces 629 C Famil Door and Brackets 】+ dp
C. Famil Door and Brackets time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputAs Famil Door’s birthday is coming, some of his friends (
2016-12-23 00:00:39 553
原创 【Codeforces 652 D Nested Segments】+ 树状数组 + 离散化
D. Nested Segments time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputYou are given n segments on a line. There are no ends of some seg
2016-12-21 23:28:52 460
原创 【Codeforces 652 B z-sort 】
B. z-sort time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputA student of z-school found a kind of sorting called z-sort. The array a wi
2016-12-21 22:01:02 414
原创 【Codeforces 629 B Far Relative’s Problem】
B. Far Relative’s Problem time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputFamil Door wants to celebrate his birthday with his friend
2016-12-21 21:36:28 356
原创 【POJ 3253 Fence Repair】+ 优先队列
Fence Repair Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 43547 Accepted: 14197DescriptionFarmer John wants to repair a small length of the fence around the pasture. He meas
2016-12-21 18:46:02 326
原创 【POJ 3617 Best Cow Line】+ 构造
Best Cow Line Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 21277 Accepted: 5801DescriptionFJ is about to take his N (1 ≤ N ≤ 2,000) cows to the annual”Farmer of the Year” co
2016-12-21 13:33:47 359
原创 【Codeforces 747B Mammoth's Genome Decoding】+ 构造
B. Mammoth’s Genome Decoding time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputThe process of mammoth’s genome decoding in Berland come
2016-12-19 23:21:43 738
原创 【Codeforces 746B Decoding】 + 构造
B. Decoding time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputPolycarp is mad about coding, that is why he writes Sveta encoded message
2016-12-18 23:03:56 639
原创 【Codeforces 746D Green and Black Tea】+ 构造
D. Green and Black Tea time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputInnokentiy likes tea very much and today he wants to drink exa
2016-12-18 22:51:56 852
原创 【HDU 5996 dingyeye loves stone】+ 尼姆博弈
dingyeye loves stone Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 48 Accepted Submission(s): 27Problem Description dingyeye loves play
2016-12-17 22:55:12 484
原创 【Codeforces 743 BChloe and the sequence 】
B. Chloe and the sequence time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputChloe, the same as Vladik, is a competitive programmer. She
2016-12-16 21:51:15 481
原创 【Codeforces 743C Vladik and fractions】
C. Vladik and fractions time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputVladik and Chloe decided to determine who of them is better a
2016-12-16 21:40:42 720
原创 【ZOJ 2851 zoj 2851 Code Formatter】+ 字符串
Code Formatter Time Limit: 2 Seconds Memory Limit: 65536 KBSome companies have special requirements for source code format, and it is also good for programmers to keep consistent code style. You
2016-12-13 23:19:56 435
原创 【POJ 2104 K-th Number】+ 主席树
K-th Number Time Limit: 20000MS Memory Limit: 65536K Total Submissions: 51458 Accepted: 17601 Case Time Limit: 2000MSDescription You are working for Macrohard company in data structures
2016-12-13 12:22:23 456
原创 【JAVA 日常练习】+ IO
package Theirteen;import java.io.*;public class Text2 { public static void main(String[] args) throws Exception{ try{ DataOutputStream Output = new DataOutputStream(new FileOutp
2016-12-11 16:20:06 602
原创 【JAVA 日常练习 13.10】+ comparable接口实现
Oct抽象类~~package Theirteen;public abstract class Oct { private String color = "white"; private boolean filled; private java.util.Date da; protected Oct(){ da = new java.util.Date
2016-12-11 14:56:52 518
原创 【JAVA 日常练习 13.9】+ 接口 + 抽象类
Oct抽象类~package Theirteen;public abstract class Oct { private String color = "white"; private boolean filled; private java.util.Date da; protected Oct(){ da = new java.util.Date(
2016-12-11 14:41:35 603
原创 【Codeforces 741 B. Arpa's weak amphitheater and Mehrdad's 】+ 并查集 + 01背包
B. Arpa’s weak amphitheater and Mehrdad’s valuable Hoses time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputJust to remind, girls in Arp
2016-12-10 20:14:28 721
原创 【Codeforces 741A. Arpa's loud Owf and Mehrdad's evil plan 】+ 思维
A. Arpa’s loud Owf and Mehrdad’s evil plan time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputAs you have noticed, there are lovely girl
2016-12-10 19:20:12 797
原创 【Codecorces 246A.Buggy Sorting 】+ 趣题
A. Buggy Sorting time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputLittle boy Valera studies an algorithm of sorting an integer array.
2016-12-10 18:05:32 542
原创 【Codeforces 141 B Hopscotch 】+ 构造
B. Hopscotch time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputSo nearly half of the winter is over and Maria is dreaming about summer
2016-12-10 17:44:45 353
原创 【Codeforces 246B Increase and Decrease 】
B. Increase and Decrease time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputPolycarpus has an array, consisting of n integers a1, a2, …
2016-12-10 16:46:06 753
原创 【HDU 1498 50 years, 50 colors】+ 二分图
50 years, 50 colors Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2419 Accepted Submission(s): 1358Problem Description On Octorber 21st,
2016-12-09 23:26:10 348
原创 【Codeforcdes 237C. Primes on Interval】+ 二分
C. Primes on Interval time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputYou’ve decided to carry out a survey in the theory of prime num
2016-12-09 22:35:52 538
原创 【Codeforces 141CQueue】+ 数组构造
C. Queue time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputIn the Main Berland Bank n people stand in a queue at the cashier, everyone
2016-12-09 21:58:53 453
原创 【Codeforces 246C Beauty Pageant】
C. Beauty Pageant time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputGeneral Payne has a battalion of n soldiers. The soldiers’ beauty
2016-12-09 20:24:24 489
原创 【Codeforces 237B Young Table】+ map 数组构造
B. Young Table time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputYou’ve got table a, consisting of n rows, numbered from 1 to n. The i
2016-12-09 00:24:08 483
原创 【codeforces 557C Arthur and Table】+ 思维
C. Arthur and Table time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputArthur has bought a beautiful big table into his new flat. When h
2016-12-07 23:24:40 565
原创 【codeforces 246D Colorful Graph 】+ set
D. Colorful Graph time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputYou’ve got an undirected graph, consisting of n vertices and m edg
2016-12-07 20:29:17 531
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人