- 博客(34)
- 收藏
- 关注
原创 【Codeforces 734 D Anton and Chess】
D. Anton and Chess time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard outputAnton likes to play chess. Also, he likes to do programming. That
2017-01-29 19:37:18 381
原创 【Codeforces 745 B Hongcow Solves A Puzzle】
B. Hongcow Solves A Puzzle time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputHongcow likes solving puzzles.One day, Hongcow finds two
2017-01-25 22:14:46 409
原创 【Codeforces 760 B Frodo and pillows】+ 二分
B. Frodo and pillows time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputn hobbits are planning to spend the night at Frodo’s house. Frod
2017-01-25 01:37:15 1376
原创 【Codeforces 746 C Tram】+ 细节
C. Tram time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputThe tram in Berland goes along a straight line from the point 0 to the point
2017-01-22 21:22:42 428
原创 【Codeforces 755 C PolandBall and Forest】+ 并查集
C. PolandBall and Forest time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputPolandBall lives in a forest with his family. There are some
2017-01-22 15:15:33 329
原创 【Codeforces 755 B PolandBall and Game】
B. PolandBall and Game time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputPolandBall is playing a game with EnemyBall. The rules are sim
2017-01-22 15:11:08 687
原创 【HDU 6012 Lotus and Horticulture】+ 思维 + map
Lotus and Horticulture Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 313 Accepted Submission(s): 96Problem Description These days Lotu
2017-01-22 14:27:25 707
原创 【HDU 6011 Lotus and Characters】
D. Ability To Convert time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputAlexander is learning how to convert numbers from the decimal s
2017-01-21 22:51:25 718
原创 【Codeforces 758 D Ability To Convert】
D. Ability To Convert time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputAlexander is learning how to convert numbers from the decimal s
2017-01-21 15:30:44 381
原创 【Codeforces 758 C Unfair Poll】+ 细节
C. Unfair Poll time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputOn the Literature lesson Sergei noticed an awful injustice, it seems t
2017-01-21 14:00:13 405
原创 【Codeforces 758 Blown Garland】
B. Blown Garland time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputNothing is eternal in the world, Kostya understood it on the 7-th of
2017-01-21 00:19:02 397
原创 【POJ 1456 Supermarket】
Supermarket Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 12298 Accepted: 5452Description A supermarket has a set Prod of products on sale. It earns a profit px for each pro
2017-01-20 23:40:43 339
原创 【HDU 3038 How Many Answers Are Wrong】+ 并查集
How Many Answers Are Wrong Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 6663 Accepted Submission(s): 2485Problem Description TT and FF
2017-01-19 22:13:30 385
原创 【POJ 2524 Ubiquitous Religions】+ 并查集
Ubiquitous Religions Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 33063 Accepted: 16019Description There are so many different religions in the world today that it is diffi
2017-01-19 17:48:26 310
原创 【POJ 1611 The Suspects】+ 并查集
The Suspects Time Limit: 1000MS Memory Limit: 20000K Total Submissions: 35581 Accepted: 17269Description Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiol
2017-01-19 17:40:52 243
原创 【POJ 2236 Wireless Network】 + 并查集
Wireless Network Time Limit: 10000MS Memory Limit: 65536K Total Submissions: 25271 Accepted: 10496Description An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical
2017-01-18 21:27:18 344
原创 【Codeforces C Voting】
C. Voting time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputThere are n employees in Alternative Cake Manufacturing (ACM). They are now
2017-01-16 12:05:34 771
原创 【Codeforces 757 C Felicity is Coming! 】+ 思维
C. Felicity is Coming! time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputIt’s that time of the year, Felicity is around the corner and
2017-01-15 16:29:47 819
原创 【Codeforces 757 Bash's Big Day】+ 手速
B. Bash’s Big Day time limit per test 2 seconds memory limit per test 512 megabytes input standard input output standard outputBash has set out on a journey to become the greatest Pokemon maste
2017-01-14 18:49:11 530
原创 【Codeforces 754 B Ilya and tic-tac-toe game】
B. Ilya and tic-tac-toe game time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputIlya is an experienced player in tic-tac-toe on the 4 ×
2017-01-07 10:47:51 1134
原创 【Codeforces 754 A】
A. Lesha and array splitting time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputOne spring day on his way to university Lesha found an
2017-01-07 10:14:37 617
原创 【JAVA 17.6 + 17.7】+ IO
Serializable 接口是启用其序列化功能的接口~写完17.6发现17.7和17.6是一个类型的索性写在一起也方便检验~~实现代码:package CJF;import java.io.*;import java.util.Date;public class Loan implements Serializable { private double a; private in
2017-01-05 08:44:39 842
原创 【JAVA 17.5】+ IO
练练手~~实现代码:package SevenTeen;import java.io.*;import java.util.Date;public class Five { public static void main(String[] args) throws Exception{ try{ DataOutputStream f2 = new DataOu
2017-01-05 08:29:37 598
原创 【JAVA 17.2】+ IO
练练手~实现代码:package SevenTeen;import java.io.FileOutputStream;public class Two { public static void main(String[] args) throws Exception{ try{ FileOutputStream f = new FileOutputStream(
2017-01-05 08:28:41 665
原创 【JAVA 17.1】
练练手~~实现代码:package SevenTeen;public class One { public static void main(String[] args) throws Exception{ java.io.File f = new java.io.File("f.txt"); if(f.exists()){ System
2017-01-05 08:27:35 722
原创 【JAVA 10.26】
字符计算器,被自己的bug蠢哭了=-=,JAVA还是太菜~package Ten;import java.util.*;public class TwentySix { public static void main(String[] args) { String s = " 43 + 54 "; int a = 0,b = 0,ok = 1;
2017-01-02 21:52:08 1267
原创 【JAVA 10.25】
练练手~~~JAVA也还好~public class split { public static void main(String[] args) { String[] s = split("123#12#1","#"); for(int i = 0 ; i < s.length; i++) System.out.println(s[i]
2017-01-02 21:25:57 982
原创 【JAVA 10.22】
练练手~~package Ten;public class Mystring1 { char[] s = new char[30]; private int length; public Mystring1(char[] s){ this.s = s; } public char charAt(int i){ return s[
2017-01-02 21:23:08 884
原创 【JAVA 10.6】
练练手,水一水JAVA~package Ten;import java.util.Stack;public class Six { public static void main(String[] args) { Stack s = new Stack(); for(int i = 2 ; i <= 120 ; i++){ int cut =
2017-01-02 19:13:17 609
原创 【JAVA 10.5】
练练手~~和C++栈一样,一开始多想了package Ten;import java.util.*;import java.util.Stack;public class Five { public static void main(String[] args) { Scanner input = new Scanner(System.in); int x
2017-01-02 19:12:06 844
原创 【JAVA 10.4】
练练手~实现代码:package Ten;public class Mypoint { int x = 6,y = 8; public int getX(){ return this.x; } public int gety(){ return this.y; } public void getD(int x,int y)
2017-01-02 19:10:03 664
原创 【Codeforces 750 D New Year and Fireworks】+ DFS
D. New Year and Fireworks time limit per test 2.5 seconds memory limit per test 256 megabytes input standard input output standard outputOne tradition of welcoming the New Year is launching fir
2017-01-01 20:45:07 782
原创 【Codeforces 752 C New Year and Rating】+ 思维
C. New Year and Rating time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputEvery Codeforces user has rating, described with one integer,
2017-01-01 15:00:36 775
原创 【Codeforces 750 B New Year and North Pole 】+ 手速
B. New Year and North Pole time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputIn this problem we assume the Earth to be a completely ro
2017-01-01 13:11:26 882
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人