早教吧 育儿知识 作业答案 考试题库 百科 知识分享

为什么在北大poj1845上不能AC?结果明明正确,它却提示编译错误.北大poj1845DescriptionConsidertwonaturalnumbersAandB.LetSbethesumofallnaturaldivisorsofA^B.DetermineSmodulo9901(therestofthedivisionofSby

题目详情
为什么在北大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