Search found 3 matches

by dragonking
Tue Feb 10, 2004 9:40 am
Forum: Pascal
Topic: Runtime error in Pascal
Replies: 1
Views: 6463

I just know it's very serious.
by dragonking
Wed Feb 04, 2004 5:40 am
Forum: Algorithms
Topic: Help me!
Replies: 5
Views: 3644

This is my code. I can pass the data from USACO,but I can't pass the biggest data : 3 250. I wonder is there a way to pass this data.
[pascal]
program ariprog ;
var
a : array[0..1250000]of boolean;
c : array[-1..1250000]of integer;
sh,go : array[1..2,1..100000]of longint;
b : array[1..21047]of ...
by dragonking
Wed Feb 04, 2004 5:27 am
Forum: Algorithms
Topic: Help me!
Replies: 5
Views: 3644

This is a problem from USACO. I've just passed it.
My English is poor. So I can't tell you the way clearly.
You can try every two integers, assume they are the first two in a sequence ,then find the rest ones. If you find correct or more than n numbers , then it's one of the solution.At last , sort ...

Go to advanced search