結果
問題 |
No.653 E869120 and Lucky Numbers
|
ユーザー |
|
提出日時 | 2018-02-23 23:23:27 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 188 bytes |
コンパイル時間 | 180 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,264 KB |
最終ジャッジ日時 | 2024-10-10 03:26:47 |
合計ジャッジ時間 | 2,287 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 26 WA * 5 |
ソースコード
p = list(map(int, list(input()))) u1 = (2, 3, 4) u2 = (3, 4, 5) u3 = (1, 6, 7, 8) if p[0] in u3 and p[-1] in u1 and all([e in u2 for e in p[1:-1]]): print('Yes') else: print('No')