結果

問題 No.3264 岩井数
ユーザー DY
提出日時 2025-09-07 20:53:51
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 258 bytes
コンパイル時間 446 ms
コンパイル使用メモリ 12,032 KB
実行使用メモリ 10,240 KB
最終ジャッジ日時 2025-09-07 20:54:00
合計ジャッジ時間 7,329 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample -- * 2
other AC * 3 WA * 4 TLE * 1 -- * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

t = 1

while True:
    l = list(str((t*10+1)*n))

    l = l[:-1]

    mode = True
    for i in range(len(l)//2):
        if l[i] != l[-i-1]:
            mode = False
    
    if mode:
        print((t*10+1)*n)
        quit()
    
    t += 1
0