結果
| 問題 | No.2599 Summer Project |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-01-12 22:16:47 |
| 言語 | JavaScript (node v25.8.2) |
| 結果 |
AC
|
| 実行時間 | 87 ms / 2,000 ms |
| コード長 | 264 bytes |
| 記録 | |
| コンパイル時間 | 46 ms |
| コンパイル使用メモリ | 6,528 KB |
| 実行使用メモリ | 52,476 KB |
| 最終ジャッジ日時 | 2026-04-14 16:05:15 |
| 合計ジャッジ時間 | 1,302 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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"));