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

Envío 5223

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: dvsalcedo
  • Fecha: 2021-10-28 20:13:12 UTC (Hace más de 2 años)
Caso # Resultado Tiempo Memoria
#1
Error de compilación
                      Main.cs(15,34): error CS1525: Unexpected symbol `B'
Compilation failed: 1 error(s), 0 warnings

                    
#2
Error de compilación
                      Main.cs(15,34): error CS1525: Unexpected symbol `B'
Compilation failed: 1 error(s), 0 warnings

                    
#3
Error de compilación
                      Main.cs(15,34): error CS1525: Unexpected symbol `B'
Compilation failed: 1 error(s), 0 warnings

                    
#4
Error de compilación
                      Main.cs(15,34): error CS1525: Unexpected symbol `B'
Compilation failed: 1 error(s), 0 warnings

                    
#5
Error de compilación
                      Main.cs(15,34): error CS1525: Unexpected symbol `B'
Compilation failed: 1 error(s), 0 warnings

                    
#6
Error de compilación
                      Main.cs(15,34): error CS1525: Unexpected symbol `B'
Compilation failed: 1 error(s), 0 warnings

                    
#7
Error de compilación
                      Main.cs(15,34): error CS1525: Unexpected symbol `B'
Compilation failed: 1 error(s), 0 warnings

                    
#8
Error de compilación
                      Main.cs(15,34): error CS1525: Unexpected symbol `B'
Compilation failed: 1 error(s), 0 warnings

                    
#9
Error de compilación
                      Main.cs(15,34): error CS1525: Unexpected symbol `B'
Compilation failed: 1 error(s), 0 warnings

                    
#10
Error de compilación
                      Main.cs(15,34): error CS1525: Unexpected symbol `B'
Compilation failed: 1 error(s), 0 warnings

                    
Puntos totales: 0 / 100

Código

using System;

public class Program
{
   public static void Main()
   {
      var input = Console.ReadLine();
      var numbers = input.Split(' ');

      var numberA = Int32.Parse(numbers[0]);
      var numberB = Int32.Parse(numbers[1]);

      if (numberA > numberB) {
          Console.WriteLine(">");
      } else if (numberA < number B) {
          Console.WriteLine("<");
      } else {
          Console.WriteLine("=");
      }
   }
}