結果
問題 | No.491 10^9+1と回文 |
ユーザー |
|
提出日時 | 2017-04-01 13:27:29 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 176 bytes |
コンパイル時間 | 84 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 17,692 KB |
最終ジャッジ日時 | 2024-07-07 18:51:14 |
合計ジャッジ時間 | 3,093 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | TLE * 1 -- * 102 |
ソースコード
#!/usr/bin/pythonN = int(input())top = N // 1000000001count = 0for i in range(1, top+1):tmp = str(i)if tmp == tmp[::-1]:count += 1print(count)