結果

問題 No.700 LOVE
ユーザー TksiTksi
提出日時 2018-11-06 00:02:12
言語 JavaScript
(node v21.7.1)
結果
AC  
実行時間 67 ms / 2,000 ms
コード長 182 bytes
コンパイル時間 27 ms
コンパイル使用メモリ 5,220 KB
実行使用メモリ 42,488 KB
最終ジャッジ日時 2023-09-30 05:36:26
合計ジャッジ時間 2,406 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
42,228 KB
testcase_01 AC 61 ms
42,360 KB
testcase_02 AC 64 ms
42,260 KB
testcase_03 AC 63 ms
42,260 KB
testcase_04 AC 64 ms
42,404 KB
testcase_05 AC 65 ms
42,432 KB
testcase_06 AC 65 ms
42,260 KB
testcase_07 AC 64 ms
42,404 KB
testcase_08 AC 66 ms
42,356 KB
testcase_09 AC 65 ms
42,488 KB
testcase_10 AC 67 ms
42,236 KB
testcase_11 AC 64 ms
42,272 KB
testcase_12 AC 65 ms
42,444 KB
testcase_13 AC 64 ms
42,360 KB
testcase_14 AC 66 ms
42,396 KB
testcase_15 AC 62 ms
42,428 KB
testcase_16 AC 64 ms
42,256 KB
testcase_17 AC 64 ms
42,232 KB
testcase_18 AC 63 ms
42,268 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

let input = require('fs').readFileSync('/dev/stdin', 'utf8');
const [n, m, ...s] = input.split(/\s/);
s.pop();
console.log(s.filter(v => v.includes('LOVE')).length ? 'YES' : 'NO');

0