Submission #1794826


Source Code Expand

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		String s = "ABCDEF";
		Scanner scanner = new Scanner(System.in);
		String X = scanner.next(), Y = scanner.next();
		int x = s.indexOf(X),y = s.indexOf(Y);
		if(x < y){
			System.out.println("<");
		}else if(x > y){
			System.out.println(">");
		}else{
			System.out.println("=");
		}
	}

}

Submission Info

Submission Time
Task A - HEX
User m8618
Language Java7 (OpenJDK 1.7.0)
Score 100
Code Size 401 Byte
Status AC
Exec Time 100 ms
Memory 20820 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 12
Set Name Test Cases
Sample example_0, example_1, example_2
All example_0, example_1, example_2, rand_0, rand_1, rand_2, rand_3, rand_4, rand_5, rand_6, rand_7, rand_8
Case Name Status Exec Time Memory
example_0 AC 100 ms 18900 KB
example_1 AC 93 ms 20692 KB
example_2 AC 91 ms 20564 KB
rand_0 AC 91 ms 18772 KB
rand_1 AC 92 ms 20820 KB
rand_2 AC 91 ms 18772 KB
rand_3 AC 92 ms 18772 KB
rand_4 AC 91 ms 20820 KB
rand_5 AC 91 ms 18772 KB
rand_6 AC 92 ms 20820 KB
rand_7 AC 91 ms 20436 KB
rand_8 AC 91 ms 18900 KB