Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Correcto
|
0.161 s | 16 KBi |
#2 |
Correcto
|
0.191 s | 12 KBi |
#3 |
Correcto
|
0.192 s | 12 KBi |
#4 |
Correcto
|
0.165 s | 16 KBi |
#5 |
Correcto
|
0.187 s | 12 KBi |
#6 |
Correcto
|
0.184 s | 12 KBi |
#7 |
Correcto
|
0.189 s | 16 KBi |
#8 |
Correcto
|
0.154 s | 15 KBi |
#9 |
Correcto
|
0.15 s | 15 KBi |
#10 |
Correcto
|
0.192 s | 16 KBi |
import java.util.Scanner; public class Main { public static void main(String[] args) { Nums nums = readNumsFromStdin(); if (nums.a < nums.b) { System.out.println("<"); } else if (nums.a > nums.b) { System.out.println(">"); } else { System.out.println("="); } } private static Nums readNumsFromStdin() { Scanner in = new Scanner(System.in); return new Nums(in.nextInt(), in.nextInt()); } private static class Nums { int a; int b; public Nums(int a, int b) { this.a = a; this.b = b; } } }