/* * Solution Template for Distincto's Raffle * * Australian Informatics Olympiad 2023 * * This file is provided to assist with reading of input and writing of output * for the problem. You may modify this file however you wish, or * you may choose not to use this file at all. */ #include /* N is the number of competitors. */ int N; /* Competitors all submit a number between 1 and K inclusive. */ int K; /* numbers contains the submitted numbers. */ int numbers[100005]; int answer; int main(void) { /* Read the values of N, K and the submitted numbers. */ scanf("%d%d", &N, &K); for (int i = 0; i < N; i++) { scanf("%d", &numbers[i]); } /* * TODO: This is where you should compute your solution. Store the winning * number, or -1 if there is no winning number, into the variable answer. */ /* Write the answer. */ printf("%d\n", answer); return 0; }