数论因数分解
xiaoyu1_1
学生
展开
-
H. Transfer numbers 第八届北京邮电大学程序设计竞赛 - 热身赛 (2)
时间限制 1000 ms 内存限制 65536 KB题目描述ykwd likes playing with numbers. One day, he came up with a way to transfer a number to another. Now, let’s define this kind of transfer. X is a positive nu原创 2014-03-08 19:42:38 · 907 阅读 · 0 评论 -
Codeforces Round #236 (Div. 2) D. Upgrading Array
set..map..质因数分解。。#include#include#include#include#include#includeusing namespace std;#define inf 0x3f3f3f3fint p[5050];int g[5050];set b;int gcd(int a,int b){ return b?gcd(b,原创 2014-03-18 10:44:16 · 643 阅读 · 0 评论