Answer the question
In order to leave comments, you need to log in
How to compare arrays in C?
I solve one problem there I use arrays: int a[] = {26, 13, 19, 14, 14, 17, 20, 15, 15, 15,18,10,14};
int b[] = {17, 15, 11, 16, 15, 18, 20, 17, 16, 17,12,12}; I need to compare them to display which array is greater or they are equal. I just started learning C. What you need for this is a link to the task: https://acmp.ru/index.asp?main=task&id_task=61
Answer the question
In order to leave comments, you need to log in
Look at the condition and examples at your own link:
the winner is determined by the sum of points.
You do not need to compare arrays, but their sums.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question