Search found 2 matches

by hj1387
Sun Apr 20, 2008 12:33 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 319809

Re: If you get WA in problem 100, read me before post!

thanks mf
i get Accepted
by hj1387
Sat Apr 19, 2008 11:05 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 319809

Re: If you get WA in problem 100, read me before post!

i exam this code in vc++ dev c++ was ok but get runtime error
please help me

#include <iostream>
using namespace std;

void sort(long int&,long int&);
long int op(long int);
long int cycle(long int);

int main()
{
char ch;long int n,m;long int cyc,maxcyc;
long int num1[20];long int num2[20];long ...

Go to advanced search