Search found 1 match

by einstain000
Mon Jun 30, 2003 11:44 am
Forum: Volume 1 (100-199)
Topic: 107 - The Cat in the Hat
Replies: 278
Views: 55277

WA! 107 Please .. Help me

#include<stdio.h>

void main() {
int i ,j; // auto var
unsigned long height; //initial cat's height
unsigned long works; // the cat work
unsigned long total; //total height
unsigned long rest ; //the cat rest

while(scanf("%lu %lu",&height,&works)) {
/* end condition (0,0) */
if( height ...

Go to advanced search