Search found 2 matches

by kenjush
Sat Jul 31, 2010 6:02 pm
Forum: Volume 101 (10100-10199)
Topic: 10142 - Australian Voting
Replies: 82
Views: 45797

Re: 10142 - Australian Voting & java

never mind! I finally got AC!
I had made a mistake in finding the minimum votes! :P
by kenjush
Sat Jul 31, 2010 5:19 pm
Forum: Volume 101 (10100-10199)
Topic: 10142 - Australian Voting
Replies: 82
Views: 45797

10142 - Australian Voting & java

hi
I code in java!
I wondered if on the last line of last test case there is a '\n' character or not?!
I mean my code runs fine on all test cases on the form of:

.
.
2 3 1
1 2 3



but if input comes in the form of sth linke this:

.
.
1 3 2
1 2 3
it gives wrong answer!

and another question ...

Go to advanced search