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 1059. Expression

I got AC. This is my program
Posted by Aleksey S.S. 29 Mar 2003 18:34
>
This is my solution:
--------------program-----------------
var n:integer; i:integer;
begin
 readln(n);
 if n=0 then writeln(0) else  begin
  writeln('0'); writeln('X'); writeln('*');
   for i:=1 to n-1 do  begin
    writeln(i); writeln('+');
    writeln('X'); writeln('*'); end;
  writeln(n); writeln('+'); send;
end.
---------------------------------------
The tests are really messed up !!!
Posted by Bravo, Tzigane! 2 Aug 2003 01:28
Re: I got AC. This is my program
Posted by Sid 21 Jul 2005 15:41
My program is just the same!!!! It's realy easy task! As easy as task №1000