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

Envío 4510

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: debans
  • Fecha: 2021-07-09 18:33:06 UTC (Hace casi 3 años)
Caso # Resultado Tiempo Memoria
#1
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
^
main.c:1:3: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
  ^
main.c:1:7: error: expected expression
a,b = [ int(x) for x in input().split()]
      ^
main.c:2:48: error: expected ';' after top level declarator
print( "<" if a<b else ("=" if a==b else ">") )
                                               ^
                                               ;
2 warnings and 2 errors generated.

                    
#2
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
^
main.c:1:3: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
  ^
main.c:1:7: error: expected expression
a,b = [ int(x) for x in input().split()]
      ^
main.c:2:48: error: expected ';' after top level declarator
print( "<" if a<b else ("=" if a==b else ">") )
                                               ^
                                               ;
2 warnings and 2 errors generated.

                    
#3
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
^
main.c:1:3: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
  ^
main.c:1:7: error: expected expression
a,b = [ int(x) for x in input().split()]
      ^
main.c:2:48: error: expected ';' after top level declarator
print( "<" if a<b else ("=" if a==b else ">") )
                                               ^
                                               ;
2 warnings and 2 errors generated.

                    
#4
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
^
main.c:1:3: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
  ^
main.c:1:7: error: expected expression
a,b = [ int(x) for x in input().split()]
      ^
main.c:2:48: error: expected ';' after top level declarator
print( "<" if a<b else ("=" if a==b else ">") )
                                               ^
                                               ;
2 warnings and 2 errors generated.

                    
#5
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
^
main.c:1:3: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
  ^
main.c:1:7: error: expected expression
a,b = [ int(x) for x in input().split()]
      ^
main.c:2:48: error: expected ';' after top level declarator
print( "<" if a<b else ("=" if a==b else ">") )
                                               ^
                                               ;
2 warnings and 2 errors generated.

                    
#6
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
^
main.c:1:3: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
  ^
main.c:1:7: error: expected expression
a,b = [ int(x) for x in input().split()]
      ^
main.c:2:48: error: expected ';' after top level declarator
print( "<" if a<b else ("=" if a==b else ">") )
                                               ^
                                               ;
2 warnings and 2 errors generated.

                    
#7
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
^
main.c:1:3: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
  ^
main.c:1:7: error: expected expression
a,b = [ int(x) for x in input().split()]
      ^
main.c:2:48: error: expected ';' after top level declarator
print( "<" if a<b else ("=" if a==b else ">") )
                                               ^
                                               ;
2 warnings and 2 errors generated.

                    
#8
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
^
main.c:1:3: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
  ^
main.c:1:7: error: expected expression
a,b = [ int(x) for x in input().split()]
      ^
main.c:2:48: error: expected ';' after top level declarator
print( "<" if a<b else ("=" if a==b else ">") )
                                               ^
                                               ;
2 warnings and 2 errors generated.

                    
#9
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
^
main.c:1:3: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
  ^
main.c:1:7: error: expected expression
a,b = [ int(x) for x in input().split()]
      ^
main.c:2:48: error: expected ';' after top level declarator
print( "<" if a<b else ("=" if a==b else ">") )
                                               ^
                                               ;
2 warnings and 2 errors generated.

                    
#10
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
^
main.c:1:3: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,b = [ int(x) for x in input().split()]
  ^
main.c:1:7: error: expected expression
a,b = [ int(x) for x in input().split()]
      ^
main.c:2:48: error: expected ';' after top level declarator
print( "<" if a<b else ("=" if a==b else ">") )
                                               ^
                                               ;
2 warnings and 2 errors generated.

                    
Puntos totales: 0 / 100

Código

a,b = [ int(x) for x in input().split()]
print( "<" if a<b else ("=" if a==b else ">") )