69272023-12-20 08:40:47Spurr007Decimáliacpp17Wrong answer 0/1009ms5028 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);
    int x=sum/(pow(10, n-1));
    cout<<x;
    for(int i=0; i<n-1; i++)
    {
        cout<<"0";
    }

    return 0;
}
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Accepted3ms1872 KiB
2Accepted3ms2128 KiB
3Accepted3ms2364 KiB
subtask20/25
4Wrong answer3ms2548 KiB
5Wrong answer3ms2764 KiB
6Wrong answer3ms2876 KiB
7Wrong answer3ms3080 KiB
8Wrong answer3ms3284 KiB
subtask30/26
9Wrong answer3ms3256 KiB
10Wrong answer3ms3496 KiB
11Wrong answer3ms3840 KiB
12Wrong answer3ms3860 KiB
13Wrong answer3ms3896 KiB
14Accepted3ms3880 KiB
15Wrong answer3ms3956 KiB
16Wrong answer3ms3880 KiB
subtask40/19
17Wrong answer3ms3812 KiB
18Wrong answer3ms4056 KiB
19Wrong answer3ms4060 KiB
20Wrong answer3ms4024 KiB
subtask50/30
21Wrong answer9ms4792 KiB
22Wrong answer9ms4792 KiB
23Wrong answer9ms4900 KiB
24Wrong answer9ms5028 KiB
25Wrong answer9ms5000 KiB
26Wrong answer9ms5008 KiB
27Wrong answer8ms4772 KiB
28Wrong answer3ms4228 KiB