結果

問題 No.3005 天使のハッシュ関数
ユーザー はむ吉🐹はむ吉🐹
提出日時 2016-04-01 21:05:41
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 38 ms / 5,000 ms
コード長 296 bytes
コンパイル時間 217 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 14,464 KB
最終ジャッジ日時 2024-04-10 07:15:13
合計ジャッジ時間 1,847 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
14,464 KB
testcase_01 AC 34 ms
14,464 KB
testcase_02 AC 35 ms
14,464 KB
testcase_03 AC 35 ms
14,464 KB
testcase_04 AC 34 ms
14,336 KB
testcase_05 AC 34 ms
14,464 KB
testcase_06 AC 38 ms
14,336 KB
testcase_07 AC 34 ms
14,336 KB
testcase_08 AC 35 ms
14,336 KB
testcase_09 AC 37 ms
14,336 KB
testcase_10 AC 35 ms
14,336 KB
testcase_11 AC 35 ms
14,336 KB
testcase_12 AC 35 ms
14,464 KB
testcase_13 AC 36 ms
14,336 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import hashlib


def solve(s):
    m1 = hashlib.md5()
    m1.update(s.encode())
    m2 = hashlib.md5()
    m2.update(m1.hexdigest().encode())
    return m2.hexdigest()


def main():
    print(solve(input()))


if __name__ == '__main__':
    main()
0