Search found 1 match

by kema
Mon Dec 20, 2010 4:07 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 320785

Java 3N +1 WA ?

I have tested this many times with numerous cases, but I still seem to be getting WA. Can someone please assist me in this matter? Thanks in advance guys!!!

import java.io.*;
import java.util.*;

public class Main
{

static int longestChain = 0;

public static void main (String[] args) throws ...

Go to advanced search