Search found 1 match

by woni
Wed Sep 08, 2004 7:48 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 317849

100 problem I recieve fail message!!!

[cpp]
fail message is 'Your program has not solved the problem. It ran during 1.570 seconds.'

my code is
/*
#include <iostream>
using namespace std;

int main()
{
int startPoint, endPoint;
int length, maxLength;
int i, j;

while(cin >> startPoint >> endPoint){
maxLength = 0;
for(i ...

Go to advanced search