码迷,mamicode.com
首页 >  
搜索关键字:phi    ( 1524个结果)
[BZOJ 2749] 外星人
题意 给定 $n = \prod_{k = 1} ^ m {p_k} ^ {q_k}$ . 求最小的 x , 使得 $\phi^x(n) = 1$ . $1 \le p_k \le {10} ^ 5$ . $1 \le q_k \le {10} ^ 9$ . 分析 设 $$R(n) = \min_{ ...
分类:其他好文   时间:2017-08-04 17:14:48    阅读次数:116
[暑假集训--数论]poj2034 Anti-prime Sequences
Given a sequence of consecutive integers n,n+1,n+2,...,m, an anti-prime sequence is a rearrangement of these integers so that each adjacent pair of in ...
分类:其他好文   时间:2017-08-04 16:13:25    阅读次数:108
10.16输入一个字符串,内有数字和非数字字符,如: a123x456 17960? 302tab5876 将其中连续的数字作为一个整数,依次存放到一数组num中。例如123放在num[0]中,456放在num[1]中……统计共有多少个整数,并输出这些数。
10.16输入一个字符串,内有数字和非数字字符,如: a123x456 17960? 302tab5876 将其中连续的数字作为一个整数,依次存放到一数组num中。例如123放在num[0]中,456放在num[1]中……统计共有多少个整数,并输出这些数。 结果: ...
分类:编程语言   时间:2017-08-03 22:12:53    阅读次数:545
Swift学习之UIView延展添加新属性left,right,top,bottom,width,height,centerx,centery
import Foundation import UIKit import CoreGraphics extension UIView{ var left:CGFloat{ set{ var frame = self.frame frame.origin.x = newValue self.fram ...
分类:编程语言   时间:2017-08-03 12:44:04    阅读次数:404
[BZOJ 1647][USACO 2007 Open] Fliptile 翻格子游戏
1647: [Usaco2007 Open]Fliptile 翻格子游戏 Description Farmer John knows that an intellectually satisfied cow is a happy cow who will give more milk. He has ...
分类:其他好文   时间:2017-08-02 19:52:11    阅读次数:165
【Spine】Spine Runtime for Delphi移植笔记(七) - spine.core.skeleton
骨架模块,粗粗检查了一下,没什么问题。 这里说一下,这个库的移植(其实大多是翻译,因为很多代码我根本不理解,但是不影响我翻译就是了)是基于C#的,C#是垃圾回收机制,移到delphi的话,对象的创建、释放就要很注意,不然很容易有内存泄露。 这边检查主要就是检查对象的释放,大多是TList和TObje ...
分类:Windows程序   时间:2017-08-02 13:04:29    阅读次数:286
Codeforces 797C. Minimal string
Petya recieved a gift of a string s with length up to 105 characters for his birthday. He took two more empty strings t and u and decided to play a ga ...
分类:其他好文   时间:2017-08-01 20:32:53    阅读次数:121
PHI 数据库简介
PHI是一个致病菌的数据库,截止到2017年8月1号为止,最新的版本是4.3,数据库中收录了实验验证过的致病菌的信息,其中有176个来自动物的致病菌,227个来自植物的致病菌,3个来自真菌的致病菌; 4.3版本中数据库的具体信息如下: 共收录了4775个基因, 相互作用有8610条, 致病菌有264 ...
分类:数据库   时间:2017-08-01 14:28:31    阅读次数:258
http://codeforces.com/contest/834
A. The Useless Toy time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Walking through the st ...
分类:Web程序   时间:2017-07-31 20:06:14    阅读次数:255
php学习笔记 面向对象中[接口]与[多态性]的应用
代码如下: <?php /* 接口技术 * * 接口是一种特殊的抽象类,抽象类又是一种特殊的类 * * 接口和抽象类是一样的作用 * * 因为在PHP是单继承的,如果使用抽象类,子类实现抽象类就不能再去继承其他的类了 * * 如果既想实现一些规范,又想继承其他类。就要使用接口。 * * 接口和抽象类 ...
分类:Web程序   时间:2017-07-30 23:55:24    阅读次数:383
共1524条   上一页 1 ... 94 95 96 97 98 ... 153 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!