Submission #1242274


Source Code Expand

package ABC001;

import java.util.Scanner;

public class testA {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        int x = Integer.parseInt(scanner.next());
        int y = Integer.parseInt(scanner.next());
        System.out.println(x-y);
    }
}

Submission Info

Submission Time
Task A - 積雪深差
User nikka
Language Java8 (OpenJDK 1.8.0)
Score 0
Code Size 312 Byte
Status CE

Compile Error

./Main.java:5: error: class testA is public, should be declared in a file named testA.java
public class testA {
       ^
1 error