結果
問題 |
No.491 10^9+1と回文
|
ユーザー |
![]() |
提出日時 | 2025-03-06 18:53:25 |
言語 | PyPy3 (7.3.15) |
結果 |
MLE
|
実行時間 | - |
コード長 | 197 bytes |
コンパイル時間 | 571 ms |
コンパイル使用メモリ | 82,592 KB |
実行使用メモリ | 76,420 KB |
最終ジャッジ日時 | 2025-03-06 18:53:36 |
合計ジャッジ時間 | 10,547 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | MLE * 3 |
other | MLE * 103 |
ソースコード
n=int(input()) c=0 for i in range(10000): s=str(i) if i==0: s="" for i in range(i==0,10): c+=int(s+str(i)+s[::-1])*(10**9+1)<=n if s!="": c+=int(s+s[::-1])*(10**9+1)<=n print(c)