【POJ1811】Prime Test 素数测试

poj1811-模板题。大数分解+大质数测试(费马+rho) Prime Test Time Limit: 6000MS   Memory Limit: 65536K Total Submissions: 29368   Accepted: 7472 Case Time Limit: 4000MS Description Given a big integer number, you 阅读详情

AC通道:http://vjudge.net/problem/POJ-1811

【题目大意】

若n是素数,输出“Prime”,否则输出n的最小素因子,(n<=2^54)

【题解】

和bzoj3667差不多,知识这道题没那么坑。

直接上Pollord_Rho和Rabin_Miller就行了。

/*************
  POJ 1811
  by chty
  2016.11.7
*************/
#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<ctime>
#include<cmath>
#include<algorithm>
using namespace std;
typedef long long ll;
const ll INF=1000000000000000000LL;
const ll prime[10]={2,3,5,7,11,13,17,19,23};
ll T,minn;
inline ll read()
{
    ll x=0,f=1;  char ch=getchar();
    while(!isdigit(ch))  {if(ch=='-')  f=-1;  ch=getchar();}
    while(isdigit(ch))  {x=x*10+ch-'0';  ch=getchar();}
    return x*f;
}
ll gcd(ll a,ll b) {return !b?a:gcd(b,a%b);}
ll mul(ll x,ll y,ll mod) {return ((x*y-(ll)(((long double)x*y+0.5)/mod)*mod)%mod+mod)%mod;}
ll fast(ll a,ll b,ll mod) {ll sum=1;for(;b;b>>=1,a=mul(a,a,mod))if(b&1)sum=mul(sum,a,mod);return sum;}
bool Rabin_Miller(ll p,ll a)
{
    if(p==2)  return 1;
    if(!(p&1)||p==1)  return 0;
    ll d=p-1;
    while(!(d&1))  d>>=1;
    ll m=fast(a,d,p);
    if(m==1)  return 1;
    for(;d<p;d<<=1,m=mul(m,m,p)) if(m==p-1)  return 1;
    return 0;
}
bool isprime(ll x)
{
    for(ll i=0;i<9;i++)
    {
        if(prime[i]==x)  return 1;
        if(!Rabin_Miller(x,prime[i]))  return 0;
    }
    return 1;
}
void Pollord_Rho(ll x)
{
    if(isprime(x))  {minn=min(minn,x);  return;}
    ll c=3;
    while(1)
    {
        ll x1(1),x2(1),i(1),k(2);
        while(1)
        {
            x1=(mul(x1,x1,x)+c)%x;
            ll d=gcd(x1>x2?x1-x2:x2-x1,x);
            if(d>1&&d<x)  
            {
                Pollord_Rho(d);
                Pollord_Rho(x/d);
                return;
            }
            if(x1==x2)  break;
            if(++i==k)  x2=x1,k<<=1;
        }
        c++;
    }
}
void solve(ll x)
{
    if(isprime(x))  {puts("Prime"); return;}
    minn=INF;
    Pollord_Rho(x);
    printf("%lld\n",minn);
}
int main()
{
    freopen("cin.in","r",stdin);
    freopen("cout.out","w",stdout);
    T=read();
    while(T--){ll x=read();solve(x);}
    return 0;    
}


yersinia -G打不开图形化界面解决方案(曲线救国,实操可行) 附Kali 2021 VMware懒人版,已完成汉化,更新源,并已经安装yersinia。ping 114.114.114.114也不通,接着ifconfig发现 IP地址有的,然后手动配置了IP地址,发现还是Ping不通114.11.4.114.114,然后输入。更新源后,报错源无法解析,同时ping www.baidu.com也不通,那可能是DNS存在问题,更新一下DNS服务器。百度找了很久,有个回答比较接近,但一一尝试了几遍,还是无解,解决不了呀!•(2)Yersinia编译的时候,要选择gtk。 阅读详情

相关推荐

Java开发者必看:WPS Office在线预览接入实战(含回调配置避坑指南)

本文为Java开发者提供了WPS Office在线预览功能的完整接入实战指南。详细解析了从服务申请、生成带签名的访问URL,到实现核心回调接口(文件信息、用户信息、文件保存)的全流程,并重点分享了签名算法与回调配置中的关键避坑点,帮助开发者高效集成,提升Web应用文档处理体验。

vodka的博客 1329

POJ 1811(Prime Test)素数

题目链接:https://vjudge.net/problem/POJ-1811题意:给出一个数N(2 &lt;= N &lt; 2 54),判断N是否是素数,如果是素数,直接输出"Prime",反之,输出N的最小质因数。由于数字很大,筛法打表肯定是不行的,所以需要用到判断素数的Miller_Rabin算法和分解质因数的Pollard_rho算法。将得到的质因数存在一个数组factor...

Eknight123的博客 668

2021-8-14 EDK II编译

2021-8-14 EDK II 编译为什么要写这篇文章新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入 为什么要写这篇文章 你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdo

qq_45775660的博客 2948

