摘要:
//这题是很基础的题目!但上级比赛时忽略了一点,总是导致wrong,哎!遗憾!!#includeusing namespace std;#defineMAX 10000 int main(){int cy[MAX];int num1,num2; cy[0]=0; cy[1]=1;for(int i=2;i>num1>>num2){ int max=0; if(num1max) max=cy[i]; } } else{ for(int i=num2;imax) max=cy[i]; } } cout<<num1<<" "<< 阅读全文