Search found 5947 matches

by brianfry713
Sat Oct 22, 2011 9:19 am
Forum: Volume 107 (10700-10799)
Topic: 10773 - Back to Intermediate Math
Replies: 41
Views: 16957

Re: 10773 - Back to Intermediate Math

monjur wrote:I cant understand why i got WA repeatedly.
Don't check for the number of test cases more than once.
Also don't check if the result>=0.001
by brianfry713
Fri Oct 21, 2011 11:02 am
Forum: Bugs and suggestions
Topic: Volume CXX forum?
Replies: 2
Views: 1755

Re: Volume CXX forum?

How about a new forum for these:
Volume X
Volume XI
Volume XII
Volume CXXI
Volume CXXII
Volume CXXIII

Thanks.
by brianfry713
Sat Oct 15, 2011 2:45 am
Forum: Volume 2 (200-299)
Topic: 220 - Othello
Replies: 9
Views: 5384

Re: 220 WA Problem

Here's the input from above: 6 WWWWB--- WWWB---- WWB----- WB------ -------- -------- -------- -------- B L M43 L M25 L Q -------- -------- -------- ---WB--- ---BW--- -------- -------- -------- W L M35 L Q WWWWB--- WWWB---- WWB----- WB------ -------- -------- -------- -------- B L M25 L Q WWWWB--- WW...
by brianfry713
Sat Sep 03, 2011 5:20 am
Forum: Volume 2 (200-299)
Topic: 213 - Message Decoding
Replies: 11
Views: 5752

Re: 213

htl, I glanced at your code and noticed that your out array size is limited to 1000, my AC program considered the number of datasets and the length of the decoded message unlimited. Rry rewriting your code so that the output is printed as you decode it instead of after all the decoding. The problem ...
by brianfry713
Sat Sep 03, 2011 5:11 am
Forum: Volume 2 (200-299)
Topic: 213 - Message Decoding
Replies: 11
Views: 5752

Re: prob 213 plz help

To answer both your questions, my AC program considered the number of datasets and the length of the decoded message unlimited.

The problem states that the max length of the keys in the header is 7. That gives a total of (2^n)-1 for n=1 to 7, or 1+3+7+15+31+63+127=247 max characters in the header.
by brianfry713
Fri Sep 02, 2011 11:00 pm
Forum: Volume 2 (200-299)
Topic: 202 - Repeating Decimals
Replies: 82
Views: 10861

Re: 202-why WA?

Check that you're using three spaces before the number not one - the forum software takes out extra spaces.

Also add a newline at the end of the output.
by brianfry713
Fri Sep 02, 2011 10:56 pm
Forum: Volume 2 (200-299)
Topic: 202 - Repeating Decimals
Replies: 82
Views: 10861

Re: UVA 202

Try adding a newline at the end of the output. It seems like that should cause a PE but for this problem it considers it a WA.

Go to advanced search