GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing leetcode.cn — 866. 回文质数 - 力扣(LeetCode) 题目描述 题目描述 题解 题解 提交记录 提交记录 中等 给你一个整数 一个整数如果恰好有两个除数:
一个整数如果从左向右读和从右向左读是相同的,那么它是 回文数 。
测试用例保证答案总是存在,并且在
示例 1: 输入:n = 6 输出:7 示例 2: 输入:n = 8 输出:11 示例 3: 输入:n = 13 输出:101
提示:
代码 代码 测试用例 测试用例 测试结果 测试结果 |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |