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

MY AC PROGRAM C++!!!
Posted by yaho0o0 10 Apr 2009 14:57
#include <cstdlib>
#include <ctime>
#include <iostream>
using namespace std;
int main()
{
int i=1;
srand((unsigned)time(0));
char random_integer;
while(i<=1000000)
{
random_integer = (rand()%'z')+1;
if(random_integer>='a'&& random_integer<='z')
{
cout << random_integer;
i++;
}}
cout<<endl;
return 0;
}

Edited by author 10.04.2009 16:54
Re: MY AC PROGRAM C++!!!
Posted by Mronoal 11 Sep 2011 00:50
Hello,friends

I tested your program is OK. And it's so cool.

But,I don't why?

please.help me !

thanks !

Edited by author 11.09.2011 00:50

Edited by author 11.09.2011 00:51
Re: MY AC PROGRAM C++!!!
Posted by luckysundog 11 Sep 2011 04:14
It'll be interesting to see the checker for this problem.