NOTE FOR JAVA PROGRAMMERS: Make sure your code is generally formatted like the example below:

                                                                                                 
import java.util.*;  //imports                                                                    
                                                                                                  
public class Main {  //make sure your class is public and is named "Main"                         
                                                                                                  
    public static void main(String[] args) {  //main here should be lower case                    
        System.out.println("Hello, World!");                                                      
        //rest of code                                                                            
    }                                                                                             
                                                                                                  
}                                                                                                 
                                                                                                                        
                            

Submitting a solution to the grader:
  1. Go to Problems on the navbar
  2. Select the problem you'd like to work on
  3. You'll see the problem description, with sample input and output on the left of the page
  4. Copy and paste your code in the submission box
  5. Click "Submit"
  6. The grader should mark your program

If you have any problems submitting code or have found a bug, please send us an email or contact us through Discord

Good luck and happy programming!



Verdicts:

AC: Accepted Answer (Great job!)

: Wrong Answer

TLE: Time Limit Exception (Code too slow)

As of right now, there is no support for Memory limit (MLE) or other common verdicts on online judges. However there are still memory limits for the judge.



Contributing to GWCJ:

GWCJ is open source! This means that you can contribute to GWCJ too.

If you want to add a problem to GWCJ, email or contact us with:

  1. The problem description
  2. test data and outputs in .in and .out files respectively
  3. IO specification (optional)
  4. An editorial (optional)

We'll be happy to add your problem to the site!

If you want to contribute code to GWCJ, email or contact us with your idea for contribution, or for something to work on.


Little side note: Sorry for not supporting C++ submissions, we know it's a super popular language for competitive programming but Heroku (hosting service) does not have built in C/C++ support or compilers. It also does not allow us to run pre-compiled files either. The best we can do is settle for just having a C judge.