#include <bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int K;
cin >> K;
int B[K];
for(int i=0;i<K;i++) cin >> B[i];
if(K == 1) cout << B[0] << '\n';
else if(K <= 10) cout << 10*B[0] << '\n';
else if(K <= 100) cout << 100*B[0] << '\n';
else if(K <= 1000) cout << 1000*B[0] << '\n';
else if(K <= 10000) cout << 10000*B[0] << '\n';
else cout << 100000*B[0] << '\n';
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
260 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
204 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
256 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
204 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |