#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;
}
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Wrong answer | 3ms | 2024 KiB | ||||
2 | Wrong answer | 3ms | 2172 KiB | ||||
3 | Wrong answer | 3ms | 2320 KiB | ||||
subtask2 | 0/25 | ||||||
4 | Accepted | 3ms | 2360 KiB | ||||
5 | Wrong answer | 3ms | 2492 KiB | ||||
6 | Wrong answer | 3ms | 2544 KiB | ||||
7 | Wrong answer | 3ms | 2696 KiB | ||||
8 | Wrong answer | 3ms | 2836 KiB | ||||
subtask3 | 0/26 | ||||||
9 | Wrong answer | 3ms | 3040 KiB | ||||
10 | Wrong answer | 3ms | 3128 KiB | ||||
11 | Wrong answer | 3ms | 3260 KiB | ||||
12 | Wrong answer | 3ms | 3484 KiB | ||||
13 | Wrong answer | 3ms | 3644 KiB | ||||
14 | Wrong answer | 3ms | 3732 KiB | ||||
15 | Wrong answer | 3ms | 3628 KiB | ||||
16 | Wrong answer | 3ms | 3624 KiB | ||||
subtask4 | 0/19 | ||||||
17 | Wrong answer | 3ms | 3624 KiB | ||||
18 | Wrong answer | 3ms | 3684 KiB | ||||
19 | Wrong answer | 3ms | 3836 KiB | ||||
20 | Wrong answer | 3ms | 3808 KiB | ||||
subtask5 | 0/30 | ||||||
21 | Wrong answer | 6ms | 4468 KiB | ||||
22 | Wrong answer | 6ms | 4456 KiB | ||||
23 | Wrong answer | 6ms | 4584 KiB | ||||
24 | Wrong answer | 6ms | 4600 KiB | ||||
25 | Wrong answer | 6ms | 4576 KiB | ||||
26 | Wrong answer | 6ms | 4720 KiB | ||||
27 | Wrong answer | 4ms | 4412 KiB | ||||
28 | Wrong answer | 3ms | 3876 KiB |