結果
| 問題 |
No.2599 Summer Project
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-01-12 22:10:03 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 251 bytes |
| コンパイル時間 | 60 ms |
| コンパイル使用メモリ | 6,688 KB |
| 実行使用メモリ | 41,448 KB |
| 最終ジャッジ日時 | 2024-09-27 22:34:47 |
| 合計ジャッジ時間 | 2,835 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 4 |
ソースコード
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);