我把一份代码放到自己学校的OJ上提交,显示CE
Compile Error
g++: internal compiler error: File size limit exceeded (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
有大佬说一下这是什么问题吗?
我的代码:
#include<iostream>
#include<stdio.h>
using namespace std;
const int mod=1000003;
int t,ta,tb;
int f[1000011]={1,1};
int pow(int xa,int ya){
int base=xa,temp=ya,all=1;
while(temp>0){
if(temp&1)
all=(long long)(all%mod*base%mod)%mod;
base=(long long)(base%mod*base%mod)%mod;
temp>>=1;
}
return all;
}
void begin(){
for(int i=1;i<=1000000;i++){
f[i]=(f[i-1]%mod*i%mod)%mod;
}
}
int main(){
begin();
cin>>t;
for(int i=1;i<=t;i++){
cin>>ta>>tb;
int box=(f[ta]%mod*pow(f[tb]*f[ta-tb]%mod,mod-2)%mod)%mod;
cout<<"Case "<<i<<":"<<box%mod<<endl;
}
return 0;
}