Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Error: Could not find or load main class Main Caused by: java.lang.ClassNotFoundException: Main |
0.123 s | 14 KBi |
#2 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Error: Could not find or load main class Main Caused by: java.lang.ClassNotFoundException: Main |
0.11 s | 11 KBi |
#3 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Error: Could not find or load main class Main Caused by: java.lang.ClassNotFoundException: Main |
0.118 s | 14 KBi |
#4 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Error: Could not find or load main class Main Caused by: java.lang.ClassNotFoundException: Main |
0.136 s | 14 KBi |
#5 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Error: Could not find or load main class Main Caused by: java.lang.ClassNotFoundException: Main |
0.127 s | 15 KBi |
import java.util.Scanner; class AddTwoNumbers { public static void main(String[] args) { Scanner myInput = new Scanner(System.in); System.out.println("Enter first integer: "); int a = myInput.nextInt(); System.out.println("Enter second integer: "); int b = myInput.nextInt(); System.out.println(a + b); } }