olympic.c: In function 'main':
olympic.c:16:79: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
16 | if (gg[i] > gg[i_] || gg[i] == gg[i_] && (ss[i] > ss[i_] || ss[i] == ss[i_] && bb[i] > bb[i_]))
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
olympic.c:16:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
16 | if (gg[i] > gg[i_] || gg[i] == gg[i_] && (ss[i] > ss[i_] || ss[i] == ss[i_] && bb[i] > bb[i_]))
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
olympic.c:9:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | scanf("%d%d", &n, &i_), i_--;
| ^~~~~~~~~~~~~~~~~~~~~~
olympic.c:11:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | scanf("%d", &i), i--;
| ^~~~~~~~~~~~~~~
olympic.c:12:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%d%d%d", &gg[i], &ss[i], &bb[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~