Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
main.c:1:1: error: unknown type name 'public' public class Main { ^ main.c:1:13: error: expected ';' after top level declarator public class Main { ^ ; 2 errors generated. |
||
#2 |
Error de compilación
main.c:1:1: error: unknown type name 'public' public class Main { ^ main.c:1:13: error: expected ';' after top level declarator public class Main { ^ ; 2 errors generated. |
||
#3 |
Error de compilación
main.c:1:1: error: unknown type name 'public' public class Main { ^ main.c:1:13: error: expected ';' after top level declarator public class Main { ^ ; 2 errors generated. |
||
#4 |
Error de compilación
main.c:1:1: error: unknown type name 'public' public class Main { ^ main.c:1:13: error: expected ';' after top level declarator public class Main { ^ ; 2 errors generated. |
||
#5 |
Error de compilación
main.c:1:1: error: unknown type name 'public' public class Main { ^ main.c:1:13: error: expected ';' after top level declarator public class Main { ^ ; 2 errors generated. |
||
#6 |
Error de compilación
main.c:1:1: error: unknown type name 'public' public class Main { ^ main.c:1:13: error: expected ';' after top level declarator public class Main { ^ ; 2 errors generated. |
||
#7 |
Error de compilación
main.c:1:1: error: unknown type name 'public' public class Main { ^ main.c:1:13: error: expected ';' after top level declarator public class Main { ^ ; 2 errors generated. |
||
#8 |
Error de compilación
main.c:1:1: error: unknown type name 'public' public class Main { ^ main.c:1:13: error: expected ';' after top level declarator public class Main { ^ ; 2 errors generated. |
||
#9 |
Error de compilación
main.c:1:1: error: unknown type name 'public' public class Main { ^ main.c:1:13: error: expected ';' after top level declarator public class Main { ^ ; 2 errors generated. |
||
#10 |
Error de compilación
main.c:1:1: error: unknown type name 'public' public class Main { ^ main.c:1:13: error: expected ';' after top level declarator public class Main { ^ ; 2 errors generated. |
public class Main { public static void main(String[] args) { int numero1, numero2; Scanner numeros = new Scanner(System.in); numero1 = numeros.nextInt(); numero2 = numeros.nextInt(); if(numero1 > numero2){ System.out.println(">"); }else{ if(numero1 < numero2){ System.out.println("<"); }else{ System.out.println("="); } } } }