Search found 3 matches

by samuelcdf
Sat Sep 14, 2002 12:58 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 193491

picard thank you very much!!!

Thank you very much!!!
My head is big, but I am stupid...... haha~~~ ^^a
by samuelcdf
Fri Sep 13, 2002 9:01 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 193491

[please help me]---Problem 100

please help me to point out my code wrong. I try much times, but still can find the error ><~~ #include <stdio.h> #include <stdlib.h> void main(void) { unsigned long i=0L, input_i=0L, j=0L, max=0L; unsigned long counter=0L, temp=0L; while(scanf("%lu %lu", &i, &j)==2) { if(i>j) { temp=i; i=j; j=temp;...
by samuelcdf
Tue Dec 04, 2001 7:14 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 45268

my program couldn't be accepted from judge. and error is Your program has died with signal 11 (SIGSEGV). Meaning: Invalid memory reference 24 move 9 onto 1 move 23 onto 22 pile 21 over 20 move 16 over 1 pile 8 over 6 pile 1 over 5 move 19 over 1 move 18 over 19 move 10 onto 0 move 7 over 1 move 17 o...

Go to advanced search