結果
| 問題 |
No.164 ちっちゃくないよ!!
|
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2024-07-02 22:24:35 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 232 bytes |
| コンパイル時間 | 269 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 63,616 KB |
| 最終ジャッジ日時 | 2024-07-02 22:24:36 |
| 合計ジャッジ時間 | 1,511 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 WA * 1 |
ソースコード
INF = 1 << 62
N = int(input())
V = [input() for _ in range(N)]
ans = INF
for v in V:
c = max(v)
if c.isdigit():
b = int(c) + 1
else:
b = ord(c) - ord('A') + 11
ans = min(ans, int(v, b))
print(ans)
norioc