Skip to content

keithkade/autograder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

431Project

We have the best project.

WE ARE USING RUBY VERSION: 2.2.3

response encoding

{
  status: "success/fail"
  err: "compile error: yadadada"
  results : [
    {
      title: "test case #0",
      result: "success/fail",,
      err: "runtimeError: yadadada",
      input: "test case input 0"
    },
    {
      title: "test case #1",
      result: "success/fail",
      err: "runtimeError: yadadada",
      input: "test case input 1"
    },
    ...
  ]
}

Answer to Seed Problems

IO Practice Java

import java.util.*;
public class useCode {
    public static void main(String args[]){
        Scanner in = new Scanner(System.in);
        while (in.hasNext()) {
            System.out.print(in.next());
        }
    }
}

IO Practice Python

from __future__ import print_function
text = raw_input()
print(text)

IO Practice Bad Java

import java.util.*;
public class useCode {
    public static void main(String args[]){
        Scanner in = new Scanner(System.in);
        while (in.hasNext()) {
            System.out.print(in.next());
        }
        int count = 0;
        while (count != -1)
        {
          count++;
          count--;
        }
        System.out.println();
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages