Search found 72 matches

by sith
Thu Jun 21, 2012 10:23 pm
Forum: Volume 119 (11900-11999)
Topic: 11995 - I Can Guess the Data Structure!
Replies: 60
Views: 6871

Re: 11995 - I Can Guess the Data Structure!

Thanks it works!
by sith
Thu Jun 21, 2012 12:40 pm
Forum: Volume 108 (10800-10899)
Topic: 10815 - Andy's First Dictionary
Replies: 116
Views: 30561

Re: 10815 - Andy's First Dictionary

Thanks, it works
by sith
Thu Jun 21, 2012 1:21 am
Forum: Volume 119 (11900-11999)
Topic: 11995 - I Can Guess the Data Structure!
Replies: 60
Views: 6871

Re: 11995 - I Can Guess the Data Structure!

Thanks
But now I've got WA

Code: Select all

AC
by sith
Wed Jun 20, 2012 11:14 am
Forum: Volume 119 (11900-11999)
Topic: 11995 - I Can Guess the Data Structure!
Replies: 60
Views: 6871

11995 - I Can Guess the Data Structure!

Hello guys! I've got runtime error What is wrong with my solution (java) import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.StringReader; import java.util.ArrayList; import java.util.Comparator; import java.util.Iterator; import java.util.Link...
by sith
Wed Jun 20, 2012 11:06 am
Forum: Volume 108 (10800-10899)
Topic: 10815 - Andy's First Dictionary
Replies: 116
Views: 30561

Re: 10815 - Andy's First Dictionary

Sorry. Here is the full code

Code: Select all

AC
by sith
Tue Jun 19, 2012 5:01 pm
Forum: Volume 108 (10800-10899)
Topic: 10815 - Andy's First Dictionary
Replies: 116
Views: 30561

Re: 10815 - Andy's First Dictionary

Hello Why my solution is wrong? class Main { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String line; try { Set<String> result = new HashSet<String>(); while ((line = reader.readLine()) != null) { StringTokenizer tokenizer = ...
by sith
Thu Jun 14, 2012 10:47 pm
Forum: Volume 114 (11400-11499)
Topic: 11462 - Age Sort
Replies: 49
Views: 18081

Re: 11462 - Ages Sort

Hello I've got WA, Why????? Here is my code import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.StringReader; import java.util.Arrays; import java.util.Iterator; import java.util.PriorityQueue; import java.util.StringTokenizer; class Main { pub...
by sith
Wed Jun 13, 2012 11:43 pm
Forum: Volume 103 (10300-10399)
Topic: 10340 - All in All
Replies: 129
Views: 31670

Re: 10340 - All in All

Thanks a lot!!!
by sith
Mon Jun 11, 2012 11:50 pm
Forum: Volume 103 (10300-10399)
Topic: 10340 - All in All
Replies: 129
Views: 31670

Re: 10340 - All in All

Hello!
I've got WA but I believe that my solution is correct. All cases from this thread, proof it.

Here is my code

Code: Select all

AC
Helppppppp!
by sith
Tue Jun 05, 2012 1:52 pm
Forum: Volume 113 (11300-11399)
Topic: 11340 - Newspaper
Replies: 154
Views: 43349

Re: 11340 - Newspaper

Thanks a lot
It works!!!
by sith
Sat May 26, 2012 11:26 am
Forum: Volume 113 (11300-11399)
Topic: 11340 - Newspaper
Replies: 154
Views: 43349

Re: 11340 - Newspaper

Hello!

I always get WA.
I've tried all cases from this thread, and as I understood, the received results are correct.

I think that problem is in the result formating but I don't know what it is!


Please help!!!!!!!!

Here is my code:

Code: Select all

Karamba
by sith
Sat May 19, 2012 7:55 pm
Forum: Volume 123 (12300-12399)
Topic: 12394 - Peer Review
Replies: 6
Views: 499

12394 - Peer Review

Hello! I receive WA for this problem. Could Anybody explane why this negative case has 3 problems: UCM 2 3 UAM 1 2 UPM 2 2 0 0 Maybe anybody could provide any valid cases? Here is my code import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.St...

Go to advanced search