█████████ ████ ███░░░░░███ ░░███ ███ ░░░ ██████ ███████ ██████ ██████ ░███ ███░░███ ███░░███ ███░░███ ███░░███ ░███ ░███ ░███░███ ░███ ░███████ ░███ ░███ ░░███ ███░███ ░███░███ ░███ ░███░░░ ░███ ░███ ░░█████████ ░░██████ ░░████████░░██████ ░░██████ ░░░░░░░░░ ░░░░░░ ░░░░░░░░ ░░░░░░ ░░░░░░

Envío 7114

Problema 0x78 - Suma de 2 números

  • Autor: dperezne
  • Fecha: 2023-09-20 00:56:56 UTC (Hace 8 meses)
Caso # Resultado Tiempo Memoria
#1
Error en tiempo de ejecución (NZEC)
Exited with error status 1
Error: Main method not found in class Main, please define the main method as:
   public static void main(String[] args)
or a JavaFX application class must extend javafx.application.Application
0.087 s 12 KBi
#2
Error en tiempo de ejecución (NZEC)
Exited with error status 1
Error: Main method not found in class Main, please define the main method as:
   public static void main(String[] args)
or a JavaFX application class must extend javafx.application.Application
0.081 s 12 KBi
#3
Error en tiempo de ejecución (NZEC)
Exited with error status 1
Error: Main method not found in class Main, please define the main method as:
   public static void main(String[] args)
or a JavaFX application class must extend javafx.application.Application
0.087 s 13 KBi
#4
Error en tiempo de ejecución (NZEC)
Exited with error status 1
Error: Main method not found in class Main, please define the main method as:
   public static void main(String[] args)
or a JavaFX application class must extend javafx.application.Application
0.082 s 12 KBi
#5
Error en tiempo de ejecución (NZEC)
Exited with error status 1
Error: Main method not found in class Main, please define the main method as:
   public static void main(String[] args)
or a JavaFX application class must extend javafx.application.Application
0.083 s 12 KBi
Puntos totales: 0 / 100

Código

import java.util.Scanner;

class Main{
 public static void Main(String[] args){
  Scanner scanner = new Scanner(System.in);
  System.out.println("Into value a:");
  int a = scanner.nextInt();
  System.out.println("Into value b:");
  int b = scanner.nextInt();
 }
}