I tested it very carfully, but I could not find the wrong place.
program p105;
var
cache:array[1..100,1..2] of integer;
l,h,r,n,size,k,t:integer;
procedure print_n_clear(j:integer);
{ ouput except the nth elements and so on remain; so does clear operation }
var i:integer;
begin
for i:=1 to j do ...
Search found 4 matches
- Wed Aug 17, 2005 9:04 am
- Forum: Volume 1 (100-199)
- Topic: 105 - The Skyline Problem
- Replies: 160
- Views: 51432
- Wed Aug 17, 2005 5:40 am
- Forum: Volume 1 (100-199)
- Topic: 105 - The Skyline Problem
- Replies: 160
- Views: 51432
- Wed Aug 17, 2005 4:13 am
- Forum: Volume 1 (100-199)
- Topic: 105 - The Skyline Problem
- Replies: 160
- Views: 51432
- Tue Aug 16, 2005 3:30 pm
- Forum: Volume 1 (100-199)
- Topic: 105 - The Skyline Problem
- Replies: 160
- Views: 51432
105-wrong answer
Sample Input
1 11 5
2 6 7
3 13 9
12 7 16
14 3 25
19 18 22
23 13 29
24 4 28
The input example didn't even give a eof symbol. How can I recognize the input is end in Pascal?
1 11 5
2 6 7
3 13 9
12 7 16
14 3 25
19 18 22
23 13 29
24 4 28
The input example didn't even give a eof symbol. How can I recognize the input is end in Pascal?