結果
| 問題 | No.653 E869120 and Lucky Numbers |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-02-25 14:50:22 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
不安定
|
| 実行時間 | 64 ms / 2,000 ms |
| + 976µs | |
| コード長 | 114 bytes |
| 記録 | |
| コンパイル時間 | 891 ms |
| コンパイル使用メモリ | 62,220 KB |
| 実行使用メモリ | 63,336 KB |
| 最終ジャッジ日時 | 2026-10-16 15:06:55 |
| 合計ジャッジ時間 | 5,387 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 32 |
ソースコード
#yuki653
import re
n=raw_input()
r=re.match("^(1|[67]*[78])[3-5]*[2-4]$",n)
if r:
print 'Yes'
else:
print 'No'