# include using namespace std; Int main () { Int m, n, I, j=0, jishu [100]={0}, oushu [100]={0}; While (cin & gt;> M & gt;> N) { For (I=m; i !=n + 1; I++) { If ((i& 1)==0) Oushu [j] +=I * I; The else Jishu [j] +=I * I * I; } j++; } For (I=0; i !=j; I++) cout return 0; }
CodePudding user response:
Program is not complicated, you should consider whether there is a dead loop, while not out here
CodePudding user response:
Because For (I=m; i !=n + 1; I++) If m initial value is greater than or equal to n't exit the loop