archery.c: In function 'main':
archery.c:17:16: error: expected declaration specifiers or '...' before string constant
17 | void scanf("%d %d", &N, &R);
| ^~~~~~~
archery.c:17:25: error: expected declaration specifiers or '...' before '&' token
17 | void scanf("%d %d", &N, &R);
| ^
archery.c:17:29: error: expected declaration specifiers or '...' before '&' token
17 | void scanf("%d %d", &N, &R);
| ^
archery.c:20:16: error: expected declaration specifiers or '...' before string constant
20 | void scanf("%d", &minhaClassificacao);
| ^~~~
archery.c:20:22: error: expected declaration specifiers or '...' before '&' token
20 | void scanf("%d", &minhaClassificacao);
| ^
archery.c:24:20: error: expected declaration specifiers or '...' before string constant
24 | void scanf("%d", &competitorRanks[i]);
| ^~~~
archery.c:24:26: error: expected declaration specifiers or '...' before '&' token
24 | void scanf("%d", &competitorRanks[i]);
| ^
archery.c:16:12: warning: unused variable 'R' [-Wunused-variable]
16 | int N, R;
| ^