69262023-12-20 08:15:36Spurr007Decimáliacpp17Wrong answer 0/1009ms5952 KiB
#include <iostream>
#include <cmath>
using namespace std;

int main()
{
    long long int n, sum=0;
    cin>>n;
    int t[n];
    for(int i=0; i<n; i++)
    {
        cin>>t[i];
    }

    for(int i=0; i<n; i++)
        sum=sum+t[i]*pow(10, i);
    cout<<sum/(pow(10, n-1));
    for(int i=0; i<n-1; i++)
    {
        cout<<"0";
    }

    return 0;
}

SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer3ms1940 KiB
2Wrong answer3ms2132 KiB
3Wrong answer3ms2376 KiB
subtask20/25
4Wrong answer3ms2588 KiB
5Wrong answer3ms2944 KiB
6Wrong answer3ms3088 KiB
7Wrong answer3ms3072 KiB
8Wrong answer3ms3200 KiB
subtask30/26
9Wrong answer3ms3412 KiB
10Wrong answer3ms3496 KiB
11Wrong answer3ms3492 KiB
12Wrong answer3ms3684 KiB
13Wrong answer3ms3804 KiB
14Wrong answer3ms4096 KiB
15Wrong answer3ms4096 KiB
16Wrong answer3ms4292 KiB
subtask40/19
17Wrong answer3ms4400 KiB
18Wrong answer3ms4228 KiB
19Wrong answer3ms4480 KiB
20Wrong answer3ms4600 KiB
subtask50/30
21Wrong answer9ms5584 KiB
22Wrong answer9ms5656 KiB
23Wrong answer9ms5904 KiB
24Wrong answer9ms5936 KiB
25Wrong answer9ms5952 KiB
26Wrong answer9ms5948 KiB
27Wrong answer8ms5608 KiB
28Wrong answer3ms5064 KiB