I have submited a lot of code for this problem but i still got WA. Any idea? I have read all of the topic before.
[pascal]
(* @begin_of_source_code *)
program p105(input,output);
{$IFDEF ONLINE_JUDGE}
type tint = integer;
{$ELSE}
type tint = longint;
var input : text;
{$IFDEF FILE}
var output ...
Search found 4 matches
- Fri Nov 28, 2003 9:57 am
- Forum: Volume 1 (100-199)
- Topic: 105 - The Skyline Problem
- Replies: 160
- Views: 51317
- Fri Nov 28, 2003 9:51 am
- Forum: Volume 1 (100-199)
- Topic: 104 - Arbitrage
- Replies: 223
- Views: 37233
p104 (Arbitrage) - Pascal - TLE - Tested [Unsolved]
I have read all of the topic which is posted before. And i still get TLE. I use BFS to solve this problem. Any idea?
[pascal]
(* @begin_of_source_code *)
program p104(input,output);
{$IFDEF ONLINE_JUDGE}
type tint = integer;
{$ELSE}
type tint = longint;
var input : text;
{$IFDEF FILE}
var output ...
[pascal]
(* @begin_of_source_code *)
program p104(input,output);
{$IFDEF ONLINE_JUDGE}
type tint = integer;
{$ELSE}
type tint = longint;
var input : text;
{$IFDEF FILE}
var output ...
- Tue Nov 18, 2003 3:52 am
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 116609
p102 (EBP) - Pascal - WA - Tested [Unsolved]
I have read almost all of the topic in this forum, and i got a lot of information from this forum. I have tested my code in some test case which is provided by the previous topic but i still got Wrong Answer. I really don't know how to solve this and i have thought hard for this problem. I really ...
- Tue Jul 29, 2003 11:06 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317910
problem solving
i have 2 problem's
Problem 100 ( Time limit exceed)
--------------------------------------
(* @JUDGE_ID: 26310AM 100 Pascal *)
(* @begin_of_source_code *)
program p100(input,output);
var i, j, k, total, max : integer;
procedure detect(number : longint;var total : integer);
begin
inc(total);
if ...
Problem 100 ( Time limit exceed)
--------------------------------------
(* @JUDGE_ID: 26310AM 100 Pascal *)
(* @begin_of_source_code *)
program p100(input,output);
var i, j, k, total, max : integer;
procedure detect(number : longint;var total : integer);
begin
inc(total);
if ...