|  | 
|  | 
| back to board | 0X
 *
 1
 1
 X
 *
 +
 +
 
 Why it isn't this?
 i think it's wrong.isn't it?
 > i think it's wrong.> isn't it?
 
 no,it's right
 i've got ac:)
 > > i think it's wrong.> > isn't it?
 >
 > no,it's right
 > i've got ac:)
> > i think it's wrong.> > isn't it?
 >
 > no,it's right
 > i've got ac:)
 
 but then y dont they accept this?
 
 program expression;
 var i,j:integer;
 
 begin
 readln(j);
 writeln('0');
 for i := 1 to j do begin
 writeln('x');
 writeln('*');
 writeln(i);
 writeln('+');
 end;
 end.
 
 this is wrong answer but the output is the same for n=1 or 2
 
 > > > i think it's wrong.> > > isn't it?
 > >
 > > no,it's right
 > > i've got ac:)
 >
 > but then y dont they accept this?
 >
 > program expression;
 > var i,j:integer;
 >
 > begin
 > readln(j);
 > writeln('0');
 > for i := 1 to j do begin
 > writeln('x');
 > writeln('*');
 > writeln(i);
 > writeln('+');
 > end;
 > end.
 >
 > this is wrong answer but the output is the same for n=1 or 2
 
 p.s. it doesnt accept whether the x is upper or lower case
 >
 >
 | 
 | 
|