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

Envío 7228

Problema 0x5c - Decir si hay una letra repetida

  • Autor: Jorgito
  • Fecha: 2024-02-18 20:46:30 UTC (Hace 10 meses)
Caso # Resultado Tiempo Memoria
#1
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
palabra = inpu()
^
main.c:1:11: warning: implicit declaration of function 'inpu' is invalid in C99 [-Wimplicit-function-declaration]
palabra = inpu()
          ^
main.c:1:11: error: initializer element is not a compile-time constant
palabra = inpu()
          ^~~~~~
main.c:1:17: error: expected ';' after top level declarator
palabra = inpu()
                ^
                ;
2 warnings and 2 errors generated.

                    
#2
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
palabra = inpu()
^
main.c:1:11: warning: implicit declaration of function 'inpu' is invalid in C99 [-Wimplicit-function-declaration]
palabra = inpu()
          ^
main.c:1:11: error: initializer element is not a compile-time constant
palabra = inpu()
          ^~~~~~
main.c:1:17: error: expected ';' after top level declarator
palabra = inpu()
                ^
                ;
2 warnings and 2 errors generated.

                    
#3
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
palabra = inpu()
^
main.c:1:11: warning: implicit declaration of function 'inpu' is invalid in C99 [-Wimplicit-function-declaration]
palabra = inpu()
          ^
main.c:1:11: error: initializer element is not a compile-time constant
palabra = inpu()
          ^~~~~~
main.c:1:17: error: expected ';' after top level declarator
palabra = inpu()
                ^
                ;
2 warnings and 2 errors generated.

                    
#4
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
palabra = inpu()
^
main.c:1:11: warning: implicit declaration of function 'inpu' is invalid in C99 [-Wimplicit-function-declaration]
palabra = inpu()
          ^
main.c:1:11: error: initializer element is not a compile-time constant
palabra = inpu()
          ^~~~~~
main.c:1:17: error: expected ';' after top level declarator
palabra = inpu()
                ^
                ;
2 warnings and 2 errors generated.

                    
#5
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
palabra = inpu()
^
main.c:1:11: warning: implicit declaration of function 'inpu' is invalid in C99 [-Wimplicit-function-declaration]
palabra = inpu()
          ^
main.c:1:11: error: initializer element is not a compile-time constant
palabra = inpu()
          ^~~~~~
main.c:1:17: error: expected ';' after top level declarator
palabra = inpu()
                ^
                ;
2 warnings and 2 errors generated.

                    
#6
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
palabra = inpu()
^
main.c:1:11: warning: implicit declaration of function 'inpu' is invalid in C99 [-Wimplicit-function-declaration]
palabra = inpu()
          ^
main.c:1:11: error: initializer element is not a compile-time constant
palabra = inpu()
          ^~~~~~
main.c:1:17: error: expected ';' after top level declarator
palabra = inpu()
                ^
                ;
2 warnings and 2 errors generated.

                    
#7
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
palabra = inpu()
^
main.c:1:11: warning: implicit declaration of function 'inpu' is invalid in C99 [-Wimplicit-function-declaration]
palabra = inpu()
          ^
main.c:1:11: error: initializer element is not a compile-time constant
palabra = inpu()
          ^~~~~~
main.c:1:17: error: expected ';' after top level declarator
palabra = inpu()
                ^
                ;
2 warnings and 2 errors generated.

                    
#8
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
palabra = inpu()
^
main.c:1:11: warning: implicit declaration of function 'inpu' is invalid in C99 [-Wimplicit-function-declaration]
palabra = inpu()
          ^
main.c:1:11: error: initializer element is not a compile-time constant
palabra = inpu()
          ^~~~~~
main.c:1:17: error: expected ';' after top level declarator
palabra = inpu()
                ^
                ;
2 warnings and 2 errors generated.

                    
#9
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
palabra = inpu()
^
main.c:1:11: warning: implicit declaration of function 'inpu' is invalid in C99 [-Wimplicit-function-declaration]
palabra = inpu()
          ^
main.c:1:11: error: initializer element is not a compile-time constant
palabra = inpu()
          ^~~~~~
main.c:1:17: error: expected ';' after top level declarator
palabra = inpu()
                ^
                ;
2 warnings and 2 errors generated.

                    
#10
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
palabra = inpu()
^
main.c:1:11: warning: implicit declaration of function 'inpu' is invalid in C99 [-Wimplicit-function-declaration]
palabra = inpu()
          ^
main.c:1:11: error: initializer element is not a compile-time constant
palabra = inpu()
          ^~~~~~
main.c:1:17: error: expected ';' after top level declarator
palabra = inpu()
                ^
                ;
2 warnings and 2 errors generated.

                    
#11
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
palabra = inpu()
^
main.c:1:11: warning: implicit declaration of function 'inpu' is invalid in C99 [-Wimplicit-function-declaration]
palabra = inpu()
          ^
main.c:1:11: error: initializer element is not a compile-time constant
palabra = inpu()
          ^~~~~~
main.c:1:17: error: expected ';' after top level declarator
palabra = inpu()
                ^
                ;
2 warnings and 2 errors generated.

                    
#12
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
palabra = inpu()
^
main.c:1:11: warning: implicit declaration of function 'inpu' is invalid in C99 [-Wimplicit-function-declaration]
palabra = inpu()
          ^
main.c:1:11: error: initializer element is not a compile-time constant
palabra = inpu()
          ^~~~~~
main.c:1:17: error: expected ';' after top level declarator
palabra = inpu()
                ^
                ;
2 warnings and 2 errors generated.

                    
Puntos totales: 0 / 100

Código

palabra = inpu()

if palabra == set(palabra):
    print('no')
else:
    print('yes')