23062023-01-10 07:35:14gkataKövek (100 pont)cpp17Wrong answer 7/10026ms3608 KiB
#include <iostream>

using namespace std;

int n,i,a,s,sz;

int main()
{
    cin>>n;
    for(i=1;i<=n;++i)
    {
        cin>>a;
        s+=a;
    }
    sz=s/n/2;

    cout<<sz;

    return 0;
}
SubtaskSumTestVerdictTimeMemory
base7/100
1Accepted0/03ms1744 KiB
2Wrong answer0/026ms1908 KiB
3Wrong answer0/52ms2244 KiB
4Wrong answer0/52ms2324 KiB
5Wrong answer0/52ms2572 KiB
6Wrong answer0/52ms2716 KiB
7Wrong answer0/52ms2924 KiB
8Wrong answer0/52ms3124 KiB
9Accepted7/72ms3332 KiB
10Wrong answer0/72ms3480 KiB
11Wrong answer0/82ms3348 KiB
12Wrong answer0/82ms3344 KiB
13Wrong answer0/83ms3340 KiB
14Wrong answer0/84ms3436 KiB
15Wrong answer0/89ms3404 KiB
16Wrong answer0/823ms3560 KiB
17Wrong answer0/826ms3608 KiB