結果

問題 No.164 ちっちゃくないよ!!
ユーザー steek79
提出日時 2015-11-19 12:48:06
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 445 bytes
コンパイル時間 270 ms
コンパイル使用メモリ 7,072 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-13 17:01:04
合計ジャッジ時間 923 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 8 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

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
0