# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
43315 | 2018-03-13T13:35:54 Z | shihabsarar29 | Sequence (BOI14_sequence) | C++14 | 2 ms | 352 KB |
#include<bits/stdc++.h> using namespace std; int A[200000]; int main() { int K,i; scanf("%d",&K); for(i=0;i<K;i++) scanf("%d",&A[i]); i=0; if(K==1) printf("%d\n",A[i]); else if(K<=10) printf("%d\n",A[i]*10); else if(K<=100) printf("%d\n",A[i]*100); else if(K<=1000) printf("%d\n",A[i]*1000); else if(K<=10000) printf("%d\n",A[i]*10000); else if(K<=100000) printf("%d\n",A[i]*100000); }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 248 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 352 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 352 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 352 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |