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 1219. Symbolic Sequence

Look at my program,please.Some one got AC but I got WA.Why???
Posted by ACM 21 Apr 2003 21:16
program ti;
var i:longint;

begin
     randomize;
     for i:=1 to 1000000 do write(chr(random(26)+97));
end.
Sorry,I got TL,but not WA.
Posted by ACM 21 Apr 2003 21:18
> program ti;
> var i:longint;
>
> begin
>      randomize;
>      for i:=1 to 1000000 do write(chr(random(26)+97));
> end.
Re: Look at my program,please.Some one got AC but I got WA.Why???
Posted by A New Start 1 Jun 2003 09:07
The function random is forbidden in this problem now. The ones who
used this to solve long before can get AC, but now only TLE.
> program ti;
> var i:longint;
>
> begin
>      randomize;
>      for i:=1 to 1000000 do write(chr(random(26)+97));
> end.