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

Envío 6655

Problema 0x78 - Suma de 2 números

  • Autor: Julio.Amador
  • Fecha: 2022-09-30 23:41:14 UTC (Hace más de 1 año)
Caso # Resultado Tiempo Memoria
#1
Error de compilación
                      Main.cs(5,57): error CS0103: The name `int32' does not exist in the current context
Compilation failed: 1 error(s), 0 warnings

                    
#2
Error de compilación
                      Main.cs(5,57): error CS0103: The name `int32' does not exist in the current context
Compilation failed: 1 error(s), 0 warnings

                    
#3
Error de compilación
                      Main.cs(5,57): error CS0103: The name `int32' does not exist in the current context
Compilation failed: 1 error(s), 0 warnings

                    
#4
Error de compilación
                      Main.cs(5,57): error CS0103: The name `int32' does not exist in the current context
Compilation failed: 1 error(s), 0 warnings

                    
#5
Error de compilación
                      Main.cs(5,57): error CS0103: The name `int32' does not exist in the current context
Compilation failed: 1 error(s), 0 warnings

                    
Puntos totales: 0 / 100

Código

using System;
using System.Linq;
class Sum{
  static void Main() {
    int[] nums = Console.ReadLine().Split().Select(n => int32.Parse(n)).ToArray();
Console.WriteLine((nums[0] + nums[1]).ToString());
  }
}