[gcj] Code Jam Round 1C is coming up soon

2020-04-30 Thread 'Samantha' via Google Code Jam
Hello, The time has come — the last chance to participate in Code Jam Round 1 begins in under 36 hours with Round 1C! Visit the schedule page to see rounds in your browser's local time zone and to add events to your calendar. *All

[gcj] Re: Code Jam Qualification Round Parenting Partnering

2020-04-30 Thread porker2008
Your *compareTo()* is causing the runtime error. More specifically, your *compareTo()* does not satisfy the requirement. check out https://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html For example, given two identical interval A and B *compareTo(A, B)* should be *0* instead of

[gcj] Code Jam Qualification Round Parenting Partnering

2020-04-30 Thread Derwin Wu
Could someone tell me why my solution produces runtime error on the second test case? *import* java.util.*; *import* java.io.*; *public* *class* ParentingPartnering { *public* *static* *void* main(String [] args) *throws* IOException { Scanner sc = *new* Scanner(*new* BufferedReader(*new*