68472023-12-19 10:59:10L3ONDecimáliacpp17Wrong answer 0/1006ms4720 KiB
#include <iostream>
#include <cmath>

using namespace std;

int main()
{
    int N, osszeg=0;
    cin>>N;

    int penz[N];
    for (int i=1;i<N;i++)
    {
        cin>>penz[i];
    }

    for (int i=1;i<N;i++)
    {
        osszeg+=penz[i]*pow(10, i);
    }

    cout<<osszeg<<endl;

    return 0;
}
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer3ms2024 KiB
2Wrong answer3ms2172 KiB
3Wrong answer3ms2320 KiB
subtask20/25
4Accepted3ms2360 KiB
5Wrong answer3ms2492 KiB
6Wrong answer3ms2544 KiB
7Wrong answer3ms2696 KiB
8Wrong answer3ms2836 KiB
subtask30/26
9Wrong answer3ms3040 KiB
10Wrong answer3ms3128 KiB
11Wrong answer3ms3260 KiB
12Wrong answer3ms3484 KiB
13Wrong answer3ms3644 KiB
14Wrong answer3ms3732 KiB
15Wrong answer3ms3628 KiB
16Wrong answer3ms3624 KiB
subtask40/19
17Wrong answer3ms3624 KiB
18Wrong answer3ms3684 KiB
19Wrong answer3ms3836 KiB
20Wrong answer3ms3808 KiB
subtask50/30
21Wrong answer6ms4468 KiB
22Wrong answer6ms4456 KiB
23Wrong answer6ms4584 KiB
24Wrong answer6ms4600 KiB
25Wrong answer6ms4576 KiB
26Wrong answer6ms4720 KiB
27Wrong answer4ms4412 KiB
28Wrong answer3ms3876 KiB