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 1001. Reverse Root

1001 problem set
Posted by gigliolily 7 Nov 2011 11:00
#include<stdio.h>
void main()
{int Ai,i=0;
do{
scanf("%d",&Ai);
i++;
for(; ;i--)
printf("%d\n",Ai);
}while(Ai>=0&&Ai<=10^18);
}
i think it's right

Edited by author 07.11.2011 11:10

Edited by author 07.11.2011 11:10

Edited by author 07.11.2011 11:12
but it keeps running

Edited by author 07.11.2011 11:13