JCoder-Pro / FeedBack

This repository is for collecting feedback from JCoder users. Your feeling and feedback matter.
5 stars 1 forks source link

基于 IO 的评测在没有任何输出的时候会被误判为 Runtime Error #7

Open YanWQ-monad opened 2 years ago

YanWQ-monad commented 2 years ago

有输出的提交 1093

public class Main {
    public static void main(String[] args) {
        System.out.println("something");
    }
}
image

无输出的提交 1094

public class Main {
    public static void main(String[] args) {
        // System.out.println("something");
    }
}
image
liuxukun2000 commented 2 years ago

多谢您的反馈,此错误会在下一次更新时修正。修复后该issue才会被关闭。 错误原因在于去除文末回车时测评机数组越界导致,将对比方式更改为严格将不会出现此问题。