17482022-12-02 18:28:42levente19Késéscpp11Wrong answer 0/5028ms5944 KiB
#include <bits/stdc++.h>
#define gyorsan ios::sync_with_stdio(0);cin.tie(0)

using namespace std;

int main() {
    gyorsan;

    int idopill;
    vector<int> evsz;

    cin >> idopill;

    for(int i = 0; i < idopill; i++) {
        int ev;
        cin >> ev;
        evsz.push_back(ev);
    }

    for(int i = 1; i < evsz.size(); i++) {
        if(evsz[i] == evsz[0]) {
            cout << i+1 << endl;
            break;
        }
    }

    return 0;
}
SubtaskSumTestVerdictTimeMemory
base0/50
1Accepted0/03ms1736 KiB
2Wrong answer0/04ms2256 KiB
3Wrong answer0/52ms2064 KiB
4Wrong answer0/52ms2260 KiB
5Wrong answer0/519ms4624 KiB
6Wrong answer0/519ms4832 KiB
7Wrong answer0/425ms5136 KiB
8Wrong answer0/425ms4984 KiB
9Wrong answer0/425ms4976 KiB
10Wrong answer0/425ms5296 KiB
11Wrong answer0/425ms5240 KiB
12Wrong answer0/228ms5248 KiB
13Wrong answer0/228ms5520 KiB
14Wrong answer0/128ms5412 KiB
15Wrong answer0/128ms5672 KiB
16Wrong answer0/128ms5608 KiB
17Wrong answer0/128ms5944 KiB
18Wrong answer0/128ms5824 KiB
19Wrong answer0/128ms5820 KiB