Search found 1 match

by Shit
Mon Feb 21, 2005 11:07 pm
Forum: Volume 6 (600-699)
Topic: 605 - The Rotating Disk
Replies: 8
Views: 5704

605 ???

Excuse me, but there is small problem in this problem :(
Please tell me why
the code

#include <stdio.h>

void main()

#include <stdio.h>
void main()
{
int a;
scanf("%d",&a);
while (a)
{
printf("%d",a);
scanf("%d",&a);
}
}


gives me Time Limit Exceeded 0:10.064 , but not a wrong answer ??

Go to advanced search