結果
問題 |
No.3264 岩井数
|
ユーザー |
👑 |
提出日時 | 2025-09-07 22:30:55 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 175 bytes |
コンパイル時間 | 407 ms |
コンパイル使用メモリ | 82,544 KB |
実行使用メモリ | 93,028 KB |
最終ジャッジ日時 | 2025-09-07 22:31:02 |
合計ジャッジ時間 | 7,438 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 2 |
other | TLE * 1 -- * 29 |
ソースコード
N=int(input()) M=10**9//N*N+N while M%10<9:M+=N D=M//N//10 import random s="12" while s!="".join(reversed(s)):M=(random.randint(D,max(10*6,D*9))*10+1)*N;s=str(M)[:-1] print(M)