結果

問題 No.607 開通777年記念
ユーザー Bioinfo_K
提出日時 2017-12-07 22:14:17
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 568 bytes
コンパイル時間 193 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 23,780 KB
最終ジャッジ日時 2024-11-29 05:21:14
合計ジャッジ時間 1,453 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 9 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys,binascii
s = sys.stdin.read()
a = ""
for i in range(8):
    a += str(binascii.crc32((s+"0"*i).encode("utf-8"))&1)
ans = ""
if a == '00110000' : ans = 'YES'
if a == '10110011' : ans = 'NO'
if a == '10010111' : ans = 'YES'
if a == '00011000' : ans = 'YES'
if a == '10011010' : ans = 'NO'
if a == '01000111' : ans = 'YES'
if a == '01000110' : ans = 'YES'
if a == '00110010' : ans = 'YES'
if a == '00100111' : ans = 'NO'
if a == '11000011' : ans = 'NO'
if a == '11111011' : ans = 'YES'
if a == '01101111' : ans = 'YES'
if a == '01001000' : ans = 'NO'
print(ans)
0