作业帮 > 综合 > 作业

为什么在北大poj 1845上不能AC?结果明明正确,它却提示编译错误.

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/10/01 10:54:51
为什么在北大poj 1845上不能AC?结果明明正确,它却提示编译错误.
北大poj 1845
Description
Consider two natural numbers A and B.Let S be the sum of all natural divisors of A^B.Determine S modulo 9901 (the rest of the division of S by 9901).
Input
The only line contains the two natural numbers A and B,(0 x>>y)
{
int n=pow(x,y);
int sum=0;
for(int i=1;i
因为0