Giter VIP home page Giter VIP logo

Comments (2)

chvp avatar chvp commented on August 29, 2024
Judge exited with status code 1.
Standard Error:
status enum requires also human
Standard Output:
{
 "command": "start-judgement"
}{
 "command": "start-tab",
 "hidden": true,
 "title": "Compiler"
}{
 "command": "append-message",
 "message": {
  "description": "Je code kon niet worden gecompileerd en bijgevolg niet worden getest. De compiler rapporteerde .",
  "format": "callout"
 }
}{
 "command": "start-context"
}{
 "command": "start-testcase",
 "description": {
  "description": "Compilatiefout: De naam van je klasse hoort \"Basket\" te zijn.",
  "format": "plain"
 }
}{
 "command": "append-message",
 "message": {
  "description": "Basket.java:5: error: class BasketAnalysis is public, should be declared in a file named BasketAnalysis.java\npublic class BasketAnalysis {\n       ^",
  "format": "code"
 }
}{
 "command": "annotate-code",
 "row": 4,
 "text": "De naam van je klasse hoort \"Basket\" te zijn.",
 "column": 7,
 "type": "error"
}{
 "command": "close-testcase",
 "accepted": false
}{
 "command": "close-context"
}{
 "command": "start-context"
}{
 "command": "start-testcase",
 "description": {
  "description": "Compilatiefout: De naam van je klasse hoort \"Basket\" te zijn.",
  "format": "plain"
 }
}{
 "command": "append-message",
 "message": {
  "description": "Basket.java:5: error: class BasketAnalysis is public, should be declared in a file named BasketAnalysis.java\npublic class BasketAnalysis {\n       ^",
  "format": "code"
 }
}{
 "command": "annotate-code",
 "row": 4,
 "text": "De naam van je klasse hoort \"Basket\" te zijn.",
 "column": 7,
 "type": "error"
}{
 "command": "close-testcase",
 "accepted": false
}{
 "command": "close-context"
}{
 "command": "start-context"
}{
 "command": "start-testcase",
 "description": {
  "description": "Compilatiefout",
  "format": "plain"
 }
}{
 "command": "append-message",
 "message": {
  "description": "Basket.java:6: error: cannot access Basket\n    private ArrayList<Basket> baskets;\n                      ^\nBasket.java\n    file does not contain class Basket\n    Please remove or make sure it appears in the correct subdirectory of the sourcepath.",
  "format": "code"
 }
}{
 "command": "annotate-code",
 "row": 5,
 "text": "cannot access Basket",
 "column": 22,
 "type": "error"
}{
 "command": "close-testcase",
 "accepted": false
}{
 "command": "close-context"
}{
 "command": "close-tab"
}

from judge-java8.

ninewise avatar ninewise commented on August 29, 2024
public class A {
    private static B b;
}

in bestand B.java geeft:

[16:47:52] ~ $ javac B.java
B.java:1: error: class A is public, should be declared in a file named A.java
public class A {
       ^
       ./B.java:1: error: class A is public, should be declared in a file named A.java
public class A {
       ^
B.java:3: error: cannot access B
        private static B b;
                       ^
  bad source file: ./B.java
    file does not contain class B
    Please remove or make sure it appears in the correct subdirectory of the sourcepath.

from judge-java8.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.