## Search found 8 matches

Wed Jan 07, 2009 4:04 am
Forum: Volume 100 (10000-10099)
Topic: 10033 - Interpreter
Replies: 88
Views: 25259

### Re: 10033 - Interpreter

ExUCI wrote:There is an extra end-of-line at the end of the output, that's all!!! ....the empty lines are between cases
Yea, so the AC code is as follows:

Code: Select all

``````< < < removed by request of author on 9 Jan 09 23 09 > > >
``````
Mon Dec 08, 2008 2:12 am
Forum: Volume 102 (10200-10299)
Topic: 10270 - Bigger Square Please...
Replies: 25
Views: 11809

### Re: 10270 - Bigger Squares Please

interesting...the last 2 posts...i've actually solved it myself as well, in a really much more inefficient way [coded in c++], would you mind to post your solutions so i can take a look at how these steps you listed are all implemented?

cheers
Fri Jul 25, 2008 3:06 am
Forum: Volume 102 (10200-10299)
Topic: 10270 - Bigger Square Please...
Replies: 25
Views: 11809

### Re: 10270 - Bigger Squares Please

How'd you achieve 16 squares solution for N=47? i only managed 17 squares...
g47.gif
Sat Jun 28, 2008 11:50 am
Forum: Volume 8 (800-899)
Topic: 848 - Fmt
Replies: 16
Views: 12103

### Re: 848 - FMT

import java.io.*; import java.util.*; class Main implements Runnable{ static String ReadLn(int maxLength){ // utility function to read from stdin, // Provided by Programming-challenges, edit for style only byte line[] = new byte [maxLength]; int length = 0; int input = -1; try{ while (length < maxL...
Sat Jun 21, 2008 5:17 am
Forum: Volume 8 (800-899)
Topic: 848 - Fmt
Replies: 16
Views: 12103

### Re: 848 - FMT

hey anyone can outline a general strategy to solve this problem? i've tried and encountered numerous WA's so far... i have also compiled the following input test case data and used the UVA toolkit (uva.xgd.dk) to generate the output, but i'm not sure if it's correct to produce the AC solution, can a...
Wed Nov 21, 2007 11:34 am
Forum: Volume 101 (10100-10199)
Topic: 10149 - Yahtzee
Replies: 20
Views: 11776

### 10149 - Yahtzee HOWTO SOLVE

Hi to all, I code in JAVA and I am stuck at devising an efficient strategy to solve this problem.i can't seem to get anywhere close to the maximum score, even for the test cases specified in the question. gathering the input from above, there are mentions of simulated annealing, hill climbing with r...
Sat Oct 27, 2007 2:40 am
Forum: Java
Topic: How to detect blank/empty line in input?
Replies: 1
Views: 10223

### How to detect blank/empty line in input?

Hi to all reading this, How do i detect a blank/empty line in input using JAVA? Thus far, I have been using the following 2 ways to read input data to be processed in my solution. 1. using the sample code under "How to submit in JAVA" on programming-challenges.com.. make use of this function defined...
Thu Oct 25, 2007 4:55 pm
Forum: Volume 101 (10100-10199)
Topic: 10142 - Australian Voting
Replies: 82
Views: 30683
EDIT: removed.ACC!!