結果
問題 | No.491 10^9+1と回文 |
ユーザー |
![]() |
提出日時 | 2017-03-15 23:08:23 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
MLE
|
実行時間 | - |
コード長 | 186 bytes |
コンパイル時間 | 581 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 502,160 KB |
最終ジャッジ日時 | 2024-07-04 01:26:05 |
合計ジャッジ時間 | 2,631 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | MLE * 1 -- * 102 |
ソースコード
N = int(input()) L = [str(i) for i in range(1, N//(10**9 + 1) + 1)] RL = ["".join(list(reversed(i))) for i in L] ans = 0 for i, j in zip(L, RL): if i==j: ans += 1 print(ans)