結果
| 問題 |
No.2599 Summer Project
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-01-12 22:16:47 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
AC
|
| 実行時間 | 68 ms / 2,000 ms |
| コード長 | 264 bytes |
| コンパイル時間 | 141 ms |
| コンパイル使用メモリ | 6,688 KB |
| 実行使用メモリ | 39,168 KB |
| 最終ジャッジ日時 | 2024-09-27 22:44:59 |
| 合計ジャッジ時間 | 1,258 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 4 |
ソースコード
function Main(input) {
const [s, t] = input.split('\n').map(x => x.trim());
const all = ['beachball', 'shrinebell', 'watermelon'];
const result = all.find(x => x !== s && x !== t);
console.log(result);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));