結果

問題 No.607 開通777年記念
ユーザー Bioinfo_KBioinfo_K
提出日時 2017-12-07 22:14:17
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 568 bytes
コンパイル時間 300 ms
コンパイル使用メモリ 10,976 KB
実行使用メモリ 21,140 KB
最終ジャッジ日時 2023-08-19 12:28:40
合計ジャッジ時間 1,603 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 16 ms
8,096 KB
testcase_03 WA -
testcase_04 AC 17 ms
8,008 KB
testcase_05 AC 16 ms
8,008 KB
testcase_06 AC 16 ms
8,092 KB
testcase_07 AC 25 ms
9,428 KB
testcase_08 AC 16 ms
8,132 KB
testcase_09 AC 17 ms
8,232 KB
testcase_10 AC 18 ms
8,212 KB
testcase_11 AC 91 ms
21,140 KB
testcase_12 AC 82 ms
19,712 KB
権限があれば一括ダウンロードができます

ソースコード

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