Submission #1188769


Source Code Expand

import java.util.Scanner;

public class test {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		if( x < y )
			System.out.println("Better");
		else if( x > y )
			System.out.println("Worse");
	}

}

Submission Info

Submission Time
Task A - テスト
User NE280045J
Language C++14 (GCC 5.4.1)
Score 0
Code Size 298 Byte
Status CE

Compile Error

./Main.cpp:1:1: error: ‘import’ does not name a type
 import java.util.Scanner;
 ^
./Main.cpp:3:1: error: expected unqualified-id before ‘public’
 public class test {
 ^