#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int n,ossz=0,x;
cin>>n;
int d[n];
for(int i=0;i<n;i++)
cin>>d[i];
for(int i=0;i<n;i++)
ossz+=d[i]*pow(10,i);
x=ossz/pow(10,n-1);
cout<<x*pow(10,n-1);
return 0;
}
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 3ms | 1940 KiB | ||||
2 | Accepted | 3ms | 2188 KiB | ||||
3 | Wrong answer | 3ms | 2392 KiB | ||||
subtask2 | 0/25 | ||||||
4 | Accepted | 3ms | 2644 KiB | ||||
5 | Wrong answer | 3ms | 2692 KiB | ||||
6 | Wrong answer | 3ms | 2640 KiB | ||||
7 | Wrong answer | 3ms | 2644 KiB | ||||
8 | Wrong answer | 3ms | 2668 KiB | ||||
subtask3 | 0/26 | ||||||
9 | Wrong answer | 3ms | 2744 KiB | ||||
10 | Wrong answer | 3ms | 2868 KiB | ||||
11 | Wrong answer | 3ms | 3080 KiB | ||||
12 | Wrong answer | 3ms | 3352 KiB | ||||
13 | Wrong answer | 3ms | 3308 KiB | ||||
14 | Wrong answer | 3ms | 3340 KiB | ||||
15 | Wrong answer | 3ms | 3452 KiB | ||||
16 | Wrong answer | 3ms | 3688 KiB | ||||
subtask4 | 0/19 | ||||||
17 | Wrong answer | 3ms | 3896 KiB | ||||
18 | Wrong answer | 3ms | 4016 KiB | ||||
19 | Wrong answer | 3ms | 4128 KiB | ||||
20 | Wrong answer | 3ms | 4320 KiB | ||||
subtask5 | 0/30 | ||||||
21 | Wrong answer | 6ms | 5020 KiB | ||||
22 | Wrong answer | 6ms | 5148 KiB | ||||
23 | Wrong answer | 4ms | 5136 KiB | ||||
24 | Wrong answer | 6ms | 5120 KiB | ||||
25 | Wrong answer | 6ms | 5128 KiB | ||||
26 | Wrong answer | 6ms | 5264 KiB | ||||
27 | Wrong answer | 4ms | 5236 KiB | ||||
28 | Wrong answer | 3ms | 4712 KiB |