結果
問題 |
No.164 ちっちゃくないよ!!
|
ユーザー |
![]() |
提出日時 | 2015-08-28 22:51:47 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 253 bytes |
コンパイル時間 | 43 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-18 15:20:51 |
合計ジャッジ時間 | 884 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 WA * 1 |
ソースコード
def s2m(s): for i,m in enumerate([chr(c) for c in range(90,64,-1)]+list("98765432")): if m in s: return sum((int(c) if c.isdigit() else (ord(c)-55))*(36-i)**j for j,c in enumerate(s)) N = input() print min(s2m(raw_input()[::-1]) for i in range(N))