ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1506. Columns of Numbers

How I print output?
Posted by tester 29 Oct 2006 13:58
I sumbit this codes and Got WA#1.

WriteLn('1 40 700');
WriteLn('2 50');
WriteLn('30 600');

WriteLn('1     40     700');
WriteLn('2     50');
WriteLn('30    600');

WriteLn('1    40    700');
WriteLn('2    50');
WriteLn('30    600');

all Get WA#1.
How I write output?
Re: How I print output?
Posted by vt-24 29 Oct 2006 14:50
"-" = " "

"---1--40-700"
"---2--50"
"---30-600"

Edited by author 29.10.2006 14:51
Re: How I print output?
Posted by Nechaev Ilya (Rybinsk SAAT) 29 Oct 2006 14:53
WriteLn(1:4, 40:4, 700:4);
WriteLn(2:4, 50:4);
WriteLn(30:4, 600:4);
Re: How I print output?
Posted by tester 29 Oct 2006 15:05
Thanks.
Re: How I print output?
Posted by Spieler (USU) 29 Oct 2006 15:13
Sample output in problem statement wil be corrected soon.
Re: How I print output?
Posted by Todor Tsonkov 31 Oct 2006 21:33
Isn't it more precisely:
---1--40-700
---2--50
--30-600

where "-"==" "
How I print output?
Posted by partisan 11 Jun 2009 00:21
What can I do in C++ to output as in Pascal without hand-calculating the numbers of blanks?