Thank you very much!!!
My head is big, but I am stupid...... haha~~~ ^^a
Search found 3 matches
- Sat Sep 14, 2002 12:58 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317849
- Fri Sep 13, 2002 9:01 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317849
[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 ...
#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 ...
- Tue Dec 04, 2001 7:14 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108632