Search found 2 matches

by gigir
Wed Aug 14, 2002 10:09 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 317910

thank you for your response. it got accepted. Judge is very clever!
by gigir
Wed Aug 14, 2002 12:54 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 317910

100 3n+1 Problem What is wrong with this code?

I know there is a lot of questions about 100. I did all of the things that were offered in the earlier posts but i still can't make it through.

Here is my code:
[c]
#include<stdio.h>

int i,j,max,temp,temp2;

int hesapla(int input) {
int i=1;
if (input == 1) return 1;
do {
if (input % 2 == 1 ...

Go to advanced search