Input Matrix in Pascal

Write here if you have problems with your Pascal source code

Moderator: Board moderators

Post Reply
Tatiana Favaro
New poster
Posts: 2
Joined: Sun Nov 02, 2003 4:10 am
Location: ES - Brasil

Input Matrix in Pascal

Post by Tatiana Favaro »

How input matriz in Pascal, like in Problem 612? Where a length do the matrix is inputed in first line...


Dmytro Chernysh
Experienced poster
Posts: 146
Joined: Sat Apr 26, 2003 2:51 am

Post by Dmytro Chernysh »

Hi Tatiana,

It's not that difficult -- I can show you how to do that. Mail me.

Russell John
New poster
Posts: 40
Joined: Mon Jul 21, 2003 9:21 am
Location: Planet Earth

Post by Russell John »

Dmytro_Chernysh wrote:I can show you how to do that. Mail me.
That sounds fishy! :lol:

Why can't you help her out here?
1024 Programmer's Lane,
Algorithm City, United States of C++,
Planet Earth.

Experienced poster
Posts: 169
Joined: Wed Oct 31, 2001 2:00 am
Location: Singapore

Post by junjieliang »

Haha... how fishy can it get? :D
A solution would be to ignore the length of each row and just readln as strings.
Or, read until eoln and then readln to clear the eoln character.

Post Reply

Return to “Pascal”