Search found 5 matches

by iceman126
Fri Dec 04, 2015 8:45 pm
Forum: Volume 13 (1300-1399)
Topic: 1354 - Mobile Computing
Replies: 1
Views: 1607

Re: 1354 - Mobile Computing

For the people who passed the sample test cases but still got WA.

Take care of when s == 1, should output 0.00000, not -1.
by iceman126
Mon Nov 30, 2015 6:56 pm
Forum: Volume 8 (800-899)
Topic: 806 - Spatial Structures
Replies: 5
Views: 6184

Re: 806 - Spatial Structures

Be careful not to output a additional newline when the number of nodes can be divided by 12.

i.e. # of nodes = 12, 24, 36, ...
by iceman126
Sun Nov 29, 2015 2:58 pm
Forum: Volume 6 (600-699)
Topic: 679 - Dropping Balls
Replies: 5
Views: 5228

Re: 679 - Dropping Balls

Thank you brainfry713. You saved my time!
by iceman126
Sat Nov 28, 2015 3:25 pm
Forum: Volume 2 (200-299)
Topic: 220 - Othello
Replies: 9
Views: 5378

Re: 220 - Othello

For the people who gets PE.

Be cautious of the output after making a move.

Black - xx White - yy

when you output xx or yy, remember to use printf(%2d). The number would always takes 2 cols.
by iceman126
Tue Feb 07, 2012 9:19 pm
Forum: Volume 5 (500-599)
Topic: 548 - Tree
Replies: 23
Views: 10871

548 got WA

I have tried many input/ouputs and every result is correct, but I keeps get WA from the judge. I used C++ strings to get input and used stringstream to covert string to int. I construct a tree first, find the sum by dfs, and search for the least terminal node when have many same least sum. Can someo...

Go to advanced search