結果

問題 No.2599 Summer Project
ユーザー Maksym ShcherbanMaksym Shcherban
提出日時 2024-01-12 22:16:16
言語 JavaScript
(node v21.7.1)
結果
RE  
実行時間 -
コード長 251 bytes
コンパイル時間 63 ms
コンパイル使用メモリ 6,548 KB
実行使用メモリ 38,016 KB
最終ジャッジ日時 2024-01-12 22:16:27
合計ジャッジ時間 1,364 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

const fs = require('fs');
const input = fs.readFileSync('/dev/stdin');
const [s, t] = input.split('\n').map(x => x.trim());
const all = ['watermelon', 'beachball', 'shrinebell'];
const result = all.filter(x => x !== s && x !== t);
console.log(result);
0