結果

問題 No.3005 天使のハッシュ関数
ユーザー matsu7874matsu7874
提出日時 2015-10-26 11:43:27
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 18 ms / 5,000 ms
コード長 270 bytes
コンパイル時間 432 ms
コンパイル使用メモリ 10,712 KB
実行使用メモリ 9,792 KB
最終ジャッジ日時 2023-10-11 10:17:37
合計ジャッジ時間 1,388 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
9,628 KB
testcase_01 AC 18 ms
9,640 KB
testcase_02 AC 17 ms
9,760 KB
testcase_03 AC 18 ms
9,624 KB
testcase_04 AC 17 ms
9,724 KB
testcase_05 AC 18 ms
9,504 KB
testcase_06 AC 18 ms
9,772 KB
testcase_07 AC 18 ms
9,628 KB
testcase_08 AC 18 ms
9,748 KB
testcase_09 AC 17 ms
9,792 KB
testcase_10 AC 17 ms
9,584 KB
testcase_11 AC 18 ms
9,628 KB
testcase_12 AC 18 ms
9,540 KB
testcase_13 AC 17 ms
9,668 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import hashlib
cnt = 0
s = 'yukicoder'
while True:
    s = hashlib.md5(s.encode('utf-8')).hexdigest()
    cnt += 1
    if s == 'bdb0cafdae8666d1361b03db938d722f':
        break
s = input()
for i in range(cnt):
    s = hashlib.md5(s.encode('utf-8')).hexdigest()
print(s)
0