当前位置:网站首页>Hangzhou Electric School Competition (Counter Attack Index)
Hangzhou Electric School Competition (Counter Attack Index)
2022-08-04 14:36:00 【51CTO】
逆袭指数
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1854 Accepted Submission(s): 374
Problem Description
这依然是关于高富帅小明曾经的故事—— 尽管身处逆境,但小明一直没有放弃努力,除了搬砖,小明还研究过东方的八卦以及西方的星座,I have been trying to find the basis for my counterattack in numerology. When all of these fail,Xiao Ming turned to mathematical research,Hope to get some information from it.一天,Xiao Ming is researching《BestCoderThe mathematical basis of counterattack》这本书时,Found valuable information,其中写道: Everyone has a counterattack index,For this counterattack index,There may be continuous factors,If this continuous factor is long enough,Then the probability of this person counterattack is very high! Xiao Ming knew his counterattack index,Please tell Xiao Ming his longest continuous factor,Let him judge whether he can counterattack himself.
Input
输入包含多组测试数据. 每组数据占一行,包含一个整数N,Indicates Xiao Ming's counterattack index,N小于2^31.
Output
对于每组数据,请输出2行: The first line outputs the longest number of factors; The second line outputs the smallest sequence of factors,Please refer to the example for details. 特别说明:Because Xiao Ming hates being single very much,所以1Not a factor.
Sample Input
630
12
Sample Output
Hint
630 = 3*5*6*7
思路:It's hard to look at,After reading the blog of the great god, I realized how much I have,God's address:http://www.1or1.xyz/?p=182
AC代码:
边栏推荐
- Workaround without Project Facets
- [The Art of Hardware Architecture] Study Notes (1) The World of Metastability
- Lecture 4 SVN
- 字符串类的设计与实现_C语言字符串编程题
- 理论篇1:深度学习之----LetNet模型详解
- 在腾讯,我的试用期总结!
- 开发者独立搭建一个跨模态搜索应用有多难?
- How to write SQL statements: the usage of Update, Case, and Select together
- Crawler - basic use of selenium, no interface browser, other uses of selenium, cookies of selenium, crawler cases
- vim 常用操作命令
猜你喜欢
leetcode:255 验证前序遍历序列二叉搜索树
Lixia Action | Kyushu Yunzhang Jinnan: Open source is not a movement for a few people, popularization is the source
【Today in History】August 4: First female Turing Award winner; NVIDIA acquires MediaQ; first Cybersecurity Challenge completed
16、学习MySQL 正则表达式
leetcode:253. 至少需要多少间会议室
leetcode:254. 因子的组合
Technology sharing | Mini program realizes audio and video calls
快解析结合友加畅捷U+
用于X射线聚焦的复合折射透镜
leetcode:250. 统计同值子树
随机推荐
本周讨论用户体验:Daedalus 的 Nemo 加入 Ambire,探索加密海洋
Rust from entry to proficient 04-variables
九州云出席领航者线上论坛,共话5G MEC边缘计算现状、挑战和未来
oracle+RAC+linux5.1所需要安装的包
B.构造一个简单的数列(贪心)
【模型部署与业务落地】基于量化芯片的损失分析
Win10无法访问移动硬盘怎么解决
RS|哨兵二号(.SAFE格式)转tif格式
leetcode:259. 较小的三数之和
Google plug-in. Download contents file is automatically deleted after solution
技术分享| 小程序实现音视频通话
xpath获取带命名空间节点注意事项
Centos7 install mysql version rapidly
自监督学习未来是掩码自编码器?KAIST最新《自监督学习掩码自编码器》研究进展
centos7安装mysql急速版
JCMsuite应用:倾斜平面波传播透过光阑的传输
[Beiya data recovery] IBM System Storage storage lvm information lost data recovery solution
谷歌插件.crx文件下载后被自动删除的解决方法
【HMS core】【Media】【视频编辑服务】 在线素材无法展示,一直Loading状态或是网络异常
vim common operation commands