Search found 1 match

by wintersoul
Sat Apr 09, 2005 7:05 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 318253

i got WA for my code.. and i cant figure why..

someone please help me look at my code and tell me what's wrong with it :o




#include <iostream>

using namespace std;


int calcyclength(int);
int x, cltemp;

void main()
{
int i,in;
int j,jn;

int cyclelength=1;
int counter;

while (cin >> i ...

Go to advanced search