Search found 3 matches

by carofe82
Thu Oct 29, 2015 10:36 pm
Forum: Volume 101 (10100-10199)
Topic: 10125 - Sumsets
Replies: 50
Views: 15146

Re: 10125 - Sumsets

The brute force algo won't pass in Java. The O(n^2 log(n)) does and it is the best algorithm.
by carofe82
Thu Oct 22, 2015 7:18 am
Forum: Volume 4 (400-499)
Topic: 459 - Graph Connectivity
Replies: 132
Views: 24133

Re: 459 - Graph Connectivity

mr.wa,
I think you need to put the Node and the Graph class inside the Main class

Code: Select all

public class Main{
    ...
    
    static class Graph{
    ...
    }
    
    static class Node{
    ...
    }
    
}
by carofe82
Thu Oct 22, 2015 7:13 am
Forum: Java
Topic: Java 8 Support
Replies: 1
Views: 6431

Java 8 Support

Hi,
Is the UVa planning to support Java 8? there are some good features in Java 8 that can help us to make our code more readable.

Thank you,
Carlos.

Go to advanced search