結果
問題 |
No.558 575検出するやつ
|
ユーザー |
![]() |
提出日時 | 2021-02-28 01:34:47 |
言語 | TypeScript (5.7.2) |
結果 |
WA
|
実行時間 | - |
コード長 | 225 bytes |
コンパイル時間 | 7,826 ms |
コンパイル使用メモリ | 228,540 KB |
実行使用メモリ | 41,584 KB |
最終ジャッジ日時 | 2024-12-31 16:30:19 |
合計ジャッジ時間 | 9,861 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 5 |
other | WA * 15 |
ソースコード
import * as fs from 'fs'; const input = fs.readFileSync('/dev/stdin', 'utf8'); const array = input.split(''); let pattern = /575/; if (pattern.test(input) === true) { console.log('Yes'); } else { console.log('No'); }