Search found 1 match

by zuzumumba
Sun May 29, 2011 2:18 am
Forum: Volume 100 (10000-10099)
Topic: 10054 - The Necklace
Replies: 62
Views: 42191

10054 Necklace TLE issue

I've gotten the correct output under various test cases I've given it but it's apparently too slow.
Here's my java solution:

import java.util.LinkedList;
import java.util.HashMap;
import java.util.Scanner;

public class Main
{
public static void main(String[] args)
{
Scanner in = new Scanner ...

Go to advanced search