poj1811(Miller-Rabin素数测试,大数因式分解 Pollard_rho)

poj1811 问:给定的x(2 <= x < 2^54)是否为素数,如果不是就找出x的最小质因子。 方法:Miller-Rabin 和 Pollard_rho; 证明转载 Miller-Rabin素数测试算法 用于检测一个大数(sqrt(N) > 10^9)是否为素数(大概率)。 将费马定理和二次探测定理结合:在二次探测的同时又验证费马定理。 我们将重复(20–50)次下面的过程 我们先随机选一个a(或用前50个素数代替),设s,t,a^s * t = p-1(t 为奇数) 得到随机

weixin_45363113的博客 669

避坑指南:HslCommunication连接西门子PLC时常见的5个错误及解决方法(S7-1200/S1500适用)

本文详细解析了使用HslCommunication连接西门子S7-1200/S1500 PLC时常见的5个错误及解决方法,包括基础连接配置、数据块读写异常、连接闪断、防火墙与权限问题以及高级调试技巧。通过实战案例和代码示例,帮助开发者快速定位和解决连接问题,提升工业自动化项目的开发效率。

weixin_30752699的博客 397

r语言svr模型_R语言初探强化学习中的马尔可夫模型

强化学习大家这几年应该不陌生,从AlphaGo到AlphaZero让大家见识到了强化学习的力量。我们今天给大家介绍一个在强化学习中核心思维马尔可夫决策过程(MDP)。马尔科夫决策过程是基于马尔科夫论的随机动态系统的最优决策过程。它是马尔科夫过程与确定性的动态规划相结合的产物,故又称马尔科夫型随机动态规划,属于运筹学中数学规划的一个分支。今天我们给大家介绍下马尔可夫决策过程中用到一些算法以...

weixin_28994357的博客 1112

poj1811

题意:给定一个64位整数,问是否为质数,如果不是,则输出其最小因子。 分析: 经典题!! 数学题 miller_rabbin素数判定。若不是,则pollard_rho分解质因子,找到最小即可。 Miller-rabin Miller-rabin算法是一个用来快速判断一个正整数是否为素数的算法。它利用了费马小定理,即:如果p是质数,且a,p互质,那么a^(p-1) mod p恒等于1...

weixin_34247299的博客 324

Flink 作业报错——TaskManager连接不上

Flink 作业报错——TaskManager连接不上

lm223的博客 1901

poj1811 + hdu4344 (素数测试及大数分解)

这就是大素数判断和大数分解问题,具体思路详询算法导论和Matrix67的博客素数与素性测试  题目:poj 1811 prime test  思路:根据pollard rho启发式算法求出某一个非平凡因子。 #include #include #include #include #include #include #include using namespace

shiyuan的专栏 3526

PyTorch深度学习实战(47)——使用PyTorch构建Transformer模型

相较于传统模型,如循环神经网络 (RNN),Transformer 的优势在于能够理解输入和输出序列中元素之间的关系,在大语言模型 (如 ChatGPT 和 DeepSeek) 的发展中起到了关键作用,为了从零开始构建 Transformer,首先探讨自注意力机制,包括查询 (query)、键 (key) 和值 (value) 向量,以及缩放点积注意力 (SDPA)。将层归一化和残差连接集成到多头注意力层中,并与前馈层结合,构建编码器层,堆叠编码器层构建编码器,还将实现 Transformer 中的解码器。

盼小辉丶的博客 3万+

BVH2SMPL 实战笔记

BVH2SMPL 实战笔记

jacke121的专栏 843

poj1811 Prime Test 素数测试 +整数分解+分治

题目链接:http://poj.org/problem?id=1811 题目意思:给出一个数判断是否是素数,若不是素数,求出最小质因子 费马小定理:若p是素数,则有 a^(p-1) =1 (mod p ) ,       1 二次探测定理: 若p是素数,对于   0 首先是素数的测试,根据费马小定理和二次探测定理对素数进行测试 整数分解: n为待分解数, 1

三思 590

MuJoCo XLA (MJX) 强化学习人形机器人四足机器人入门教程(三)

MJX 是用 JAX 编写的 MuJoCo 实现,可以在 GPU/TPU 上进行大批量训练。在本笔记本中,我们将演示如何使用 MJX 训练 RL 策略。在开始大量 RL 工作负载之前,我们先从一个简单的示例开始!xml = """"""接下来,我们使用 MJX 将 MuJoCo 模型和数据放到 GPU 设备上。下面,我们将打印来自 MuJoCo 和 MJX 的 qpos。

2506_90492529的博客 2472

POJ 1811 Prime Test(素数测试和分解)

题目链接:http://poj.org/problem?id=1811 题意:给定一个数判断是不是素数;不是输出最小的素因子。 思路:millerRabin判断是不是素数;pollard分解。 i64 Gcd(i64 x,i64 y) { return !y?x:Gcd(y,x%y); } i64 binMultip(i64 a,i64 b,i64 m...

weixin_34129145的博客 219

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

android 蓝牙通讯demo

