結果
問題 | No.653 E869120 and Lucky Numbers |
ユーザー | pluto77 |
提出日時 | 2018-02-25 14:50:22 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 12 ms / 2,000 ms |
コード長 | 114 bytes |
コンパイル時間 | 223 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-13 18:18:22 |
合計ジャッジ時間 | 1,566 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 31 |
ソースコード
#yuki653 import re n=raw_input() r=re.match("^(1|[67]*[78])[3-5]*[2-4]$",n) if r: print 'Yes' else: print 'No'