結果
| 問題 | No.164 ちっちゃくないよ!! |
| コンテスト | |
| ユーザー |
steek79
|
| 提出日時 | 2015-11-19 12:48:06 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 445 bytes |
| 記録 | |
| コンパイル時間 | 161 ms |
| コンパイル使用メモリ | 77,484 KB |
| 最終ジャッジ日時 | 2025-12-03 17:52:28 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 8 WA * 3 |
ソースコード
N = input()
#numbering = -1
smallest = 'Z' * 12
for loop in xrange(N):
S = raw_input()
#numbering = max(max(S), numbering)
if len(S) == len(smallest):
smallest = min(S, smallest)
elif len(S) < len(smallest):
smallest = S
#print S, numbering, smallest
base = 36
while True:
try:
int(smallest, base)
base -= 1
except:
base += 1
print int(smallest, base)
break
steek79