We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
printf("A(x):"); sa = 0; fa = readP(terms, input1, sa); // readP는 읽은 개수를 반환했기 때문에 배열 주소는 arr[개수 - 1]임 for (int i = sa; i < fa; i++) printf("%d^%d + ", terms[i].coef, terms[i].expon); printf("B(x):"); sb = fa; fb = readP(terms, input2, sb); for (int i = sb; i < fb; i++) printf("%d^%d + ", terms[i].coef, terms[i].expon); sc = fb; while ((sa <= fa) && (sb <= fb)) { ....
//위에서 fa -1, fb -1 안 하는걸로 바꿨다고 치고 ㅇㅇ int isAEnd = sa > fa ? 1: 0; int isBEnd = sb > fb ? 1: 0; if(isAEnd && isBend) break; if(isAEnd) //C에 B만 더해주기 if(isBEnd) //C에 A만 더해주기 int bigCoef = COMPARE(terms[sa].expon, terms[sb].expon); switch(bigCoed){ case -1: //C에 B만 더해주기 .... }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
pb1
The text was updated successfully, but these errors were encountered: