Search found 2 matches

by hercules
Fri Oct 26, 2012 9:47 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 321132

Re: time limit excede problem

Thanks for your advice
by hercules
Thu Oct 25, 2012 8:28 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 321132

time limit excede problem

Hey,
This is 3n+1 problem.Here is my code.I got time limit exceed problem.I need help to fix the problem.

-------------------------------------
include <iostream>
#include <string>
#include <sstream>
#include<cstdio>
#include<climits>
using namespace std;

int main()
{

long unsigned int number1 ...

Go to advanced search