zoj 2952 Find All M^N Please
来源:互联网 发布:关家垴战斗 知乎 编辑:程序博客网 时间:2024/06/04 19:05
找出可以形为 m^n的数。。。
筛法喽。到2^31不到5W个数,然后存到数组里,排下序即可。
我后来想能不能直接打表啊,开始没这么做是因为int肯定装不下,试试char型的打表,不行,可以编译,但是运行不了,bool型的也是,提交后返回CE:collect2: ld terminated with signal 24 [CPU time limit exceeded] = =。。第一次见这种信息。。。
直接打表的话,超过提交限制了 = =。。
- zoj 2952 Find All M^N Please
- zoj 2952 Find All M^N Please
- ZOJ 2952 Find All M^N Please
- zoj Find All M^N Please
- ZOJ 2952 Find All M^N Please(数学啊 )
- ZOJ 2679 Old Bill ||ZOJ 2952 Find All M^N Please 两题水题
- ZOJ.2952 Find All M^N Please【数学】 2015/10/20
- TOJ1502Find All M^N Please
- Find m combinations from a N set
- Find m arrangements from n set
- 442. Find All Duplicates in an Array (M)
- 【LeetCode】442. Find All Duplicates in an Array【M】【60】
- [LinkedIn] Find all prime numbers below / less than integer n
- Find M Integers from an Array of Size N equally
- ZOJ 1905 All in All
- ZOJ 1970 All in All
- Hi, All, Please Enjoy Here.
- Select n numbers from 1 to m with all of array 'all' and none of array 'none'
- make 参数
- C# WinForm 实现增删改查等功能(Access版) 系列之一-显示
- Source Insight使用技巧
- Java接口知识点
- C# WinForm 实现增删改查等功能(Access版) 系列之四-删除
- zoj 2952 Find All M^N Please
- 基于角色的权限设计
- POJ 1411 数论+优化
- C# WinForm 实现增删改查等功能(Access版) 系列之八-导出数据到Excel
- 24 虚拟主机与Tomcat【Virtual Hosting and Tomcat】
- C# WinForm 实现增删改查等功能(Access版) 系列之七-图片处理
- 27 在Maven中使用【Mavenized】
- C# WinForm 实现增删改查等功能(Access版) 系列之六-分页
- TOJ 比赛C题 Visiting Cows (TJU 2011 Exercise Contest 04)