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

Envío 520

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: d4vsanchez
  • Fecha: 2020-09-06 23:11:14 UTC (Hace más de 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 = list(map(int, input().split()))
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
   ^
main.c:1:8: warning: implicit declaration of function 'list' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
       ^
main.c:1:13: warning: implicit declaration of function 'map' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
            ^
main.c:1:17: error: expected expression
a, b = list(map(int, input().split()))
                ^
main.c:1:22: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
                     ^
main.c:1:29: error: member reference base type 'int' is not a structure or union
a, b = list(map(int, input().split()))
                     ~~~~~~~^~~~~~
main.c:8:15: error: expected ';' after top level declarator
    print('>')
              ^
              ;
5 warnings and 3 errors generated.

                    
#2
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
   ^
main.c:1:8: warning: implicit declaration of function 'list' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
       ^
main.c:1:13: warning: implicit declaration of function 'map' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
            ^
main.c:1:17: error: expected expression
a, b = list(map(int, input().split()))
                ^
main.c:1:22: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
                     ^
main.c:1:29: error: member reference base type 'int' is not a structure or union
a, b = list(map(int, input().split()))
                     ~~~~~~~^~~~~~
main.c:8:15: error: expected ';' after top level declarator
    print('>')
              ^
              ;
5 warnings and 3 errors generated.

                    
#3
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
   ^
main.c:1:8: warning: implicit declaration of function 'list' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
       ^
main.c:1:13: warning: implicit declaration of function 'map' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
            ^
main.c:1:17: error: expected expression
a, b = list(map(int, input().split()))
                ^
main.c:1:22: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
                     ^
main.c:1:29: error: member reference base type 'int' is not a structure or union
a, b = list(map(int, input().split()))
                     ~~~~~~~^~~~~~
main.c:8:15: error: expected ';' after top level declarator
    print('>')
              ^
              ;
5 warnings and 3 errors generated.

                    
#4
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
   ^
main.c:1:8: warning: implicit declaration of function 'list' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
       ^
main.c:1:13: warning: implicit declaration of function 'map' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
            ^
main.c:1:17: error: expected expression
a, b = list(map(int, input().split()))
                ^
main.c:1:22: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
                     ^
main.c:1:29: error: member reference base type 'int' is not a structure or union
a, b = list(map(int, input().split()))
                     ~~~~~~~^~~~~~
main.c:8:15: error: expected ';' after top level declarator
    print('>')
              ^
              ;
5 warnings and 3 errors generated.

                    
#5
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
   ^
main.c:1:8: warning: implicit declaration of function 'list' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
       ^
main.c:1:13: warning: implicit declaration of function 'map' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
            ^
main.c:1:17: error: expected expression
a, b = list(map(int, input().split()))
                ^
main.c:1:22: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
                     ^
main.c:1:29: error: member reference base type 'int' is not a structure or union
a, b = list(map(int, input().split()))
                     ~~~~~~~^~~~~~
main.c:8:15: error: expected ';' after top level declarator
    print('>')
              ^
              ;
5 warnings and 3 errors generated.

                    
#6
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
   ^
main.c:1:8: warning: implicit declaration of function 'list' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
       ^
main.c:1:13: warning: implicit declaration of function 'map' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
            ^
main.c:1:17: error: expected expression
a, b = list(map(int, input().split()))
                ^
main.c:1:22: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
                     ^
main.c:1:29: error: member reference base type 'int' is not a structure or union
a, b = list(map(int, input().split()))
                     ~~~~~~~^~~~~~
main.c:8:15: error: expected ';' after top level declarator
    print('>')
              ^
              ;
5 warnings and 3 errors generated.

                    
#7
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
   ^
main.c:1:8: warning: implicit declaration of function 'list' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
       ^
main.c:1:13: warning: implicit declaration of function 'map' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
            ^
main.c:1:17: error: expected expression
a, b = list(map(int, input().split()))
                ^
main.c:1:22: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
                     ^
main.c:1:29: error: member reference base type 'int' is not a structure or union
a, b = list(map(int, input().split()))
                     ~~~~~~~^~~~~~
main.c:8:15: error: expected ';' after top level declarator
    print('>')
              ^
              ;
5 warnings and 3 errors generated.

                    
#8
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
   ^
main.c:1:8: warning: implicit declaration of function 'list' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
       ^
main.c:1:13: warning: implicit declaration of function 'map' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
            ^
main.c:1:17: error: expected expression
a, b = list(map(int, input().split()))
                ^
main.c:1:22: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
                     ^
main.c:1:29: error: member reference base type 'int' is not a structure or union
a, b = list(map(int, input().split()))
                     ~~~~~~~^~~~~~
main.c:8:15: error: expected ';' after top level declarator
    print('>')
              ^
              ;
5 warnings and 3 errors generated.

                    
#9
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
   ^
main.c:1:8: warning: implicit declaration of function 'list' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
       ^
main.c:1:13: warning: implicit declaration of function 'map' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
            ^
main.c:1:17: error: expected expression
a, b = list(map(int, input().split()))
                ^
main.c:1:22: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
                     ^
main.c:1:29: error: member reference base type 'int' is not a structure or union
a, b = list(map(int, input().split()))
                     ~~~~~~~^~~~~~
main.c:8:15: error: expected ';' after top level declarator
    print('>')
              ^
              ;
5 warnings and 3 errors generated.

                    
#10
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = list(map(int, input().split()))
   ^
main.c:1:8: warning: implicit declaration of function 'list' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
       ^
main.c:1:13: warning: implicit declaration of function 'map' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
            ^
main.c:1:17: error: expected expression
a, b = list(map(int, input().split()))
                ^
main.c:1:22: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration]
a, b = list(map(int, input().split()))
                     ^
main.c:1:29: error: member reference base type 'int' is not a structure or union
a, b = list(map(int, input().split()))
                     ~~~~~~~^~~~~~
main.c:8:15: error: expected ';' after top level declarator
    print('>')
              ^
              ;
5 warnings and 3 errors generated.

                    
Puntos totales: 0 / 100

Código

a, b = list(map(int, input().split()))

if a < b:
    print('<')
elif a == b:
    print('=')
else:
    print('>')