## Search found 5 matches

Thu Sep 20, 2007 3:44 am
Forum: Bugs and suggestions
Topic: 11093 - Just Finish it up
Replies: 0
Views: 1639

### 11093 - Just Finish it up

Correct me if I'm wrong, but to get TLE with this code: import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.StringTokenizer; class Main { private static String newLine = System.getProperty("line.separator"); static String readLn() { StringBuffer buffer = n...
Sun Mar 04, 2007 10:30 pm
Forum: Volume 111 (11100-11199)
Topic: 11158 - Elegant Permuted Sum
Replies: 23
Views: 15026
Sedefcho; Try to be little more greedy ;) For example you have 5 numbers : 1 2 3 4 7 first we take 7 1 (highest & lowest) then the remaining numbers are 2 3 4 now in the remaining list 4 and 2 is the highest and lowest. we will try to put any of these two numbers in our output list's beginning or e...
Sat Mar 03, 2007 4:44 am
Forum: Volume 111 (11100-11199)
Topic: 11161 - Help My Brother (II)
Replies: 2
Views: 2258

### 11161 - Help My Brother (II)

I've just got AC after solving some problems with TL, as I've search here for something about this problem that could help and didn't find anything I'll just post the things that I found useful and some I/O. My solution is simple. Calculate all the numbers first the just get the results in the array...
Sat Apr 22, 2006 8:35 am
Forum: Volume 3 (300-399)
Topic: 327 - Evaluating Simple C Expressions
Replies: 19
Views: 8274
Here's some sample input and my programs (which is AC) output. Maybe it can help? b++---c+d-c+b should yield Expression: b++---c+d-c+b value = 5 b = 3 c = 2 d = 4 I get value = 4 and my program was AC From the problem's description: Each variable will appear at most once in an expression, and many ...
Sun Apr 02, 2006 8:15 am
Forum: Volume 2 (200-299)
Topic: 275 - Expanding Fractions
Replies: 47
Views: 21783

### Problem 275, does anyone have any trick I/O?

I' ve just done the 202 problem and I thought the solution of the 275 would be very easy. I guess I was wrong :P All the i/o that i got, wich by the way were only the sample ones, are passing. But the judge keep saying me WA. What should be the output for something like: 0 5 My program shows: .0 Thi...