Search found 72 matches
- Thu Jun 14, 2018 10:28 pm
- Forum: Volume 8 (800-899)
- Topic: 860 - Entropy Text Analyzer
- Replies: 13
- Views: 8881
Re: 860 - Entropy Text Analyzer
It is bad. How should I figure out the encoding requirement from problem description? It should be clear from the problem statement.
- Sat Jun 02, 2018 8:03 am
- Forum: Volume 130 (13000-13099)
- Topic: 13131 - Divisors [Time Limit]
- Replies: 0
- Views: 1569
13131 - Divisors [Time Limit]
I must ask this question in the Volume 130 forum as Volume 131 is empty and by some reason I don't have permissions to start new topic there. So, I managed to write the solution that should be correct but I got TE. import java.util.HashSet; import java.util.Scanner; import java.util.Set; class Main ...
- Mon Sep 04, 2017 5:44 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10901 - Ferry Loading III
- Replies: 54
- Views: 24435
Re: 10901 - Ferry Loading III
Hi
could somebody explain why this input
produces result
If ferry starts from the left bench, it should stay there as there are no cars on either of banks until 3. after it it will take 1 to get to the right bank and 1 to travel back. So it should be 5.
Why is it 7?
could somebody explain why this input
Code: Select all
1
2 2 1
3 right
Code: Select all
7
Why is it 7?
- Sat Aug 31, 2013 8:52 am
- Forum: Volume 103 (10300-10399)
- Topic: 10360 - Rat Attack
- Replies: 19
- Views: 45346
Re: 10360 - Rat Attack
Hi I've got WA, My solution gives correct answers for posted examples. Could somebody help me, why am I getting WA, for which input my solution gives wrong answer import java.io.*; import java.util.*; class Main { public static final XComparator X_COMPARATOR = new XComparator(); public static final ...
- Thu Jun 06, 2013 7:47 am
- Forum: Volume 126 (12600-12699)
- Topic: 12608 - Garbage Collection
- Replies: 2
- Views: 10735
12608 - Garbage Collection
Hi guys i have a problem with 12608 - Garbage Collection My solution works for given inputs but I got WA? Could anybody give some suggestions or input? import java.io.*; import java.util.Scanner; class Main { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new Inp...
- Tue Dec 25, 2012 8:42 pm
- Forum: Volume 116 (11600-11699)
- Topic: 11631 - Dark roads
- Replies: 11
- Views: 5156
11631 - Dark roads. WA!!!
Hi, I believe I chose right approach, but I got WA, Could anybody help with advice or provide some input import java.io.*; import java.util.Arrays; import java.util.Scanner; class Main { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(System....
- Mon Dec 24, 2012 2:44 am
- Forum: Volume 114 (11400-11499)
- Topic: 11413 - Fill the Containers
- Replies: 13
- Views: 7386
Re: 11413 - Fill the Containers
I meant two 
Somebody posted input example
and answer is 82.
Why? I think if we have a lot of containers we can set one container per each vessel, so the answer has to be 78?
Why 82?

Somebody posted input example
Code: Select all
3 100
4 78 9
Why? I think if we have a lot of containers we can set one container per each vessel, so the answer has to be 78?
Why 82?
- Sun Dec 23, 2012 9:11 pm
- Forum: Volume 122 (12200-12299)
- Topic: 12289 - One-Two-Three
- Replies: 12
- Views: 10220
Re: Why wa
Thank you, small mistake 
Got AC

Got AC
- Sun Dec 23, 2012 8:59 am
- Forum: Volume 114 (11400-11499)
- Topic: 11413 - Fill the Containers
- Replies: 13
- Views: 7386
Re: 11413 - Fill the Containers
Hi could anybody clarify some issues with this problem Problem says Whenever milk from a vessel is poured into a container, the milk in the vessel must be completely poured into that container only. That is milk from same vessel can not be poured into different containers. So, this is "one cont...
- Sun Dec 09, 2012 8:47 pm
- Forum: Volume 122 (12200-12299)
- Topic: 12289 - One-Two-Three
- Replies: 12
- Views: 10220
Re: Why wa
Hi, I got WA,
But I believe that my solution has to be good.
Could anybody provide some cases for which my solution doesn't work
But I believe that my solution has to be good.
Could anybody provide some cases for which my solution doesn't work
Code: Select all
AC
- Sun Dec 09, 2012 5:26 am
- Forum: Volume 115 (11500-11599)
- Topic: 11577 - Letter Frequency
- Replies: 19
- Views: 7735
Re: 11577 - Letter Frequency TLE
Thank you.
Got AC
Got AC
- Sun Dec 09, 2012 5:14 am
- Forum: Volume 115 (11500-11599)
- Topic: 11541 - Decoding
- Replies: 12
- Views: 5284
Re: 11541 - Decoding
thank you,
silly typo
got AC
silly typo
got AC
- Thu Dec 06, 2012 9:24 am
- Forum: Volume 115 (11500-11599)
- Topic: 11520 - Fill the Square
- Replies: 5
- Views: 3337
Re: 11520 - Fill the Square
Hi, I've got WA, but my solution shows correct results for mentioned inputs. Why WA? Maybe I print extra '\n', or there are any special case that I missed? import java.io.*; import java.util.Scanner; import java.util.Set; import java.util.TreeSet; class Main { public static void main(String[] args) ...
- Tue Dec 04, 2012 8:33 am
- Forum: Volume 115 (11500-11599)
- Topic: 11577 - Letter Frequency
- Replies: 19
- Views: 7735
11577 - Letter Frequency
Hi,
I got TL.
I am sure that complexity of my solution is n+nlogn. Is it enough? or there is exits faster algorithm
Or this is Java I/O problems?
Please give me advice.
I got TL.
I am sure that complexity of my solution is n+nlogn. Is it enough? or there is exits faster algorithm
Or this is Java I/O problems?
Please give me advice.
Code: Select all
AC
- Tue Dec 04, 2012 7:47 am
- Forum: Volume 115 (11500-11599)
- Topic: 11541 - Decoding
- Replies: 12
- Views: 5284