Home > Back-end >  Of the new consult; How is that wrong?
Of the new consult; How is that wrong?

Time:09-26


consult

CodePudding user response:

Your code input and output only one sample, and the topic request multiple sample
Change
While (the scanf (" % d ", & amp; N)==1) {
//for the first line of your code to the printf here
}
If the topic request finally unified output change the sum to array, each row corresponding calculation results in the sum array element, the last cycle print the sum array,
  • Related