Search found 1 match

by Krishkinn
Wed Oct 08, 2003 2:05 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 318634

My program has not solved the problem. It ran during 0.549 seconds.
WHY?

{ @JUDGE_ID: 37494NH 100 Pascal "The 3n + 1 problem" }
const
maxx=1000000;
var
i,j:longint;
n,k,max:longint;
l:extended;
was:array[1..maxx]of longint;
Procedure proces;
begin
max:=0;
for i:=n to k do
begin
l:=i;
j ...

Go to advanced search