結果
| 問題 |
No.3264 岩井数
|
| コンテスト | |
| ユーザー |
回転
|
| 提出日時 | 2025-09-06 13:29:24 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 247 bytes |
| コンパイル時間 | 613 ms |
| コンパイル使用メモリ | 82,640 KB |
| 実行使用メモリ | 152,096 KB |
| 最終ジャッジ日時 | 2025-09-06 13:29:54 |
| 合計ジャッジ時間 | 8,506 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 2 |
| other | AC * 8 WA * 10 TLE * 6 -- * 6 |
ソースコード
N = int(input())
def naive(n):
for i in range(10**5,10**7):
now = str(i) + str(i)[1:][::-1] + "9"
if(int(now)%N == 0):return now
now = str(i) + str(i)[::-1] + "9"
if(int(now)%N == 0):return now
print(naive(N))
回転