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

Envío 6654

Problema 0x78 - Suma de 2 números

  • Autor: Julio.Amador
  • Fecha: 2022-09-30 23:40:21 UTC (Hace más de 1 año)
Caso # Resultado Tiempo Memoria
#1
Error de compilación
                      Main.cs(2,14): error CS0234: The type or namespace name `LINQ' does not exist in the namespace `System'. Are you missing an assembly reference?
Compilation failed: 1 error(s), 0 warnings

                    
#2
Error de compilación
                      Main.cs(2,14): error CS0234: The type or namespace name `LINQ' does not exist in the namespace `System'. Are you missing an assembly reference?
Compilation failed: 1 error(s), 0 warnings

                    
#3
Error de compilación
                      Main.cs(2,14): error CS0234: The type or namespace name `LINQ' does not exist in the namespace `System'. Are you missing an assembly reference?
Compilation failed: 1 error(s), 0 warnings

                    
#4
Error de compilación
                      Main.cs(2,14): error CS0234: The type or namespace name `LINQ' does not exist in the namespace `System'. Are you missing an assembly reference?
Compilation failed: 1 error(s), 0 warnings

                    
#5
Error de compilación
                      Main.cs(2,14): error CS0234: The type or namespace name `LINQ' does not exist in the namespace `System'. Are you missing an assembly reference?
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());
  }
}