Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Correcto
|
0.15 s | 12 KBi |
#2 |
Correcto
|
0.167 s | 12 KBi |
#3 |
Correcto
|
0.156 s | 52 KBi |
#4 |
Correcto
|
0.165 s | 12 KBi |
#5 |
Correcto
|
0.167 s | 12 KBi |
#6 |
Correcto
|
0.136 s | 13 KBi |
#7 |
Correcto
|
0.147 s | 12 KBi |
#8 |
Correcto
|
0.16 s | 12 KBi |
#9 |
Correcto
|
0.164 s | 13 KBi |
#10 |
Correcto
|
0.168 s | 12 KBi |
import java.util.Scanner; class Main { public static String greaterLessOrEquals(int a, int b) { if (a > b) return ">"; if(a < b) return "<"; return "="; } public static void main(String ...args) { String[] line; int a, b; Scanner myObj = new Scanner(System.in); line = myObj.nextLine().split(" "); a = Integer.parseInt(line[0]); b = Integer.parseInt(line[1]); System.out.println(greaterLessOrEquals(a, b)); } }