#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;
}
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Wrong answer | 3ms | 1940 KiB | ||||
2 | Wrong answer | 3ms | 2132 KiB | ||||
3 | Wrong answer | 3ms | 2376 KiB | ||||
subtask2 | 0/25 | ||||||
4 | Wrong answer | 3ms | 2588 KiB | ||||
5 | Wrong answer | 3ms | 2944 KiB | ||||
6 | Wrong answer | 3ms | 3088 KiB | ||||
7 | Wrong answer | 3ms | 3072 KiB | ||||
8 | Wrong answer | 3ms | 3200 KiB | ||||
subtask3 | 0/26 | ||||||
9 | Wrong answer | 3ms | 3412 KiB | ||||
10 | Wrong answer | 3ms | 3496 KiB | ||||
11 | Wrong answer | 3ms | 3492 KiB | ||||
12 | Wrong answer | 3ms | 3684 KiB | ||||
13 | Wrong answer | 3ms | 3804 KiB | ||||
14 | Wrong answer | 3ms | 4096 KiB | ||||
15 | Wrong answer | 3ms | 4096 KiB | ||||
16 | Wrong answer | 3ms | 4292 KiB | ||||
subtask4 | 0/19 | ||||||
17 | Wrong answer | 3ms | 4400 KiB | ||||
18 | Wrong answer | 3ms | 4228 KiB | ||||
19 | Wrong answer | 3ms | 4480 KiB | ||||
20 | Wrong answer | 3ms | 4600 KiB | ||||
subtask5 | 0/30 | ||||||
21 | Wrong answer | 9ms | 5584 KiB | ||||
22 | Wrong answer | 9ms | 5656 KiB | ||||
23 | Wrong answer | 9ms | 5904 KiB | ||||
24 | Wrong answer | 9ms | 5936 KiB | ||||
25 | Wrong answer | 9ms | 5952 KiB | ||||
26 | Wrong answer | 9ms | 5948 KiB | ||||
27 | Wrong answer | 8ms | 5608 KiB | ||||
28 | Wrong answer | 3ms | 5064 KiB |