Search found 1 match

by Jenny
Wed Jul 17, 2002 2:38 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 317910

Problem 100 Compile error

Hi,

I have a problem compiling my program (100)

*@JUDGE_ID: 21223NA 100 C++ "Dynamic Programming with Recursion"*/

"@BEGIN_OF_SOURCE_CODE"


#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>

int num[28000];

int llena(long n)
{ long b;

if (num[n]!=0)
return ...

Go to advanced search