android 下蓝牙通讯demo,实现了发现蓝牙,使能蓝牙,通过蓝牙发送消息。

poj1811 Prime Test,随机素数测试

Prime Test Time Limit: 6000MS   Memory Limit: 65536K Total Submissions: 24514   Accepted: 5730 Case Time Limit: 4000MS Description Given a big integer number, you are

天亮说晚安 2674

visio安装包

Microsoft Office Visio 是一款专业的制图软件。利用经过更新的形状、协作工具和数据链接图表,创建专业级图表以简化复杂的信息。

poj 1811 Prime Test【 随机素数测试与大数分解】

Prime Test Time Limit: 6000MS Memory Limit: 65536K Total Submissions: 29925 Accepted: 7631 Case Time Limit: 4000MS DescriptionGiven a big integer number, you are required to find out wh

mfcheer 925

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

POJ 1811 Prime Test 素数测试

#include #include #include #include #include #include using namespace std; #define lint __int64 lint ans; lint gcd(lint a,lint b) { if ( b == 0 ) return a; return gcd ( b, a % b ); }

799

POJ 1811 Prime Test --- Miller 素数测试

SOL:学下那个算法就OK了。。。 此题向我这么写只能用C++交,要不就RE,POJ 不让那么写随机数。 #include #include #include #include #include #include using namespace std; const int S = 8;//随即算法判定 long long mult_mod(long long a,

imut zcy,I promise You. 823

poj 1811 Prime Test 大数素数测试模板

Prime Test Time Limit: 6000MS   Memory Limit: 65536K Total Submissions: 37752   Accepted: 10155 Case Time Limit: 4000MS Description Given a big integer number, you are required to ...

Sean 345

POJ1811 Prime Test miller_rabin素数测试+pollard_rho整数分解

题目链接:http://poj.org/problem?id=1811 题目大意:给定一个大整数(2^54内),判断是否为素数:若为素数,输出primes;否则找出该数的最小质因子。 分析:大整数的素数测试用Miller_Rabin测试,分解时可用Pollard-rho大整数分解,然后找出最小的因子即可。 实现代码如下: #include #include

AC_Gibson的专栏 753

POJ1811-Prime Test-素数测试+Pollard rho因数分解

题意: 给你一个数n(n 参考:先用miller_rubin素数测试判断是否为素数,是则用Pollard rho因数分解得到最小素因子 以下代码是网上找的,前面的稳定在1S+,后面的1/3概率TLE,但是run time 稳定在500S 稳定1S+代码: #include #include #include typedef __int64 LL; int T; LL

缺氧 724

poj 1811 Prime Test 大数素数测试+大数因子分解

Prime Test Time Limit:6000MS Memory Limit:65536K Total Submissions:27129 Accepted:6713 Case Time Limit:4000MS Description Given a big integer number, you are ...

weixin_34082177的博客 158

POJ1811_Prime Test【Miller Rabin素数测试】【Pollar Rho整数分解】

题目大意:T组数据,对于输入的N,若N为素数,输出“Prime”,否则输出N的最小素因子 思路:因为N的规模为2^54所以普通的素性判断果断过不了。要用Miller Rabin素数测试来做。 而若N不为素数,则需要对N进行素因子分解。因为N为大数,考虑用Pollar Rho整数分解来做。

程序员充电站(itcharge) 2230

poj1811 Prime Test Pollard_rho法+miller素数测试法

题意很简单,给你一个数会很大 但是小于2^54,问你这个数是不是素数,是的话输出Prime,不是 输出它最小的素因子 数很大  所以素数测试  要用到 Miller素数测试法,算法是 miller_rabin,直接套模版就可以,分解大数因子用Pollard_rho法, http://hi.baidu.com/yangchenhao/item/29f475d492ef424efb5768bd 

shaonianguai 1049

Poj 1811 Prime Test 素数测试 Miller-Rabin 与 整数的因子分解 Pollard rho

随机化算法,想尝试自己写一下,最后还是变成了抄代码。。。 代码参考了:POJ 1811 Prime Test(大素数判断和素因子分解) - kuangbin - 博客园 学习链接: Miller-Rabin素数测试学习小计 - 将狼踩尽 19891101 - 博客园 数论部分第一节:素数与素性测试 Miller_Rabin素数测试[Fermat小定理][二次探测定理][同余式

whyorwhnt的专栏 1468

POJ-1811 Prime Test(Miller_Rabin素数测试&&Pollard_rho整数分解)

题意:给定一个数N (2 <= N < 254).判断其是否是素数,是输出"Prime",否则输出N的最小质因数。 思路:N很大,需要用Miller_Rabin素数测试法和Pollard_rho整数分解法,当模板用了。 题目链接:http://poj.org/problem?id=1811 View Code 1 /***************...

bancaidun1539的博客 185
上一篇: 【bzoj3667】Rabin-Miller算法 素数测试
下一篇: 【bzoj2480】Mod 离散对数
chty_syq
博客等级 码龄10年 33粉丝 172原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值