Search found 2 matches

by mehta_bhavesh
Sun Apr 17, 2011 4:29 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 317862

Problem 100 Runtime error in Java

I have this problem accepted in Java on Programming Challenges website but get runtime error on UVA online judge. Here's the code. Can someone help?

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Scanner;

class Main implements Runnable{

public static ...
by mehta_bhavesh
Sun Aug 01, 2004 7:33 am
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 152630

10038 WA

I have code that gets accepted. But one little modification gives me WA, not sure why.

Here's the code that gets accepted:
[cpp]
/* @JUDGE_ID: 48307RK 10038 C++ "Jolly Jumpers" */

/* @BEGIN_OF_SOURCE_CODE */

#include <cstdio>
#include <string>
#include <cmath>

const int MAX_SEQ_SIZE = 4000 ...

Go to advanced search