Search found 2 matches

by matthiasbreda
Tue Sep 29, 2009 5:33 am
Forum: Volume 3 (300-399)
Topic: 362 - 18,000 Seconds Remaining
Replies: 75
Views: 26820

362 - (18000 Seconds remaining) - WA

Hey guys, i dont understand,i got 15 time WA, plz help me!!! #include <stdio.h> #include <math.h> main() { long le=0,x=0; scanf("%i",&le); while(le!=0) { x++; long sec2=0,sec=0,cont=0,cont2=0,otra,b; double remainSeconds; printf("Output for data set %d, %d bytes:\n",x,le); while(le>cont){ scanf("%i"...
by matthiasbreda
Tue Sep 29, 2009 5:30 am
Forum: Volume 3 (300-399)
Topic: 362 - 18,000 Seconds Remaining
Replies: 75
Views: 26820

Re: 362 - IO tricky samples

I got 15 time WA --' i dont know where is my problem, My code is below,plz heelpp me #include <stdio.h> #include <math.h> main() { long le=0,x=0; scanf("%i",&le); while(le!=0) { x++; long sec=0,sec2=0,cont=0,cont2=0,otra,b; double remainSeconds; printf("Output for data set %d, %d bytes:\n",x,le); wh...

Go to advanced search