Search found 5 matches

by yoojioh
Thu May 17, 2012 12:54 pm
Forum: Volume 8 (800-899)
Topic: 861 - Little Bishops
Replies: 33
Views: 27660

Re: 861 - Little Bishops

@pkrupets i think the test case has more than 1500 test cases,
(i experimented with while(i < 1500){ i++; ~~ } )

i think the harder problem --
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1178
is for the dp solution, and this one is for backtracking ...
by yoojioh
Wed May 02, 2012 11:54 am
Forum: Bugs and suggestions
Topic: 861 - slow judge?
Replies: 5
Views: 3098

Re: 861 - slow judge?

thank you so much for your replies, brianfry713,

but the java code as simple as

import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{

InputStreamReader inp = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(inp);

while(true ...
by yoojioh
Tue May 01, 2012 4:51 pm
Forum: Bugs and suggestions
Topic: 861 - slow judge?
Replies: 5
Views: 3098

Re: 861 - slow judge?

Well, but just the simple program (surely not correct one) like

public static void main(String[] args){
Scanner sc = new Scanner(System.in(;
while(true){
if(some condition) break;
System.out.println(1)
}
}

is so slow... took more than 0.5 secs.
(And not sure if there is more efficient class ...
by yoojioh
Sun Apr 29, 2012 7:18 pm
Forum: Bugs and suggestions
Topic: 861 - slow judge?
Replies: 5
Views: 3098

861 - slow judge?

Hi,

I keep getting TLE in 861 problem with 3 sec limit,
but on my laptop, more than 10 cases run in 1 second.

So I just submitted a program that always prints "1" for ever case intentionally,
then I found it just took "1 SECOND" for just reading inputs and printing "1"s..

Why is the judge so ...
by yoojioh
Sun Apr 29, 2012 6:50 pm
Forum: Volume 8 (800-899)
Topic: 861 - Little Bishops
Replies: 33
Views: 27660

Re: 861 - Little Bishops

i keep getting TLE verdicts.... and it's so frustrating..

i have tried the input


8 6
4 4
8 15
8 12
8 0
5 1
5 5
5 9
8 10
1 1
1 0
7 8
0 0


and it gives me answers in less than 0.5 sec, but the verdict is always TLE...
where can i get the real test cases? or, should my program be faster than ...

Go to advanced search