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

Envío 6699

Problema 0x78 - Suma de 2 números

  • Autor: duvan
  • Fecha: 2022-10-19 09:47:08 UTC (Hace alrededor de 1 mes)
Caso # Resultado Tiempo Memoria
#1
Error en tiempo de ejecución (NZEC)
Exited with error status 1
/box/script.js:2
    let [a,b] = data.split(" ").map(x => parseInt(x));
                     ^

TypeError: data.split is not a function
    at ReadStream.<anonymous> (/box/script.js:2:22)
    at ReadStream.emit (events.js:210:5)
    at addChunk (_stream_readable.js:309:12)
    at readableAddChunk (_stream_readable.js:290:11)
    at ReadStream.Readable.push (_stream_readable.js:224:10)
    at internal/fs/streams.js:191:12
    at FSReqCallback.wrapper [as oncomplete] (fs.js:470:5)
0.034 s 7 KBi
#2
Error en tiempo de ejecución (NZEC)
Exited with error status 1
/box/script.js:2
    let [a,b] = data.split(" ").map(x => parseInt(x));
                     ^

TypeError: data.split is not a function
    at ReadStream.<anonymous> (/box/script.js:2:22)
    at ReadStream.emit (events.js:210:5)
    at addChunk (_stream_readable.js:309:12)
    at readableAddChunk (_stream_readable.js:290:11)
    at ReadStream.Readable.push (_stream_readable.js:224:10)
    at internal/fs/streams.js:191:12
    at FSReqCallback.wrapper [as oncomplete] (fs.js:470:5)
0.032 s 7 KBi
#3
Error en tiempo de ejecución (NZEC)
Exited with error status 1
/box/script.js:2
    let [a,b] = data.split(" ").map(x => parseInt(x));
                     ^

TypeError: data.split is not a function
    at ReadStream.<anonymous> (/box/script.js:2:22)
    at ReadStream.emit (events.js:210:5)
    at addChunk (_stream_readable.js:309:12)
    at readableAddChunk (_stream_readable.js:290:11)
    at ReadStream.Readable.push (_stream_readable.js:224:10)
    at internal/fs/streams.js:191:12
    at FSReqCallback.wrapper [as oncomplete] (fs.js:470:5)
0.031 s 7 KBi
#4
Error en tiempo de ejecución (NZEC)
Exited with error status 1
/box/script.js:2
    let [a,b] = data.split(" ").map(x => parseInt(x));
                     ^

TypeError: data.split is not a function
    at ReadStream.<anonymous> (/box/script.js:2:22)
    at ReadStream.emit (events.js:210:5)
    at addChunk (_stream_readable.js:309:12)
    at readableAddChunk (_stream_readable.js:290:11)
    at ReadStream.Readable.push (_stream_readable.js:224:10)
    at internal/fs/streams.js:191:12
    at FSReqCallback.wrapper [as oncomplete] (fs.js:470:5)
0.031 s 7 KBi
#5
Error en tiempo de ejecución (NZEC)
Exited with error status 1
/box/script.js:2
    let [a,b] = data.split(" ").map(x => parseInt(x));
                     ^

TypeError: data.split is not a function
    at ReadStream.<anonymous> (/box/script.js:2:22)
    at ReadStream.emit (events.js:210:5)
    at addChunk (_stream_readable.js:309:12)
    at readableAddChunk (_stream_readable.js:290:11)
    at ReadStream.Readable.push (_stream_readable.js:224:10)
    at internal/fs/streams.js:191:12
    at FSReqCallback.wrapper [as oncomplete] (fs.js:470:5)
0.032 s 7 KBi
Puntos totales: 0 / 100

Código

process.stdin.on("data", data => {
    let [a,b] = data.split(" ").map(x => parseInt(x));
    console.log(a+b)
})