|
|
вернуться в форумMY AC PROGRAM C++!!! #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++!!! 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++!!! It'll be interesting to see the checker for this problem. |
|
|