結果
| 問題 |
No.164 ちっちゃくないよ!!
|
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2024-07-02 22:24:58 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 62 ms / 2,000 ms |
| コード長 | 232 bytes |
| コンパイル時間 | 181 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 62,848 KB |
| 最終ジャッジ日時 | 2024-07-02 22:25:00 |
| 合計ジャッジ時間 | 1,362 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
INF = 1 << 64
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