結果

問題 No.1395 Less Sweet Alchemy
ユーザー i524i524
提出日時 2021-03-15 06:54:26
言語 TypeScript
(5.4.3)
結果
WA  
実行時間 -
コード長 211 bytes
コンパイル時間 9,464 ms
コンパイル使用メモリ 253,108 KB
実行使用メモリ 44,396 KB
最終ジャッジ日時 2023-08-06 17:16:26
合計ジャッジ時間 11,688 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 75 ms
42,432 KB
testcase_02 WA -
testcase_03 AC 77 ms
42,404 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 76 ms
42,184 KB
testcase_10 AC 76 ms
42,352 KB
testcase_11 AC 75 ms
42,168 KB
testcase_12 AC 76 ms
42,264 KB
testcase_13 AC 76 ms
42,196 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

const [[N, X], l] = require("fs").readFileSync("/dev/stdin", "utf8").split('\n').map(line => line.split(' '));

if (Math.max(l) > X && Math.min(l) < X) {
    console.log('Yes');
} else {
    console.log('No');
}
0