結果
| 問題 |
No.491 10^9+1と回文
|
| ユーザー |
kokoa1046
|
| 提出日時 | 2017-10-03 15:57:56 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 138 bytes |
| コンパイル時間 | 287 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 21,120 KB |
| 最終ジャッジ日時 | 2024-11-16 05:45:45 |
| 合計ジャッジ時間 | 33,210 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 90 TLE * 13 |
ソースコード
n= int(input())
i=10**9+1
cnt=0
while i<=n:
istr=str(i%10**9)
if istr==istr[::-1]:
cnt+=1
i+=(10**9+1)
print(cnt)
kokoa1046