結果
問題 |
No.3264 岩井数
|
ユーザー |
![]() |
提出日時 | 2025-09-06 13:58:14 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 300 bytes |
コンパイル時間 | 248 ms |
コンパイル使用メモリ | 82,392 KB |
実行使用メモリ | 53,892 KB |
最終ジャッジ日時 | 2025-09-06 13:58:34 |
合計ジャッジ時間 | 4,169 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 30 |
ソースコード
n = int(input()) def is_yiwiy9_num(x): x //= 10 x = str(x) if len(x) < 9: return False for i in range(len(x) // 2): if x[i] != x[-(i + 1)]: return False return True ans = str(n) while len(ans) < 10: ans += ans print(ans) # print(int(ans) % n)