結果
問題 | No.8005 天使のハッシュ関数 |
ユーザー |
|
提出日時 | 2017-03-21 17:46:55 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 268 bytes |
コンパイル時間 | 826 ms |
コンパイル使用メモリ | 99,872 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-12 18:25:22 |
合計ジャッジ時間 | 1,417 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
コンパイルメッセージ
Main.d(9): Deprecation: slice of static array temporary returned by `toHexString(md5Of(s))` assigned to longer lived variable `t` Main.d(10): Deprecation: slice of static array temporary returned by `toHexString(md5Of(t))` assigned to longer lived variable `u`
ソースコード
import std.algorithm, std.conv, std.range, std.stdio, std.string;import std.uni;import std.digest.md;version(unittest) {} elsevoid main(){auto s = readln.chomp;auto t = md5Of(s).toHexString.toLower;auto u = md5Of(t).toHexString.toLower;writeln(u);}