#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(B[0] == 0) cout << "1";
if(K == 1) cout << B[0] << '\n';
else if(K <= 10) cout << B[0] << "0\n";
else if(K <= 100) cout << B[0] << "00\n";
else if(K <= 1000) cout << B[0] << "000\n";
else if(K <= 10000) cout << B[0] << "0000\n";
else cout << B[0] << "00000\n";
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
204 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
204 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
204 KB |
Output is correct |
2 |
Incorrect |
2 ms |
332 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
204 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |