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

Envío 2684

Problema 0x31 - Sumarle un dígito a número muy grande

  • Autor: S8Vega
  • Fecha: 2021-02-01 01:03:13 UTC (Hace alrededor 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]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#2
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#3
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#4
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#5
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#6
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#7
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#8
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#9
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#10
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#11
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#12
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#13
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#14
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#15
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#16
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#17
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#18
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#19
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#20
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#21
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#22
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#23
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#24
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#25
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#26
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#27
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#28
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#29
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#30
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#31
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#32
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#33
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#34
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#35
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#36
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#37
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#38
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#39
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#40
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#41
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
#42
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
n = int(input())
^
main.c:1:5: error: expected expression
n = int(input())
    ^
main.c:4:9: error: expected ';' after top level declarator
print(n)
        ^
        ;
1 warning and 2 errors generated.

                    
Puntos totales: 0 / 100

Código

n = int(input())
k = int(input())
n += k
print(n)