QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#76133 | #5236. Wersja dla profesjonalistów [A] | Appleblue17 | 10 ✓ | 4ms | 3936kb | C++14 | 607b | 2023-02-07 20:01:24 | 2023-02-07 20:01:27 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
const long long N=2e5+5;
string cal(string S,long long x){
if(!x) return "";
if(x==1) return S;
if(x>9) return "9["+cal(S,x/9)+"]"+cal(S,x%9);
else{
if(S.size()>1) return to_string(x)+"["+S+"]";
else return to_string(x)+S;
}
}
string solve(long long n){
string S;
if(n==1) return "FB";
if(n%2==0) return cal("F",n)+cal("BD",n-1)+"B"+solve(n-1);
long long m=(n-1)/2;
return cal("F",n)+cal(cal("B",m+1)+cal("DF",m)+"D",m)+cal("BD",m)+"B"+cal(solve(m),2);
}
int main(){
long long n;
cin>>n;
cout<<solve(n)+cal("D",n);
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 1
Accepted
Test #1:
score: 1
Accepted
time: 0ms
memory: 3280kb
input:
1
output:
FBD
result:
ok correct (length = 3)
Test #2:
score: 0
Accepted
time: 0ms
memory: 3384kb
input:
2
output:
2FBDBFB2D
result:
ok correct (length = 13)
Test #3:
score: 0
Accepted
time: 0ms
memory: 3352kb
input:
4
output:
4F3[BD]B3F2BDFDBDB2[FB]4D
result:
ok correct (length = 30)
Test #4:
score: 0
Accepted
time: 2ms
memory: 3332kb
input:
5
output:
5F2[3B2[DF]D]2[BD]B2[2FBDBFB]5D
result:
ok correct (length = 43)
Test #5:
score: 0
Accepted
time: 2ms
memory: 3404kb
input:
6
output:
6F5[BD]B5F2[3B2[DF]D]2[BD]B2[2FBDBFB]6D
result:
ok correct (length = 53)
Test #6:
score: 0
Accepted
time: 0ms
memory: 3484kb
input:
7
output:
7F3[4B3[DF]D]3[BD]B2[3F2BDFDBDB2[FB]]7D
result:
ok correct (length = 53)
Test #7:
score: 0
Accepted
time: 1ms
memory: 3464kb
input:
10
output:
9[F]F9[BD]B9F4[5B4[DF]D]4[BD]B2[4F3[BD]B3F2BDFDBDB2[FB]]9[D]D
result:
ok correct (length = 79)
Test #8:
score: 0
Accepted
time: 2ms
memory: 3408kb
input:
69
output:
9[7F]6F9[3[9[3B]8B9[3[DF]]7[DF]D]]7[9[3B]8B9[3[DF]]7[DF]D]9[3[BD]]7[BD]B2[9[3F]7F9[3[BD]]6[BD]B9[3F]6F9[9[B]8B9[DF]7[DF]D]7[9[B]8B9[DF]7[DF]D]9[BD]7[BD]B2[9[F]7F9[BD]6[BD]B9[F]6F7[8B7[DF]D]7[BD]B2[7F3[4B3[DF]D]3[BD]B2[3F2BDFDBDB2[FB]]]]]9[7D]6D
result:
ok correct (length = 277)
Test #9:
score: 0
Accepted
time: 2ms
memory: 3340kb
input:
100
output:
9[9[F]2F]F9[9[BD]2[BD]]B9[9[F]2F]9[5[9[5B]5B9[5[DF]]4[DF]D]]4[9[5B]5B9[5[DF]]4[DF]D]9[5[BD]]4[BD]B2[9[5F]4F9[2[9[2B]7B9[2[DF]]6[DF]D]]6[9[2B]7B9[2[DF]]6[DF]D]9[2[BD]]6[BD]B2[9[2F]6F9[2[BD]]5[BD]B9[2F]5F9[9[B]3B9[DF]2[DF]D]2[9[B]3B9[DF]2[DF]D]9[BD]2[BD]B2[9[F]2F5[6B5[DF]D]5[BD]B2[5F2[3B2[DF]D]2[BD]B2...
result:
ok correct (length = 312)
Test #10:
score: 0
Accepted
time: 2ms
memory: 3360kb
input:
101
output:
9[9[F]2F]2F9[5[9[5B]6B9[5[DF]]5[DF]D]]5[9[5B]6B9[5[DF]]5[DF]D]9[5[BD]]5[BD]B2[9[5F]5F9[5[BD]]4[BD]B9[5F]4F9[2[9[2B]7B9[2[DF]]6[DF]D]]6[9[2B]7B9[2[DF]]6[DF]D]9[2[BD]]6[BD]B2[9[2F]6F9[2[BD]]5[BD]B9[2F]5F9[9[B]3B9[DF]2[DF]D]2[9[B]3B9[DF]2[DF]D]9[BD]2[BD]B2[9[F]2F5[6B5[DF]D]5[BD]B2[5F2[3B2[DF]D]2[BD]B2[...
result:
ok correct (length = 321)
Test #11:
score: 0
Accepted
time: 0ms
memory: 3344kb
input:
250
output:
9[9[3F]]7F9[9[3[BD]]]6[BD]B9[9[3F]]6F9[9[9[9[B]4B]8B9[9[DF]4[DF]]7[DF]D]4[9[9[B]4B]8B9[9[DF]4[DF]]7[DF]D]]7[9[9[B]4B]8B9[9[DF]4[DF]]7[DF]D]9[9[BD]4[BD]]7[BD]B2[9[9[F]4F]7F9[9[BD]4[BD]]6[BD]B9[9[F]4F]6F9[6[9[6B]8B9[6[DF]]7[DF]D]]7[9[6B]8B9[6[DF]]7[DF]D]9[6[BD]]7[BD]B2[9[6F]7F9[3[9[3B]4B9[3[DF]]3[DF]D...
result:
ok correct (length = 526)
Test #12:
score: 0
Accepted
time: 1ms
memory: 3476kb
input:
251
output:
9[9[3F]]8F9[9[9[9[B]5B]9[9[DF]4[DF]]8[DF]D]4[9[9[B]5B]9[9[DF]4[DF]]8[DF]D]]8[9[9[B]5B]9[9[DF]4[DF]]8[DF]D]9[9[BD]4[BD]]8[BD]B2[9[9[F]4F]8F9[6[9[7B]9[6[DF]]8[DF]D]]8[9[7B]9[6[DF]]8[DF]D]9[6[BD]]8[BD]B2[9[6F]8F9[6[BD]]7[BD]B9[6F]7F9[3[9[3B]4B9[3[DF]]3[DF]D]]3[9[3B]4B9[3[DF]]3[DF]D]9[3[BD]]3[BD]B2[9[3F...
result:
ok correct (length = 456)
Test #13:
score: 0
Accepted
time: 2ms
memory: 3476kb
input:
252
output:
9[9[3F]F]9[9[3[BD]]]8[BD]B9[9[3F]]8F9[9[9[9[B]5B]9[9[DF]4[DF]]8[DF]D]4[9[9[B]5B]9[9[DF]4[DF]]8[DF]D]]8[9[9[B]5B]9[9[DF]4[DF]]8[DF]D]9[9[BD]4[BD]]8[BD]B2[9[9[F]4F]8F9[6[9[7B]9[6[DF]]8[DF]D]]8[9[7B]9[6[DF]]8[DF]D]9[6[BD]]8[BD]B2[9[6F]8F9[6[BD]]7[BD]B9[6F]7F9[3[9[3B]4B9[3[DF]]3[DF]D]]3[9[3B]4B9[3[DF]]3...
result:
ok correct (length = 479)
Test #14:
score: 0
Accepted
time: 2ms
memory: 3360kb
input:
299
output:
9[9[3F]6F]2F9[9[9[9[B]7B]6B9[9[DF]7[DF]]5[DF]D]7[9[9[B]7B]6B9[9[DF]7[DF]]5[DF]D]]5[9[9[B]7B]6B9[9[DF]7[DF]]5[DF]D]9[9[BD]7[BD]]5[BD]B2[9[9[F]7F]5F9[8[9[8B]3B9[8[DF]]2[DF]D]]2[9[8B]3B9[8[DF]]2[DF]D]9[8[BD]]2[BD]B2[9[8F]2F9[8[BD]]BDB9[8F]F9[4[9[4B]B9[4[DF]]D]]9[4[BD]]B2[9[4F]9[3[BD]]8[BD]B9[3F]8F9[9[2...
result:
ok correct (length = 486)
Test #15:
score: 0
Accepted
time: 1ms
memory: 3340kb
input:
300
output:
9[9[3F]6F]3F9[9[3[BD]]6[BD]]2[BD]B9[9[3F]6F]2F9[9[9[9[B]7B]6B9[9[DF]7[DF]]5[DF]D]7[9[9[B]7B]6B9[9[DF]7[DF]]5[DF]D]]5[9[9[B]7B]6B9[9[DF]7[DF]]5[DF]D]9[9[BD]7[BD]]5[BD]B2[9[9[F]7F]5F9[8[9[8B]3B9[8[DF]]2[DF]D]]2[9[8B]3B9[8[DF]]2[DF]D]9[8[BD]]2[BD]B2[9[8F]2F9[8[BD]]BDB9[8F]F9[4[9[4B]B9[4[DF]]D]]9[4[BD]]...
result:
ok correct (length = 515)
Subtask #2:
score: 1
Accepted
Test #16:
score: 1
Accepted
time: 2ms
memory: 3488kb
input:
320
output:
9[9[3F]8F]5F9[9[3[BD]]8[BD]]4[BD]B9[9[3F]8F]4F9[9[9[9[B]8B]7B9[9[DF]8[DF]]6[DF]D]8[9[9[B]8B]7B9[9[DF]8[DF]]6[DF]D]]6[9[9[B]8B]7B9[9[DF]8[DF]]6[DF]D]9[9[BD]8[BD]]6[BD]B2[9[9[F]8F]6F9[8[9[8B]8B9[8[DF]]7[DF]D]]7[9[8B]8B9[8[DF]]7[DF]D]9[8[BD]]7[BD]B2[9[8F]7F9[4[9[4B]4B9[4[DF]]3[DF]D]]3[9[4B]4B9[4[DF]]3[...
result:
ok correct (length = 555)
Test #17:
score: 0
Accepted
time: 2ms
memory: 3336kb
input:
321
output:
9[9[3F]8F]6F9[9[9[9[B]8B]8B9[9[DF]8[DF]]7[DF]D]8[9[9[B]8B]8B9[9[DF]8[DF]]7[DF]D]]7[9[9[B]8B]8B9[9[DF]8[DF]]7[DF]D]9[9[BD]8[BD]]7[BD]B2[9[9[F]8F]7F9[9[BD]8[BD]]6[BD]B9[9[F]8F]6F9[8[9[8B]8B9[8[DF]]7[DF]D]]7[9[8B]8B9[8[DF]]7[DF]D]9[8[BD]]7[BD]B2[9[8F]7F9[4[9[4B]4B9[4[DF]]3[DF]D]]3[9[4B]4B9[4[DF]]3[DF]D...
result:
ok correct (length = 507)
Test #18:
score: 0
Accepted
time: 2ms
memory: 3500kb
input:
1000
output:
9[9[9[F]3F]3F]F9[9[9[BD]3[BD]]3[BD]]B9[9[9[F]3F]3F]9[9[6[9[9[6B]B]5B9[9[6[DF]]DF]4[DF]D]]9[9[6B]B]5B9[9[6[DF]]DF]4[DF]D]4[9[9[6B]B]5B9[9[6[DF]]DF]4[DF]D]9[9[6[BD]]BD]4[BD]B2[9[9[6F]F]4F9[9[3[9[9[3B]]7B9[9[3[DF]]]6[DF]D]]]6[9[9[3B]]7B9[9[3[DF]]]6[DF]D]9[9[3[BD]]]6[BD]B2[9[9[3F]]6F9[9[9[9[B]4B]8B9[9[D...
result:
ok correct (length = 809)
Test #19:
score: 0
Accepted
time: 1ms
memory: 3364kb
input:
1024
output:
9[9[9[F]3F]5F]7F9[9[9[BD]3[BD]]5[BD]]6[BD]B9[9[9[F]3F]5F]6F9[9[6[9[9[6B]2B]8B9[9[6[DF]]2[DF]]7[DF]D]]2[9[9[6B]2B]8B9[9[6[DF]]2[DF]]7[DF]D]]7[9[9[6B]2B]8B9[9[6[DF]]2[DF]]7[DF]D]9[9[6[BD]]2[BD]]7[BD]B2[9[9[6F]2F]7F9[9[3[9[9[3B]B]4B9[9[3[DF]]DF]3[DF]D]]9[9[3B]B]4B9[9[3[DF]]DF]3[DF]D]3[9[9[3B]B]4B9[9[3[...
result:
ok correct (length = 663)
Test #20:
score: 0
Accepted
time: 1ms
memory: 3312kb
input:
1235
output:
9[9[9[F]6F]2F]2F9[9[7[9[9[7B]5B]6B9[9[7[DF]]5[DF]]5[DF]D]]5[9[9[7B]5B]6B9[9[7[DF]]5[DF]]5[DF]D]]5[9[9[7B]5B]6B9[9[7[DF]]5[DF]]5[DF]D]9[9[7[BD]]5[BD]]5[BD]B2[9[9[7F]5F]5F9[9[3[9[9[3B]7B]3B9[9[3[DF]]7[DF]]2[DF]D]]7[9[9[3B]7B]3B9[9[3[DF]]7[DF]]2[DF]D]]2[9[9[3B]7B]3B9[9[3[DF]]7[DF]]2[DF]D]9[9[3[BD]]7[BD...
result:
ok correct (length = 934)
Test #21:
score: 0
Accepted
time: 0ms
memory: 3512kb
input:
4094
output:
9[9[9[5F]5F]4F]8F9[9[9[5[BD]]5[BD]]4[BD]]7[BD]B9[9[9[5F]5F]4F]7F9[9[9[2[9[9[9[2B]7B]2B]4B9[9[9[2[DF]]7[DF]]2[DF]]3[DF]D]]7[9[9[9[2B]7B]2B]4B9[9[9[2[DF]]7[DF]]2[DF]]3[DF]D]]2[9[9[9[2B]7B]2B]4B9[9[9[2[DF]]7[DF]]2[DF]]3[DF]D]]3[9[9[9[2B]7B]2B]4B9[9[9[2[DF]]7[DF]]2[DF]]3[DF]D]9[9[9[2[BD]]7[BD]]2[BD]]3[B...
result:
ok correct (length = 1296)
Test #22:
score: 0
Accepted
time: 2ms
memory: 3368kb
input:
4095
output:
9[9[9[5F]5F]5F]9[9[9[2[9[9[9[2B]7B]2B]5B9[9[9[2[DF]]7[DF]]2[DF]]4[DF]D]]7[9[9[9[2B]7B]2B]5B9[9[9[2[DF]]7[DF]]2[DF]]4[DF]D]]2[9[9[9[2B]7B]2B]5B9[9[9[2[DF]]7[DF]]2[DF]]4[DF]D]]4[9[9[9[2B]7B]2B]5B9[9[9[2[DF]]7[DF]]2[DF]]4[DF]D]9[9[9[2[BD]]7[BD]]2[BD]]4[BD]B2[9[9[9[2F]7F]2F]4F9[9[9[9[9[9[B]3B]5B]7B9[9[9...
result:
ok correct (length = 1027)
Test #23:
score: 0
Accepted
time: 1ms
memory: 3348kb
input:
4096
output:
9[9[9[5F]5F]5F]F9[9[9[5[BD]]5[BD]]5[BD]]B9[9[9[5F]5F]5F]9[9[9[2[9[9[9[2B]7B]2B]5B9[9[9[2[DF]]7[DF]]2[DF]]4[DF]D]]7[9[9[9[2B]7B]2B]5B9[9[9[2[DF]]7[DF]]2[DF]]4[DF]D]]2[9[9[9[2B]7B]2B]5B9[9[9[2[DF]]7[DF]]2[DF]]4[DF]D]]4[9[9[9[2B]7B]2B]5B9[9[9[2[DF]]7[DF]]2[DF]]4[DF]D]9[9[9[2[BD]]7[BD]]2[BD]]4[BD]B2[9[9...
result:
ok correct (length = 1056)
Test #24:
score: 0
Accepted
time: 2ms
memory: 3348kb
input:
4097
output:
9[9[9[5F]5F]5F]2F9[9[9[2[9[9[9[2B]7B]2B]6B9[9[9[2[DF]]7[DF]]2[DF]]5[DF]D]]7[9[9[9[2B]7B]2B]6B9[9[9[2[DF]]7[DF]]2[DF]]5[DF]D]]2[9[9[9[2B]7B]2B]6B9[9[9[2[DF]]7[DF]]2[DF]]5[DF]D]]5[9[9[9[2B]7B]2B]6B9[9[9[2[DF]]7[DF]]2[DF]]5[DF]D]9[9[9[2[BD]]7[BD]]2[BD]]5[BD]B2[9[9[9[2F]7F]2F]5F9[9[9[2[BD]]7[BD]]2[BD]]4...
result:
ok correct (length = 933)
Test #25:
score: 0
Accepted
time: 2ms
memory: 3436kb
input:
4998
output:
9[9[9[6F]7F]6F]3F9[9[9[6[BD]]7[BD]]6[BD]]2[BD]B9[9[9[6F]7F]6F]2F9[9[9[3[9[9[9[3B]3B]7B]6B9[9[9[3[DF]]3[DF]]7[DF]]5[DF]D]]3[9[9[9[3B]3B]7B]6B9[9[9[3[DF]]3[DF]]7[DF]]5[DF]D]]7[9[9[9[3B]3B]7B]6B9[9[9[3[DF]]3[DF]]7[DF]]5[DF]D]]5[9[9[9[3B]3B]7B]6B9[9[9[3[DF]]3[DF]]7[DF]]5[DF]D]9[9[9[3[BD]]3[BD]]7[BD]]5[B...
result:
ok correct (length = 1662)
Test #26:
score: 0
Accepted
time: 2ms
memory: 3376kb
input:
4999
output:
9[9[9[6F]7F]6F]4F9[9[9[3[9[9[9[3B]3B]7B]7B9[9[9[3[DF]]3[DF]]7[DF]]6[DF]D]]3[9[9[9[3B]3B]7B]7B9[9[9[3[DF]]3[DF]]7[DF]]6[DF]D]]7[9[9[9[3B]3B]7B]7B9[9[9[3[DF]]3[DF]]7[DF]]6[DF]D]]6[9[9[9[3B]3B]7B]7B9[9[9[3[DF]]3[DF]]7[DF]]6[DF]D]9[9[9[3[BD]]3[BD]]7[BD]]6[BD]B2[9[9[9[3F]3F]7F]6F9[9[9[9[9[9[B]6B]3B]8B9[9...
result:
ok correct (length = 1391)
Test #27:
score: 0
Accepted
time: 2ms
memory: 3356kb
input:
5000
output:
9[9[9[6F]7F]6F]5F9[9[9[6[BD]]7[BD]]6[BD]]4[BD]B9[9[9[6F]7F]6F]4F9[9[9[3[9[9[9[3B]3B]7B]7B9[9[9[3[DF]]3[DF]]7[DF]]6[DF]D]]3[9[9[9[3B]3B]7B]7B9[9[9[3[DF]]3[DF]]7[DF]]6[DF]D]]7[9[9[9[3B]3B]7B]7B9[9[9[3[DF]]3[DF]]7[DF]]6[DF]D]]6[9[9[9[3B]3B]7B]7B9[9[9[3[DF]]3[DF]]7[DF]]6[DF]D]9[9[9[3[BD]]3[BD]]7[BD]]6[B...
result:
ok correct (length = 1427)
Subtask #3:
score: 1
Accepted
Test #28:
score: 1
Accepted
time: 2ms
memory: 3456kb
input:
1000000
output:
9[9[9[9[9[9[F]7F]8F]3F]6F]6F]F9[9[9[9[9[9[BD]7[BD]]8[BD]]3[BD]]6[BD]]6[BD]]B9[9[9[9[9[9[F]7F]8F]3F]6F]6F]9[9[9[9[9[8[9[9[9[9[9[8B]4B]B]7B]7B]5B9[9[9[9[9[8[DF]]4[DF]]DF]7[DF]]7[DF]]4[DF]D]]4[9[9[9[9[9[8B]4B]B]7B]7B]5B9[9[9[9[9[8[DF]]4[DF]]DF]7[DF]]7[DF]]4[DF]D]]9[9[9[9[9[8B]4B]B]7B]7B]5B9[9[9[9[9[8[D...
result:
ok correct (length = 3639)
Test #29:
score: 0
Accepted
time: 2ms
memory: 3380kb
input:
999998
output:
9[9[9[9[9[9[F]7F]8F]3F]6F]5F]8F9[9[9[9[9[9[BD]7[BD]]8[BD]]3[BD]]6[BD]]5[BD]]7[BD]B9[9[9[9[9[9[F]7F]8F]3F]6F]5F]7F9[9[9[9[9[8[9[9[9[9[9[8B]4B]B]7B]7B]4B9[9[9[9[9[8[DF]]4[DF]]DF]7[DF]]7[DF]]3[DF]D]]4[9[9[9[9[9[8B]4B]B]7B]7B]4B9[9[9[9[9[8[DF]]4[DF]]DF]7[DF]]7[DF]]3[DF]D]]9[9[9[9[9[8B]4B]B]7B]7B]4B9[9[9...
result:
ok correct (length = 3998)
Test #30:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
524286
output:
9[9[9[9[9[8F]7F]8F]F]6F]9[9[9[9[9[8[BD]]7[BD]]8[BD]]BD]5[BD]]8[BD]B9[9[9[9[9[8F]7F]8F]F]5F]8F9[9[9[9[9[4[9[9[9[9[9[4B]3B]8B]5B]3B]9[9[9[9[9[4[DF]]3[DF]]8[DF]]5[DF]]2[DF]]8[DF]D]]3[9[9[9[9[9[4B]3B]8B]5B]3B]9[9[9[9[9[4[DF]]3[DF]]8[DF]]5[DF]]2[DF]]8[DF]D]]8[9[9[9[9[9[4B]3B]8B]5B]3B]9[9[9[9[9[4[DF]]3[DF...
result:
ok correct (length = 4435)
Test #31:
score: 0
Accepted
time: 2ms
memory: 3368kb
input:
524288
output:
9[9[9[9[9[8F]7F]8F]F]6F]2F9[9[9[9[9[8[BD]]7[BD]]8[BD]]BD]6[BD]]BDB9[9[9[9[9[8F]7F]8F]F]6F]F9[9[9[9[9[4[9[9[9[9[9[4B]3B]8B]5B]3B]B9[9[9[9[9[4[DF]]3[DF]]8[DF]]5[DF]]3[DF]]D]]3[9[9[9[9[9[4B]3B]8B]5B]3B]B9[9[9[9[9[4[DF]]3[DF]]8[DF]]5[DF]]3[DF]]D]]8[9[9[9[9[9[4B]3B]8B]5B]3B]B9[9[9[9[9[4[DF]]3[DF]]8[DF]]5...
result:
ok correct (length = 3385)
Test #32:
score: 0
Accepted
time: 2ms
memory: 3448kb
input:
524290
output:
9[9[9[9[9[8F]7F]8F]F]6F]4F9[9[9[9[9[8[BD]]7[BD]]8[BD]]BD]6[BD]]3[BD]B9[9[9[9[9[8F]7F]8F]F]6F]3F9[9[9[9[9[4[9[9[9[9[9[4B]3B]8B]5B]3B]2B9[9[9[9[9[4[DF]]3[DF]]8[DF]]5[DF]]3[DF]]DFD]]3[9[9[9[9[9[4B]3B]8B]5B]3B]2B9[9[9[9[9[4[DF]]3[DF]]8[DF]]5[DF]]3[DF]]DFD]]8[9[9[9[9[9[4B]3B]8B]5B]3B]2B9[9[9[9[9[4[DF]]3[...
result:
ok correct (length = 3262)
Test #33:
score: 0
Accepted
time: 2ms
memory: 3408kb
input:
786429
output:
9[9[9[9[9[9[F]4F]2F]7F]7F]]9[9[9[9[9[6[9[9[9[9[9[6B]5B]8B]3B]4B]5B9[9[9[9[9[6[DF]]5[DF]]8[DF]]3[DF]]4[DF]]4[DF]D]]5[9[9[9[9[9[6B]5B]8B]3B]4B]5B9[9[9[9[9[6[DF]]5[DF]]8[DF]]3[DF]]4[DF]]4[DF]D]]8[9[9[9[9[9[6B]5B]8B]3B]4B]5B9[9[9[9[9[6[DF]]5[DF]]8[DF]]3[DF]]4[DF]]4[DF]D]]3[9[9[9[9[9[6B]5B]8B]3B]4B]5B9[9...
result:
ok correct (length = 4370)
Test #34:
score: 0
Accepted
time: 3ms
memory: 3376kb
input:
786431
output:
9[9[9[9[9[9[F]4F]2F]7F]7F]]2F9[9[9[9[9[6[9[9[9[9[9[6B]5B]8B]3B]4B]6B9[9[9[9[9[6[DF]]5[DF]]8[DF]]3[DF]]4[DF]]5[DF]D]]5[9[9[9[9[9[6B]5B]8B]3B]4B]6B9[9[9[9[9[6[DF]]5[DF]]8[DF]]3[DF]]4[DF]]5[DF]D]]8[9[9[9[9[9[6B]5B]8B]3B]4B]6B9[9[9[9[9[6[DF]]5[DF]]8[DF]]3[DF]]4[DF]]5[DF]D]]3[9[9[9[9[9[6B]5B]8B]3B]4B]6B9...
result:
ok correct (length = 3562)
Test #35:
score: 0
Accepted
time: 1ms
memory: 3528kb
input:
951557
output:
9[9[9[9[9[9[F]7F]F]]2F]5F]5F9[9[9[9[9[8[9[9[9[9[9[8B]]4B]5B]7B]3B9[9[9[9[9[8[DF]]]4[DF]]5[DF]]7[DF]]2[DF]D]]]4[9[9[9[9[9[8B]]4B]5B]7B]3B9[9[9[9[9[8[DF]]]4[DF]]5[DF]]7[DF]]2[DF]D]]5[9[9[9[9[9[8B]]4B]5B]7B]3B9[9[9[9[9[8[DF]]]4[DF]]5[DF]]7[DF]]2[DF]D]]7[9[9[9[9[9[8B]]4B]5B]7B]3B9[9[9[9[9[8[DF]]]4[DF]]5...
result:
ok correct (length = 4718)
Test #36:
score: 0
Accepted
time: 2ms
memory: 3376kb
input:
838702
output:
9[9[9[9[9[9[F]5F]F]7F]4F]3F]F9[9[9[9[9[9[BD]5[BD]]BD]7[BD]]4[BD]]3[BD]]B9[9[9[9[9[9[F]5F]F]7F]4F]3F]9[9[9[9[9[7[9[9[9[9[9[7B]]8B]2B]B]5B9[9[9[9[9[7[DF]]]8[DF]]2[DF]]DF]4[DF]D]]]8[9[9[9[9[9[7B]]8B]2B]B]5B9[9[9[9[9[7[DF]]]8[DF]]2[DF]]DF]4[DF]D]]2[9[9[9[9[9[7B]]8B]2B]B]5B9[9[9[9[9[7[DF]]]8[DF]]2[DF]]DF...
result:
ok correct (length = 4235)
Subtask #4:
score: 1
Accepted
Test #37:
score: 1
Accepted
time: 2ms
memory: 3432kb
input:
999999
output:
9[9[9[9[9[9[F]7F]8F]3F]6F]6F]9[9[9[9[9[8[9[9[9[9[9[8B]4B]B]7B]7B]5B9[9[9[9[9[8[DF]]4[DF]]DF]7[DF]]7[DF]]4[DF]D]]4[9[9[9[9[9[8B]4B]B]7B]7B]5B9[9[9[9[9[8[DF]]4[DF]]DF]7[DF]]7[DF]]4[DF]D]]9[9[9[9[9[8B]4B]B]7B]7B]5B9[9[9[9[9[8[DF]]4[DF]]DF]7[DF]]7[DF]]4[DF]D]7[9[9[9[9[9[8B]4B]B]7B]7B]5B9[9[9[9[9[8[DF]]4...
result:
ok correct (length = 3585)
Test #38:
score: 0
Accepted
time: 2ms
memory: 3400kb
input:
999997
output:
9[9[9[9[9[9[F]7F]8F]3F]6F]5F]7F9[9[9[9[9[8[9[9[9[9[9[8B]4B]B]7B]7B]4B9[9[9[9[9[8[DF]]4[DF]]DF]7[DF]]7[DF]]3[DF]D]]4[9[9[9[9[9[8B]4B]B]7B]7B]4B9[9[9[9[9[8[DF]]4[DF]]DF]7[DF]]7[DF]]3[DF]D]]9[9[9[9[9[8B]4B]B]7B]7B]4B9[9[9[9[9[8[DF]]4[DF]]DF]7[DF]]7[DF]]3[DF]D]7[9[9[9[9[9[8B]4B]B]7B]7B]4B9[9[9[9[9[8[DF]...
result:
ok correct (length = 3895)
Test #39:
score: 0
Accepted
time: 2ms
memory: 3452kb
input:
524287
output:
9[9[9[9[9[8F]7F]8F]F]6F]F9[9[9[9[9[4[9[9[9[9[9[4B]3B]8B]5B]3B]B9[9[9[9[9[4[DF]]3[DF]]8[DF]]5[DF]]3[DF]]D]]3[9[9[9[9[9[4B]3B]8B]5B]3B]B9[9[9[9[9[4[DF]]3[DF]]8[DF]]5[DF]]3[DF]]D]]8[9[9[9[9[9[4B]3B]8B]5B]3B]B9[9[9[9[9[4[DF]]3[DF]]8[DF]]5[DF]]3[DF]]D]]5[9[9[9[9[9[4B]3B]8B]5B]3B]B9[9[9[9[9[4[DF]]3[DF]]8[...
result:
ok correct (length = 3337)
Test #40:
score: 0
Accepted
time: 2ms
memory: 3384kb
input:
524289
output:
9[9[9[9[9[8F]7F]8F]F]6F]3F9[9[9[9[9[4[9[9[9[9[9[4B]3B]8B]5B]3B]2B9[9[9[9[9[4[DF]]3[DF]]8[DF]]5[DF]]3[DF]]DFD]]3[9[9[9[9[9[4B]3B]8B]5B]3B]2B9[9[9[9[9[4[DF]]3[DF]]8[DF]]5[DF]]3[DF]]DFD]]8[9[9[9[9[9[4B]3B]8B]5B]3B]2B9[9[9[9[9[4[DF]]3[DF]]8[DF]]5[DF]]3[DF]]DFD]]5[9[9[9[9[9[4B]3B]8B]5B]3B]2B9[9[9[9[9[4[D...
result:
ok correct (length = 3207)
Test #41:
score: 0
Accepted
time: 0ms
memory: 3468kb
input:
786428
output:
9[9[9[9[9[9[F]4F]2F]7F]6F]8F]8F9[9[9[9[9[9[BD]4[BD]]2[BD]]7[BD]]6[BD]]8[BD]]7[BD]B9[9[9[9[9[9[F]4F]2F]7F]6F]8F]7F9[9[9[9[9[6[9[9[9[9[9[6B]5B]8B]3B]4B]4B9[9[9[9[9[6[DF]]5[DF]]8[DF]]3[DF]]4[DF]]3[DF]D]]5[9[9[9[9[9[6B]5B]8B]3B]4B]4B9[9[9[9[9[6[DF]]5[DF]]8[DF]]3[DF]]4[DF]]3[DF]D]]8[9[9[9[9[9[6B]5B]8B]3B...
result:
ok correct (length = 4475)
Test #42:
score: 0
Accepted
time: 2ms
memory: 3472kb
input:
786430
output:
9[9[9[9[9[9[F]4F]2F]7F]7F]]F9[9[9[9[9[9[BD]4[BD]]2[BD]]7[BD]]7[BD]]]B9[9[9[9[9[9[F]4F]2F]7F]7F]]9[9[9[9[9[6[9[9[9[9[9[6B]5B]8B]3B]4B]5B9[9[9[9[9[6[DF]]5[DF]]8[DF]]3[DF]]4[DF]]4[DF]D]]5[9[9[9[9[9[6B]5B]8B]3B]4B]5B9[9[9[9[9[6[DF]]5[DF]]8[DF]]3[DF]]4[DF]]4[DF]D]]8[9[9[9[9[9[6B]5B]8B]3B]4B]5B9[9[9[9[9[6...
result:
ok correct (length = 4450)
Test #43:
score: 0
Accepted
time: 2ms
memory: 3460kb
input:
786432
output:
9[9[9[9[9[9[F]4F]2F]7F]7F]]3F9[9[9[9[9[9[BD]4[BD]]2[BD]]7[BD]]7[BD]]]2[BD]B9[9[9[9[9[9[F]4F]2F]7F]7F]]2F9[9[9[9[9[6[9[9[9[9[9[6B]5B]8B]3B]4B]6B9[9[9[9[9[6[DF]]5[DF]]8[DF]]3[DF]]4[DF]]5[DF]D]]5[9[9[9[9[9[6B]5B]8B]3B]4B]6B9[9[9[9[9[6[DF]]5[DF]]8[DF]]3[DF]]4[DF]]5[DF]D]]8[9[9[9[9[9[6B]5B]8B]3B]4B]6B9[9...
result:
ok correct (length = 3610)
Test #44:
score: 0
Accepted
time: 0ms
memory: 3452kb
input:
724171
output:
9[9[9[9[9[9[F]3F]2F]3F]3F]3F]4F9[9[9[9[9[6[9[9[9[9[9[6B]B]B]6B]B]7B9[9[9[9[9[6[DF]]DF]DF]6[DF]]DF]6[DF]D]]9[9[9[9[9[6B]B]B]6B]B]7B9[9[9[9[9[6[DF]]DF]DF]6[DF]]DF]6[DF]D]9[9[9[9[9[6B]B]B]6B]B]7B9[9[9[9[9[6[DF]]DF]DF]6[DF]]DF]6[DF]D]6[9[9[9[9[9[6B]B]B]6B]B]7B9[9[9[9[9[6[DF]]DF]DF]6[DF]]DF]6[DF]D]]9[9[9...
result:
ok correct (length = 3973)
Test #45:
score: 0
Accepted
time: 2ms
memory: 3528kb
input:
868406
output:
9[9[9[9[9[9[F]5F]6F]3F]2F]]5F9[9[9[9[9[9[BD]5[BD]]6[BD]]3[BD]]2[BD]]]4[BD]B9[9[9[9[9[9[F]5F]6F]3F]2F]]4F9[9[9[9[9[7[9[9[9[9[9[7B]3B]B]5B]4B]7B9[9[9[9[9[7[DF]]3[DF]]DF]5[DF]]4[DF]]6[DF]D]]3[9[9[9[9[9[7B]3B]B]5B]4B]7B9[9[9[9[9[7[DF]]3[DF]]DF]5[DF]]4[DF]]6[DF]D]]9[9[9[9[9[7B]3B]B]5B]4B]7B9[9[9[9[9[7[DF...
result:
ok correct (length = 3980)
Subtask #5:
score: 1
Accepted
Test #46:
score: 1
Accepted
time: 1ms
memory: 3612kb
input:
10000000000
output:
9[9[9[9[9[9[9[9[9[9[2F]7F]7F]2F]6F]6F]7F]8F]F]F]F9[9[9[9[9[9[9[9[9[9[2[BD]]7[BD]]7[BD]]2[BD]]6[BD]]6[BD]]7[BD]]8[BD]]BD]BD]B9[9[9[9[9[9[9[9[9[9[2F]7F]7F]2F]6F]6F]7F]8F]F]F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]3B]8B]B]3B]3B]3B]8B]5B]]5B9[9[9[9[9[9[9[9[9[9[DF]3[DF]]8[DF]]DF]3[DF]]3[DF]]3[DF]]8[DF...
result:
ok correct (length = 13934)
Test #47:
score: 0
Accepted
time: 2ms
memory: 3532kb
input:
9999999998
output:
9[9[9[9[9[9[9[9[9[9[2F]7F]7F]2F]6F]6F]7F]8F]F]]8F9[9[9[9[9[9[9[9[9[9[2[BD]]7[BD]]7[BD]]2[BD]]6[BD]]6[BD]]7[BD]]8[BD]]BD]]7[BD]B9[9[9[9[9[9[9[9[9[9[2F]7F]7F]2F]6F]6F]7F]8F]F]]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]3B]8B]B]3B]3B]3B]8B]5B]]4B9[9[9[9[9[9[9[9[9[9[DF]3[DF]]8[DF]]DF]3[DF]]3[DF]]3[DF]]...
result:
ok correct (length = 15092)
Test #48:
score: 0
Accepted
time: 2ms
memory: 3660kb
input:
8589934590
output:
9[9[9[9[9[9[9[9[9[9[2F]4F]F]4F]8F]4F]2F]6F]]F]6F9[9[9[9[9[9[9[9[9[9[2[BD]]4[BD]]BD]4[BD]]8[BD]]4[BD]]2[BD]]6[BD]]]BD]5[BD]B9[9[9[9[9[9[9[9[9[9[2F]4F]F]4F]8F]4F]2F]6F]]F]5F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]2B]]6B]8B]6B]5B]7B]4B]5B]3B9[9[9[9[9[9[9[9[9[9[DF]2[DF]]]6[DF]]8[DF]]6[DF]]5[DF]]7[DF]]...
result:
ok correct (length = 17408)
Test #49:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
8589934592
output:
9[9[9[9[9[9[9[9[9[9[2F]4F]F]4F]8F]4F]2F]6F]]F]8F9[9[9[9[9[9[9[9[9[9[2[BD]]4[BD]]BD]4[BD]]8[BD]]4[BD]]2[BD]]6[BD]]]BD]7[BD]B9[9[9[9[9[9[9[9[9[9[2F]4F]F]4F]8F]4F]2F]6F]]F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]2B]]6B]8B]6B]5B]7B]4B]5B]4B9[9[9[9[9[9[9[9[9[9[DF]2[DF]]]6[DF]]8[DF]]6[DF]]5[DF]]7[DF]]...
result:
ok correct (length = 13498)
Test #50:
score: 0
Accepted
time: 2ms
memory: 3508kb
input:
8589934594
output:
9[9[9[9[9[9[9[9[9[9[2F]4F]F]4F]8F]4F]2F]6F]]2F]F9[9[9[9[9[9[9[9[9[9[2[BD]]4[BD]]BD]4[BD]]8[BD]]4[BD]]2[BD]]6[BD]]]2[BD]]B9[9[9[9[9[9[9[9[9[9[2F]4F]F]4F]8F]4F]2F]6F]]2F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]2B]]6B]8B]6B]5B]7B]4B]5B]5B9[9[9[9[9[9[9[9[9[9[DF]2[DF]]]6[DF]]8[DF]]6[DF]]5[DF]]7[DF]]4[D...
result:
ok correct (length = 12997)
Test #51:
score: 0
Accepted
time: 0ms
memory: 3520kb
input:
6442450941
output:
9[9[9[9[9[9[9[9[9[9[F]7F]5F]5F]8F]5F]4F]2F]2F]3F]3F9[9[9[9[9[9[9[9[9[8[9[9[9[9[9[9[9[9[9[8B]2B]7B]4B]2B]6B]5B]5B]6B]2B9[9[9[9[9[9[9[9[9[8[DF]]2[DF]]7[DF]]4[DF]]2[DF]]6[DF]]5[DF]]5[DF]]6[DF]]DFD]]2[9[9[9[9[9[9[9[9[9[8B]2B]7B]4B]2B]6B]5B]5B]6B]2B9[9[9[9[9[9[9[9[9[8[DF]]2[DF]]7[DF]]4[DF]]2[DF]]6[DF]]5[...
result:
ok correct (length = 15685)
Test #52:
score: 0
Accepted
time: 2ms
memory: 3552kb
input:
6442450943
output:
9[9[9[9[9[9[9[9[9[9[F]7F]5F]5F]8F]5F]4F]2F]2F]3F]5F9[9[9[9[9[9[9[9[9[8[9[9[9[9[9[9[9[9[9[8B]2B]7B]4B]2B]6B]5B]5B]6B]3B9[9[9[9[9[9[9[9[9[8[DF]]2[DF]]7[DF]]4[DF]]2[DF]]6[DF]]5[DF]]5[DF]]6[DF]]2[DF]D]]2[9[9[9[9[9[9[9[9[9[8B]2B]7B]4B]2B]6B]5B]5B]6B]3B9[9[9[9[9[9[9[9[9[8[DF]]2[DF]]7[DF]]4[DF]]2[DF]]6[DF]...
result:
ok correct (length = 12812)
Test #53:
score: 0
Accepted
time: 1ms
memory: 3536kb
input:
9220943225
output:
9[9[9[9[9[9[9[9[9[9[2F]5F]7F]F]7F]7F]4F]3F]F]2F]2F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]2B]8B]]8B]3B]6B]6B]]5B]6B9[9[9[9[9[9[9[9[9[9[DF]2[DF]]8[DF]]]8[DF]]3[DF]]6[DF]]6[DF]]]5[DF]]5[DF]D]2[9[9[9[9[9[9[9[9[9[9[B]2B]8B]]8B]3B]6B]6B]]5B]6B9[9[9[9[9[9[9[9[9[9[DF]2[DF]]8[DF]]]8[DF]]3[DF]]6[DF]]6[DF]]...
result:
ok correct (length = 14047)
Test #54:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
9147465533
output:
9[9[9[9[9[9[9[9[9[9[2F]5F]5F]4F]4F]5F]F]F]6F]2F]2F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]2B]7B]2B]2B]2B]5B]]7B]5B]6B9[9[9[9[9[9[9[9[9[9[DF]2[DF]]7[DF]]2[DF]]2[DF]]2[DF]]5[DF]]]7[DF]]5[DF]]5[DF]D]2[9[9[9[9[9[9[9[9[9[9[B]2B]7B]2B]2B]2B]5B]]7B]5B]6B9[9[9[9[9[9[9[9[9[9[DF]2[DF]]7[DF]]2[DF]]2[DF]]2[DF...
result:
ok correct (length = 15129)
Subtask #6:
score: 1
Accepted
Test #55:
score: 1
Accepted
time: 2ms
memory: 3504kb
input:
9999999999
output:
9[9[9[9[9[9[9[9[9[9[2F]7F]7F]2F]6F]6F]7F]8F]F]F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]3B]8B]B]3B]3B]3B]8B]5B]]5B9[9[9[9[9[9[9[9[9[9[DF]3[DF]]8[DF]]DF]3[DF]]3[DF]]3[DF]]8[DF]]5[DF]]]4[DF]D]3[9[9[9[9[9[9[9[9[9[9[B]3B]8B]B]3B]3B]3B]8B]5B]]5B9[9[9[9[9[9[9[9[9[9[DF]3[DF]]8[DF]]DF]3[DF]]3[DF]]3[DF]]8[...
result:
ok correct (length = 13843)
Test #56:
score: 0
Accepted
time: 2ms
memory: 3496kb
input:
9999999997
output:
9[9[9[9[9[9[9[9[9[9[2F]7F]7F]2F]6F]6F]7F]8F]F]]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]3B]8B]B]3B]3B]3B]8B]5B]]4B9[9[9[9[9[9[9[9[9[9[DF]3[DF]]8[DF]]DF]3[DF]]3[DF]]3[DF]]8[DF]]5[DF]]]3[DF]D]3[9[9[9[9[9[9[9[9[9[9[B]3B]8B]B]3B]3B]3B]8B]5B]]4B9[9[9[9[9[9[9[9[9[9[DF]3[DF]]8[DF]]DF]3[DF]]3[DF]]3[DF]]8...
result:
ok correct (length = 14941)
Test #57:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
8589934591
output:
9[9[9[9[9[9[9[9[9[9[2F]4F]F]4F]8F]4F]2F]6F]]F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]2B]]6B]8B]6B]5B]7B]4B]5B]4B9[9[9[9[9[9[9[9[9[9[DF]2[DF]]]6[DF]]8[DF]]6[DF]]5[DF]]7[DF]]4[DF]]5[DF]]3[DF]D]2[9[9[9[9[9[9[9[9[9[9[B]2B]]6B]8B]6B]5B]7B]4B]5B]4B9[9[9[9[9[9[9[9[9[9[DF]2[DF]]]6[DF]]8[DF]]6[DF]]5[DF]...
result:
ok correct (length = 13425)
Test #58:
score: 0
Accepted
time: 2ms
memory: 3456kb
input:
8589934593
output:
9[9[9[9[9[9[9[9[9[9[2F]4F]F]4F]8F]4F]2F]6F]]2F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]2B]]6B]8B]6B]5B]7B]4B]5B]5B9[9[9[9[9[9[9[9[9[9[DF]2[DF]]]6[DF]]8[DF]]6[DF]]5[DF]]7[DF]]4[DF]]5[DF]]4[DF]D]2[9[9[9[9[9[9[9[9[9[9[B]2B]]6B]8B]6B]5B]7B]4B]5B]5B9[9[9[9[9[9[9[9[9[9[DF]2[DF]]]6[DF]]8[DF]]6[DF]]5[DF]]...
result:
ok correct (length = 12918)
Test #59:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
6442450940
output:
9[9[9[9[9[9[9[9[9[9[F]7F]5F]5F]8F]5F]4F]2F]2F]3F]2F9[9[9[9[9[9[9[9[9[9[BD]7[BD]]5[BD]]5[BD]]8[BD]]5[BD]]4[BD]]2[BD]]2[BD]]3[BD]]BDB9[9[9[9[9[9[9[9[9[9[F]7F]5F]5F]8F]5F]4F]2F]2F]3F]F9[9[9[9[9[9[9[9[9[8[9[9[9[9[9[9[9[9[9[8B]2B]7B]4B]2B]6B]5B]5B]6B]B9[9[9[9[9[9[9[9[9[8[DF]]2[DF]]7[DF]]4[DF]]2[DF]]6[DF]...
result:
ok correct (length = 15871)
Test #60:
score: 0
Accepted
time: 2ms
memory: 3504kb
input:
6442450942
output:
9[9[9[9[9[9[9[9[9[9[F]7F]5F]5F]8F]5F]4F]2F]2F]3F]4F9[9[9[9[9[9[9[9[9[9[BD]7[BD]]5[BD]]5[BD]]8[BD]]5[BD]]4[BD]]2[BD]]2[BD]]3[BD]]3[BD]B9[9[9[9[9[9[9[9[9[9[F]7F]5F]5F]8F]5F]4F]2F]2F]3F]3F9[9[9[9[9[9[9[9[9[8[9[9[9[9[9[9[9[9[9[8B]2B]7B]4B]2B]6B]5B]5B]6B]2B9[9[9[9[9[9[9[9[9[8[DF]]2[DF]]7[DF]]4[DF]]2[DF]]...
result:
ok correct (length = 15881)
Test #61:
score: 0
Accepted
time: 2ms
memory: 3476kb
input:
6442450944
output:
9[9[9[9[9[9[9[9[9[9[F]7F]5F]5F]8F]5F]4F]2F]2F]3F]6F9[9[9[9[9[9[9[9[9[9[BD]7[BD]]5[BD]]5[BD]]8[BD]]5[BD]]4[BD]]2[BD]]2[BD]]3[BD]]5[BD]B9[9[9[9[9[9[9[9[9[9[F]7F]5F]5F]8F]5F]4F]2F]2F]3F]5F9[9[9[9[9[9[9[9[9[8[9[9[9[9[9[9[9[9[9[8B]2B]7B]4B]2B]6B]5B]5B]6B]3B9[9[9[9[9[9[9[9[9[8[DF]]2[DF]]7[DF]]4[DF]]2[DF]]...
result:
ok correct (length = 12886)
Test #62:
score: 0
Accepted
time: 2ms
memory: 3500kb
input:
8108001050
output:
9[9[9[9[9[9[9[9[9[9[2F]2F]8F]3F]F]5F]6F]3F]4F]3F]5F9[9[9[9[9[9[9[9[9[9[2[BD]]2[BD]]8[BD]]3[BD]]BD]5[BD]]6[BD]]3[BD]]4[BD]]3[BD]]4[BD]B9[9[9[9[9[9[9[9[9[9[2F]2F]8F]3F]F]5F]6F]3F]4F]3F]4F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]B]4B]B]5B]2B]7B]6B]2B]B]7B9[9[9[9[9[9[9[9[9[9[DF]DF]4[DF]]DF]5[DF]]2[DF]]...
result:
ok correct (length = 14636)
Test #63:
score: 0
Accepted
time: 2ms
memory: 3504kb
input:
8970049853
output:
9[9[9[9[9[9[9[9[9[9[2F]5F]F]3F]3F]6F]5F]2F]F]F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]2B]5B]B]6B]3B]2B]5B]5B]B]9[9[9[9[9[9[9[9[9[9[DF]2[DF]]5[DF]]DF]6[DF]]3[DF]]2[DF]]5[DF]]5[DF]]]8[DF]D]2[9[9[9[9[9[9[9[9[9[9[B]2B]5B]B]6B]3B]2B]5B]5B]B]9[9[9[9[9[9[9[9[9[9[DF]2[DF]]5[DF]]DF]6[DF]]3[DF]]2[DF]]5[D...
result:
ok correct (length = 15947)
Subtask #7:
score: 1
Accepted
Test #64:
score: 1
Accepted
time: 2ms
memory: 3664kb
input:
100000000000000
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[4F]3F]3F]]5F]6F]4F]2F]7F]2F]7F]5F]2F]5F]F9[9[9[9[9[9[9[9[9[9[9[9[9[9[4[BD]]3[BD]]3[BD]]]5[BD]]6[BD]]4[BD]]2[BD]]7[BD]]2[BD]]7[BD]]5[BD]]2[BD]]5[BD]]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[4F]3F]3F]]5F]6F]4F]2F]7F]2F]7F]5F]2F]5F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[9[9[9[9[9[9[9[9[9[9[9[9[9...
result:
ok correct (length = 34318)
Test #65:
score: 0
Accepted
time: 3ms
memory: 3728kb
input:
99999999999998
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[4F]3F]3F]]5F]6F]4F]2F]7F]2F]7F]5F]2F]4F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[4[BD]]3[BD]]3[BD]]]5[BD]]6[BD]]4[BD]]2[BD]]7[BD]]2[BD]]7[BD]]5[BD]]2[BD]]4[BD]]7[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[4F]3F]3F]]5F]6F]4F]2F]7F]2F]7F]5F]2F]4F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[9[9[9[9[9[9[9[9[9...
result:
ok correct (length = 39029)
Test #66:
score: 0
Accepted
time: 0ms
memory: 3748kb
input:
70368744177662
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]F]3F]5F]]2F]2F]7F]5F]5F]]2F]5F9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]]6[BD]]BD]3[BD]]5[BD]]]2[BD]]2[BD]]7[BD]]5[BD]]5[BD]]]2[BD]]4[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]F]3F]5F]]2F]2F]7F]5F]5F]]2F]4F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]7B]5B]B]7...
result:
ok correct (length = 44152)
Test #67:
score: 0
Accepted
time: 2ms
memory: 3652kb
input:
70368744177664
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]F]3F]5F]]2F]2F]7F]5F]5F]]2F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]]6[BD]]BD]3[BD]]5[BD]]]2[BD]]2[BD]]7[BD]]5[BD]]5[BD]]]2[BD]]6[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]F]3F]5F]]2F]2F]7F]5F]5F]]2F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]7B]5B]B]7...
result:
ok correct (length = 35836)
Test #68:
score: 0
Accepted
time: 2ms
memory: 3600kb
input:
70368744177666
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]F]3F]5F]]2F]2F]7F]5F]5F]]3F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]]6[BD]]BD]3[BD]]5[BD]]]2[BD]]2[BD]]7[BD]]5[BD]]5[BD]]]2[BD]]8[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]F]3F]5F]]2F]2F]7F]5F]5F]]2F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]7B]5B]B]7B]...
result:
ok correct (length = 34249)
Test #69:
score: 0
Accepted
time: 2ms
memory: 3804kb
input:
52776558133245
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]2F]6F]7F]7F]F]4F]6F]2F]F]F]8F]2F]4F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]B]3B]3B]8B]]6B]7B]5B]5B]]8B]5B]6B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]DF]3[DF]]3[DF]]8[DF]]]6[DF]]7[DF]]5[DF]]5[DF]]]8[DF]]5[DF]]6[DF]]4[DF]D]9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]B]3B]3...
result:
ok correct (length = 40837)
Test #70:
score: 0
Accepted
time: 2ms
memory: 3716kb
input:
52776558133247
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]2F]6F]7F]7F]F]4F]6F]2F]F]F]8F]2F]4F]2F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]B]3B]3B]8B]]6B]7B]5B]5B]]8B]5B]6B]6B9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]DF]3[DF]]3[DF]]8[DF]]]6[DF]]7[DF]]5[DF]]5[DF]]]8[DF]]5[DF]]6[DF]]5[DF]D]9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]B]3B...
result:
ok correct (length = 33589)
Test #71:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
68630377364881
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]3[DF]D]4[9[9[9[9[9[9...
result:
ok correct (length = 39200)
Test #72:
score: 0
Accepted
time: 2ms
memory: 3584kb
input:
68630377364883
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]]]]]]]]]]]]]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]D]4[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]4B]4B]...
result:
ok correct (length = 39094)
Test #73:
score: 0
Accepted
time: 3ms
memory: 3560kb
input:
68630377364885
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]]]]]]]]]]]]]2F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]6B9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]5[DF]D]4[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]4B]4...
result:
ok correct (length = 39419)
Test #74:
score: 0
Accepted
time: 1ms
memory: 3692kb
input:
55459222121013
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]3F]7F]3F]2F]4F]8F]4F]5F]6F]3F]5F]8F]3F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]B]8B]B]5B]6B]8B]6B]7B]3B]B]7B]4B]B]8B9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]DF]8[DF]]DF]5[DF]]6[DF]]8[DF]]6[DF]]7[DF]]3[DF]]DF]7[DF]]4[DF]]DF]7[DF]D]9[9[9[9[9[9[9[9[9[9[9[9[9[9[B...
result:
ok correct (length = 40514)
Test #75:
score: 0
Accepted
time: 1ms
memory: 3752kb
input:
55459222121015
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]3F]7F]3F]2F]4F]8F]4F]5F]6F]3F]5F]8F]3F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]B]8B]B]5B]6B]8B]6B]7B]3B]B]7B]4B]2B]9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]DF]8[DF]]DF]5[DF]]6[DF]]8[DF]]6[DF]]7[DF]]3[DF]]DF]7[DF]]4[DF]]DF]8[DF]D]9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]...
result:
ok correct (length = 40216)
Test #76:
score: 0
Accepted
time: 2ms
memory: 3672kb
input:
27729611060504
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[F]F]8F]F]5F]6F]8F]6F]7F]3F]F]7F]4F]F]5F9[9[9[9[9[9[9[9[9[9[9[9[9[9[BD]BD]8[BD]]BD]5[BD]]6[BD]]8[BD]]6[BD]]7[BD]]3[BD]]BD]7[BD]]4[BD]]BD]4[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[F]F]8F]F]5F]6F]8F]6F]7F]3F]F]7F]4F]F]4F9[9[9[9[9[9[9[9[9[9[9[9[9[5[9[9[9[9[9[9[9[9[9[9[9[9[9[5B]4B]]7B...
result:
ok correct (length = 38035)
Test #77:
score: 0
Accepted
time: 2ms
memory: 3660kb
input:
27729611060506
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[F]F]8F]F]5F]6F]8F]6F]7F]3F]F]7F]4F]F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[BD]BD]8[BD]]BD]5[BD]]6[BD]]8[BD]]6[BD]]7[BD]]3[BD]]BD]7[BD]]4[BD]]BD]6[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[F]F]8F]F]5F]6F]8F]6F]7F]3F]F]7F]4F]F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[5[9[9[9[9[9[9[9[9[9[9[9[9[9[5B]4B]]7B...
result:
ok correct (length = 38008)
Test #78:
score: 0
Accepted
time: 1ms
memory: 3700kb
input:
27729611060508
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[F]F]8F]F]5F]6F]8F]6F]7F]3F]F]7F]4F]2F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[BD]BD]8[BD]]BD]5[BD]]6[BD]]8[BD]]6[BD]]7[BD]]3[BD]]BD]7[BD]]4[BD]]BD]8[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[F]F]8F]F]5F]6F]8F]6F]7F]3F]F]7F]4F]F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[5[9[9[9[9[9[9[9[9[9[9[9[9[9[5B]4B]]7B]...
result:
ok correct (length = 37993)
Test #79:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
98265127056417
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[4F]2F]5F]8F]3F]F]4F]F]8F]7F]F]7F]6F]8F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2B]B]2B]8B]6B]]6B]5B]4B]3B]5B]3B]7B]8B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[DF]]DF]2[DF]]8[DF]]6[DF]]]6[DF]]5[DF]]4[DF]]3[DF]]5[DF]]3[DF]]7[DF]]8[DF]]4[DF]D]]9[9[9[9[9[9[9[9[9[9[9[...
result:
ok correct (length = 43398)
Test #80:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
77266484892551
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]3F]3F]5F]F]7F]2F]6F]4F]8F]2F]6F]5F]6F]2F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]6B]B]7B]]8B]B]3B]2B]4B]B]3B]2B]7B]6B9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]6[DF]]DF]7[DF]]]8[DF]]DF]3[DF]]2[DF]]4[DF]]DF]3[DF]]2[DF]]7[DF]]5[DF]D]6[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]6...
result:
ok correct (length = 41192)
Test #81:
score: 0
Accepted
time: 1ms
memory: 3644kb
input:
81210899695837
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]4F]8F]4F]8F]]4F]6F]6F]2F]3F]F]3F]5F]4F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]6B]8B]6B]8B]4B]6B]7B]7B]5B]6B]]6B]2B]7B9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]6[DF]]8[DF]]6[DF]]8[DF]]4[DF]]6[DF]]7[DF]]7[DF]]5[DF]]6[DF]]]6[DF]]2[DF]]6[DF]D]6[9[9[9[9[9[9[9[9[9[9[9...
result:
ok correct (length = 28844)
Test #82:
score: 0
Accepted
time: 3ms
memory: 3660kb
input:
80190850810832
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]4F]4F]8F]3F]4F]5F]3F]7F]2F]8F]2F]]3F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]4[BD]]4[BD]]8[BD]]3[BD]]4[BD]]5[BD]]3[BD]]7[BD]]2[BD]]8[BD]]2[BD]]]3[BD]]7[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]4F]4F]8F]3F]4F]5F]3F]7F]2F]8F]2F]]3F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9...
result:
ok correct (length = 42214)
Test #83:
score: 0
Accepted
time: 1ms
memory: 3672kb
input:
70846470793836
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]7F]7F]5F]5F]F]F]]6F]7F]2F]6F]2F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]]7[BD]]7[BD]]5[BD]]5[BD]]BD]BD]]6[BD]]7[BD]]2[BD]]6[BD]]BD]8[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]7F]7F]5F]5F]F]F]]6F]7F]2F]6F]F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]8B]3B]7B]2B...
result:
ok correct (length = 35827)
Subtask #8:
score: 1
Accepted
Test #84:
score: 1
Accepted
time: 0ms
memory: 3772kb
input:
99999999999999
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[4F]3F]3F]]5F]6F]4F]2F]7F]2F]7F]5F]2F]5F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2B]B]6B]]2B]7B]6B]5B]8B]B]3B]7B]B]2B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[DF]]DF]6[DF]]]2[DF]]7[DF]]6[DF]]5[DF]]8[DF]]DF]3[DF]]7[DF]]DF]2[DF]]4[DF]D]]9[9[9[9[9[9[9[9[9[9[9[9[9[9[2...
result:
ok correct (length = 34195)
Test #85:
score: 0
Accepted
time: 2ms
memory: 3796kb
input:
99999999999997
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[4F]3F]3F]]5F]6F]4F]2F]7F]2F]7F]5F]2F]4F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2B]B]6B]]2B]7B]6B]5B]8B]B]3B]7B]B]2B]4B9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[DF]]DF]6[DF]]]2[DF]]7[DF]]6[DF]]5[DF]]8[DF]]DF]3[DF]]7[DF]]DF]2[DF]]3[DF]D]]9[9[9[9[9[9[9[9[9[9[9[9[9[9...
result:
ok correct (length = 38724)
Test #86:
score: 0
Accepted
time: 2ms
memory: 3656kb
input:
70368744177663
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]F]3F]5F]]2F]2F]7F]5F]5F]]2F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]7B]5B]B]7B]]B]B]3B]7B]2B]4B]5B]8B9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]4[DF]]7[DF]]5[DF]]DF]7[DF]]]DF]DF]3[DF]]7[DF]]2[DF]]4[DF]]5[DF]]7[DF]D]4[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]7B]5...
result:
ok correct (length = 35732)
Test #87:
score: 0
Accepted
time: 2ms
memory: 3576kb
input:
70368744177665
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]F]3F]5F]]2F]2F]7F]5F]5F]]2F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]7B]5B]B]7B]]B]B]3B]7B]2B]4B]6B]9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]4[DF]]7[DF]]5[DF]]DF]7[DF]]]DF]DF]3[DF]]7[DF]]2[DF]]4[DF]]5[DF]]8[DF]D]4[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]7B]5B]...
result:
ok correct (length = 34140)
Test #88:
score: 0
Accepted
time: 1ms
memory: 3696kb
input:
52776558133244
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]2F]6F]7F]7F]F]4F]6F]2F]F]F]8F]2F]3F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[BD]]2[BD]]6[BD]]7[BD]]7[BD]]BD]4[BD]]6[BD]]2[BD]]BD]BD]8[BD]]2[BD]]3[BD]]7[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]2F]6F]7F]7F]F]4F]6F]2F]F]F]8F]2F]3F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9...
result:
ok correct (length = 40843)
Test #89:
score: 0
Accepted
time: 2ms
memory: 3700kb
input:
52776558133246
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]2F]6F]7F]7F]F]4F]6F]2F]F]F]8F]2F]4F]F9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[BD]]2[BD]]6[BD]]7[BD]]7[BD]]BD]4[BD]]6[BD]]2[BD]]BD]BD]8[BD]]2[BD]]4[BD]]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]2F]6F]7F]7F]F]4F]6F]2F]F]F]8F]2F]4F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]B]3...
result:
ok correct (length = 41162)
Test #90:
score: 0
Accepted
time: 2ms
memory: 3640kb
input:
52776558133248
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]2F]6F]7F]7F]F]4F]6F]2F]F]F]8F]2F]4F]3F9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[BD]]2[BD]]6[BD]]7[BD]]7[BD]]BD]4[BD]]6[BD]]2[BD]]BD]BD]8[BD]]2[BD]]4[BD]]2[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]2F]6F]7F]7F]F]4F]6F]2F]F]F]8F]2F]4F]2F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9...
result:
ok correct (length = 33693)
Test #91:
score: 0
Accepted
time: 2ms
memory: 3588kb
input:
68630377364882
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]7[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[...
result:
ok correct (length = 39500)
Test #92:
score: 0
Accepted
time: 3ms
memory: 3564kb
input:
68630377364884
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]]]]]]]]]]]]]F9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]]]]]]]]]]]]]]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]]]]]]]]]]]]]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[D...
result:
ok correct (length = 39190)
Test #93:
score: 0
Accepted
time: 0ms
memory: 3756kb
input:
55459222121012
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]3F]7F]3F]2F]4F]8F]4F]5F]6F]3F]5F]8F]3F]5F9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[BD]]3[BD]]7[BD]]3[BD]]2[BD]]4[BD]]8[BD]]4[BD]]5[BD]]6[BD]]3[BD]]5[BD]]8[BD]]3[BD]]4[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]3F]7F]3F]2F]4F]8F]4F]5F]6F]3F]5F]8F]3F]4F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[...
result:
ok correct (length = 40179)
Test #94:
score: 0
Accepted
time: 2ms
memory: 3832kb
input:
55459222121014
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]3F]7F]3F]2F]4F]8F]4F]5F]6F]3F]5F]8F]3F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[BD]]3[BD]]7[BD]]3[BD]]2[BD]]4[BD]]8[BD]]4[BD]]5[BD]]6[BD]]3[BD]]5[BD]]8[BD]]3[BD]]6[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]3F]7F]3F]2F]4F]8F]4F]5F]6F]3F]5F]8F]3F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[...
result:
ok correct (length = 40833)
Test #95:
score: 0
Accepted
time: 1ms
memory: 3832kb
input:
55459222121016
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]3F]7F]3F]2F]4F]8F]4F]5F]6F]3F]5F]8F]4F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[BD]]3[BD]]7[BD]]3[BD]]2[BD]]4[BD]]8[BD]]4[BD]]5[BD]]6[BD]]3[BD]]5[BD]]8[BD]]3[BD]]8[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]3F]7F]3F]2F]4F]8F]4F]5F]6F]3F]5F]8F]3F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[...
result:
ok correct (length = 40535)
Test #96:
score: 0
Accepted
time: 2ms
memory: 3660kb
input:
27729611060505
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[F]F]8F]F]5F]6F]8F]6F]7F]3F]F]7F]4F]F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[5[9[9[9[9[9[9[9[9[9[9[9[9[9[5B]4B]]7B]3B]4B]3B]3B]6B]]8B]2B]]8B9[9[9[9[9[9[9[9[9[9[9[9[9[5[DF]]4[DF]]]7[DF]]3[DF]]4[DF]]3[DF]]3[DF]]6[DF]]]8[DF]]2[DF]]]7[DF]D]]4[9[9[9[9[9[9[9[9[9[9[9[9[9[5B]4B]]7B]3B]4B]3B]...
result:
ok correct (length = 37696)
Test #97:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
27729611060507
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[F]F]8F]F]5F]6F]8F]6F]7F]3F]F]7F]4F]F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[5[9[9[9[9[9[9[9[9[9[9[9[9[9[5B]4B]]7B]3B]4B]3B]3B]6B]]8B]2B]B]9[9[9[9[9[9[9[9[9[9[9[9[9[5[DF]]4[DF]]]7[DF]]3[DF]]4[DF]]3[DF]]3[DF]]6[DF]]]8[DF]]2[DF]]]8[DF]D]]4[9[9[9[9[9[9[9[9[9[9[9[9[9[5B]4B]]7B]3B]4B]3B]3...
result:
ok correct (length = 37674)
Test #98:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
84114608065041
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]6F]]7F]3F]7F]4F]4F]8F]7F]4F]8F]7F]2F]3F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]7B]4B]8B]B]8B]2B]2B]4B]3B]6B]8B]8B]B]2B9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]7[DF]]4[DF]]8[DF]]DF]8[DF]]2[DF]]2[DF]]4[DF]]3[DF]]6[DF]]8[DF]]8[DF]]DF]DFD]7[9[9[9[9[9[9[9[9[9[9[9[9[...
result:
ok correct (length = 40374)
Test #99:
score: 0
Accepted
time: 2ms
memory: 3784kb
input:
89212498272650
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]8F]]7F]7F]8F]]4F]F]5F]7F]6F]3F]5F]2F9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]8[BD]]]7[BD]]7[BD]]8[BD]]]4[BD]]BD]5[BD]]7[BD]]6[BD]]3[BD]]5[BD]]BDB9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]8F]]7F]7F]8F]]4F]F]5F]7F]6F]3F]5F]F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]8B]4B]8...
result:
ok correct (length = 37736)
Test #100:
score: 0
Accepted
time: 2ms
memory: 3704kb
input:
70436663494221
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]3F]5F]]3F]]5F]]F]7F]7F]2F]3F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]7B]6B]2B]4B]6B]]2B]4B]5B]3B]8B]B]2B9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]4[DF]]7[DF]]6[DF]]2[DF]]4[DF]]6[DF]]]2[DF]]4[DF]]5[DF]]3[DF]]8[DF]]DF]DFD]4[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]7...
result:
ok correct (length = 38981)
Test #101:
score: 0
Accepted
time: 2ms
memory: 3664kb
input:
80348579733871
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]4F]5F]4F]3F]6F]6F]5F]]F]]6F]F]2F]F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]6B]7B]2B]B]7B]7B]7B]]]4B]7B]5B]B]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]6[DF]]7[DF]]2[DF]]DF]7[DF]]7[DF]]7[DF]]]]4[DF]]7[DF]]5[DF]]DF]D]6[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]6B]7B]2B]B]7B]7B...
result:
ok correct (length = 36888)
Test #102:
score: 0
Accepted
time: 2ms
memory: 3632kb
input:
70184495150934
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]5F]4F]4F]6F]4F]]3F]7F]F]4F]7F]8F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]]5[BD]]4[BD]]4[BD]]6[BD]]4[BD]]]3[BD]]7[BD]]BD]4[BD]]7[BD]]8[BD]]5[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]5F]4F]4F]6F]4F]]3F]7F]F]4F]7F]8F]5F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]...
result:
ok correct (length = 41484)
Subtask #9:
score: 1
Accepted
Test #103:
score: 1
Accepted
time: 3ms
memory: 3640kb
input:
1000000000000000000
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]8F]5F]8F]3F]7F]F]4F]]6F]3F]6F]8F]2F]5F]2F]]F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6[BD]]5[BD]]8[BD]]5[BD]]8[BD]]3[BD]]7[BD]]BD]4[BD]]]6[BD]]3[BD]]6[BD]]8[BD]]2[BD]]5[BD]]2[BD]]]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]8F]5F]8F]3F]7F]F]4F]]6F]3F]6F]8F]2F]5F]2...
result:
ok correct (length = 72424)
Test #104:
score: 0
Accepted
time: 3ms
memory: 3596kb
input:
999999999999999998
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]8F]5F]8F]3F]7F]F]4F]]6F]3F]6F]8F]2F]5F]F]8F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6[BD]]5[BD]]8[BD]]5[BD]]8[BD]]3[BD]]7[BD]]BD]4[BD]]]6[BD]]3[BD]]6[BD]]8[BD]]2[BD]]5[BD]]BD]8[BD]]7[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]8F]5F]8F]3F]7F]F]4F]]6F]3F]6F]8...
result:
ok correct (length = 80372)
Test #105:
score: 0
Accepted
time: 3ms
memory: 3720kb
input:
576460752303423486
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]5F]]7F]4F]4F]F]2F]F]2F]2F]7F]7F]2F]2F]8F]3F]3F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]7[BD]]5[BD]]]7[BD]]4[BD]]4[BD]]BD]2[BD]]BD]2[BD]]2[BD]]7[BD]]7[BD]]2[BD]]2[BD]]8[BD]]3[BD]]2[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]5F]]7F]4F]4F]F]2F]F]2F]2F]7F]7F...
result:
ok correct (length = 80352)
Test #106:
score: 0
Accepted
time: 3ms
memory: 3736kb
input:
576460752303423488
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]5F]]7F]4F]4F]F]2F]F]2F]2F]7F]7F]2F]2F]8F]3F]5F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]7[BD]]5[BD]]]7[BD]]4[BD]]4[BD]]BD]2[BD]]BD]2[BD]]2[BD]]7[BD]]7[BD]]2[BD]]2[BD]]8[BD]]3[BD]]4[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]5F]]7F]4F]4F]F]2F]F]2F]2F]7F]7F...
result:
ok correct (length = 65085)
Test #107:
score: 0
Accepted
time: 3ms
memory: 3664kb
input:
576460752303423490
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]5F]]7F]4F]4F]F]2F]F]2F]2F]7F]7F]2F]2F]8F]3F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]7[BD]]5[BD]]]7[BD]]4[BD]]4[BD]]BD]2[BD]]BD]2[BD]]2[BD]]7[BD]]7[BD]]2[BD]]2[BD]]8[BD]]3[BD]]6[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]5F]]7F]4F]4F]F]2F]F]2F]2F]7F]7F...
result:
ok correct (length = 62945)
Test #108:
score: 0
Accepted
time: 3ms
memory: 3788kb
input:
864691128455135229
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]6F]7F]5F]6F]6F]6F]F]7F]6F]3F]4F]2F]6F]3F]4F]3F]5F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2B]7B]8B]2B]7B]7B]7B]5B]3B]7B]6B]2B]B]3B]B]6B]6B]2B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[DF]]7[DF]]8[DF]]2[DF]]7[DF]]7[DF]]7[DF]]5[DF]...
result:
ok correct (length = 82128)
Test #109:
score: 0
Accepted
time: 3ms
memory: 3840kb
input:
864691128455135231
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]6F]7F]5F]6F]6F]6F]F]7F]6F]3F]4F]2F]6F]3F]4F]3F]5F]2F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2B]7B]8B]2B]7B]7B]7B]5B]3B]7B]6B]2B]B]3B]B]6B]6B]2B]6B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[DF]]7[DF]]8[DF]]2[DF]]7[DF]]7[DF]]7[DF]]5[D...
result:
ok correct (length = 68487)
Test #110:
score: 0
Accepted
time: 3ms
memory: 3768kb
input:
450283905890997361
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]...
result:
ok correct (length = 77534)
Test #111:
score: 0
Accepted
time: 3ms
memory: 3892kb
input:
450283905890997363
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]]]]]]]]]]]]]]]]]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]...
result:
ok correct (length = 76964)
Test #112:
score: 0
Accepted
time: 4ms
memory: 3744kb
input:
450283905890997365
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]]]]]]]]]]]]]]]]]2F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]6B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[DF...
result:
ok correct (length = 77384)
Test #113:
score: 0
Accepted
time: 3ms
memory: 3688kb
input:
766668286600904005
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]]8F]6F]5F]8F]3F]F]F]F]8F]7F]3F]5F]]8F]5F]4F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2B]4B]8B]7B]7B]4B]B]5B]]5B]4B]3B]6B]2B]4B]8B]7B]2B]4B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[DF]]4[DF]]8[DF]]7[DF]]7[DF]]4[DF]]DF]5[DF]]]5[DF]]...
result:
ok correct (length = 84224)
Test #114:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
766668286600904007
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]]8F]6F]5F]8F]3F]F]F]F]8F]7F]3F]5F]]8F]5F]5F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2B]4B]8B]7B]7B]4B]B]5B]]5B]4B]3B]6B]2B]4B]8B]7B]2B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[DF]]4[DF]]8[DF]]7[DF]]7[DF]]4[DF]]DF]5[DF]]]5[DF]]4[...
result:
ok correct (length = 83719)
Test #115:
score: 0
Accepted
time: 4ms
memory: 3924kb
input:
127778047766817332
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[7F]5F]8F]5F]4F]3F]4F]6F]F]7F]4F]2F]]7F]5F]8F]3F]5F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[7[BD]]5[BD]]8[BD]]5[BD]]4[BD]]3[BD]]4[BD]]6[BD]]BD]7[BD]]4[BD]]2[BD]]]7[BD]]5[BD]]8[BD]]3[BD]]4[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[7F]5F]8F]5F]4F]3F]4F]6F]F]7F]4F]2F]]7F]5F]8F]3F]...
result:
ok correct (length = 72337)
Test #116:
score: 0
Accepted
time: 3ms
memory: 3860kb
input:
127778047766817334
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[7F]5F]8F]5F]4F]3F]4F]6F]F]7F]4F]2F]]7F]5F]8F]3F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[7[BD]]5[BD]]8[BD]]5[BD]]4[BD]]3[BD]]4[BD]]6[BD]]BD]7[BD]]4[BD]]2[BD]]]7[BD]]5[BD]]8[BD]]3[BD]]6[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[7F]5F]8F]5F]4F]3F]4F]6F]F]7F]4F]2F]]7F]5F]8F]3F]...
result:
ok correct (length = 73223)
Test #117:
score: 0
Accepted
time: 0ms
memory: 3860kb
input:
127778047766817336
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[7F]5F]8F]5F]4F]3F]4F]6F]F]7F]4F]2F]]7F]5F]8F]4F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[7[BD]]5[BD]]8[BD]]5[BD]]4[BD]]3[BD]]4[BD]]6[BD]]BD]7[BD]]4[BD]]2[BD]]]7[BD]]5[BD]]8[BD]]3[BD]]8[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[7F]5F]8F]5F]4F]3F]4F]6F]F]7F]4F]2F]]7F]5F]8F]3F]8F...
result:
ok correct (length = 73186)
Test #118:
score: 0
Accepted
time: 3ms
memory: 3924kb
input:
63889023883408665
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]4F]2F]6F]6F]2F]3F]]8F]2F]F]]3F]7F]4F]F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]8B]2B]B]3B]3B]B]B]4B]8B]5B]5B]]B]8B]2B]]8B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]8[DF]]2[DF]]DF]3[DF]]3[DF]]DF]DF]4[DF]]8[DF]]5[DF]]5[DF]]]DF]8[DF]]2[D...
result:
ok correct (length = 68337)
Test #119:
score: 0
Accepted
time: 3ms
memory: 3784kb
input:
63889023883408667
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]4F]2F]6F]6F]2F]3F]]8F]2F]F]]3F]7F]4F]F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]8B]2B]B]3B]3B]B]B]4B]8B]5B]5B]]B]8B]2B]B]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]8[DF]]2[DF]]DF]3[DF]]3[DF]]DF]DF]4[DF]]8[DF]]5[DF]]5[DF]]]DF]8[DF]]2[DF...
result:
ok correct (length = 68720)
Test #120:
score: 0
Accepted
time: 2ms
memory: 3720kb
input:
985959861360127245
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]F]]6F]6F]2F]F]3F]5F]7F]]4F]3F]4F]5F]]3F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3B]2B]5B]]3B]3B]B]]6B]2B]8B]]2B]B]6B]7B]]B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[DF]]2[DF]]5[DF]]]3[DF]]3[DF]]DF]]6[DF]]2[DF]]8[DF]]]2[DF]]DF]...
result:
ok correct (length = 89268)
Test #121:
score: 0
Accepted
time: 3ms
memory: 3696kb
input:
985959861360127247
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]F]]6F]6F]2F]F]3F]5F]7F]]4F]3F]4F]5F]]3F]2F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3B]2B]5B]]3B]3B]B]]6B]2B]8B]]2B]B]6B]7B]]B]6B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[DF]]2[DF]]5[DF]]]3[DF]]3[DF]]DF]]6[DF]]2[DF]]8[DF]]]2[DF]]D...
result:
ok correct (length = 88310)
Test #122:
score: 0
Accepted
time: 3ms
memory: 3840kb
input:
985959861360127249
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]F]]6F]6F]2F]F]3F]5F]7F]]4F]3F]4F]5F]]3F]4F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3B]2B]5B]]3B]3B]B]]6B]2B]8B]]2B]B]6B]7B]]B]7B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[DF]]2[DF]]5[DF]]]3[DF]]3[DF]]DF]]6[DF]]2[DF]]8[DF]]]2[DF]]D...
result:
ok correct (length = 88285)
Test #123:
score: 0
Accepted
time: 3ms
memory: 3596kb
input:
916549473760286520
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]]8F]5F]5F]5F]3F]3F]2F]8F]]2F]2F]4F]]F]7F]8F]3F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6[BD]]]8[BD]]5[BD]]5[BD]]5[BD]]3[BD]]3[BD]]2[BD]]8[BD]]]2[BD]]2[BD]]4[BD]]]BD]7[BD]]8[BD]]2[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]]8F]5F]5F]5F]3F]3F]2F]8F]]2F]2F]4F]]F]7F]8F]...
result:
ok correct (length = 69190)
Test #124:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
856433460734226894
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]6F]3F]F]5F]7F]]2F]]6F]5F]5F]6F]8F]8F]6F]F]F]3F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5[BD]]6[BD]]3[BD]]BD]5[BD]]7[BD]]]2[BD]]]6[BD]]5[BD]]5[BD]]6[BD]]8[BD]]8[BD]]6[BD]]BD]BD]2[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]6F]3F]F]5F]7F]]2F]]6F]5F]5F]6F]8F]8F]6F]F]F]2...
result:
ok correct (length = 74288)
Test #125:
score: 0
Accepted
time: 3ms
memory: 3696kb
input:
901931296179276805
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]]]6F]5F]5F]3F]6F]2F]4F]4F]8F]8F]6F]3F]5F]F]F]4F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3B]]]3B]2B]7B]B]7B]5B]6B]6B]8B]8B]7B]6B]2B]5B]]7B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[DF]]]]3[DF]]2[DF]]7[DF]]DF]7[DF]]5[DF]]6[DF]]6[DF]]8[...
result:
ok correct (length = 65368)
Test #126:
score: 0
Accepted
time: 3ms
memory: 3728kb
input:
868116199581651414
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]7F]]4F]3F]4F]F]3F]3F]4F]5F]6F]6F]F]]4F]6F]5F]3F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5[BD]]7[BD]]]4[BD]]3[BD]]4[BD]]BD]3[BD]]3[BD]]4[BD]]5[BD]]6[BD]]6[BD]]BD]]4[BD]]6[BD]]5[BD]]2[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]7F]]4F]3F]4F]F]3F]3F]4F]5F]6F]6F]F]]4F]6F...
result:
ok correct (length = 80525)
Test #127:
score: 0
Accepted
time: 3ms
memory: 3648kb
input:
714918409325888175
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[4F]6F]7F]7F]2F]7F]3F]]F]3F]2F]4F]8F]7F]2F]]]]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2B]3B]3B]8B]B]3B]6B]]]6B]B]2B]4B]3B]5B]4B]4B]4B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[DF]]3[DF]]3[DF]]8[DF]]DF]3[DF]]6[DF]]]]6[DF]]DF]2[DF]]4[D...
result:
ok correct (length = 80033)
Subtask #10:
score: 1
Accepted
Test #128:
score: 1
Accepted
time: 3ms
memory: 3608kb
input:
999999999999999999
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]8F]5F]8F]3F]7F]F]4F]]6F]3F]6F]8F]2F]5F]2F]]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3B]2B]8B]7B]4B]B]8B]]6B]4B]7B]6B]3B]4B]B]2B]5B]4B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[DF]]2[DF]]8[DF]]7[DF]]4[DF]]DF]8[DF]]]6[DF]]4[DF]]7...
result:
ok correct (length = 72271)
Test #129:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
999999999999999997
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]8F]5F]8F]3F]7F]F]4F]]6F]3F]6F]8F]2F]5F]F]8F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3B]2B]8B]7B]4B]B]8B]]6B]4B]7B]6B]3B]4B]B]2B]5B]4B]4B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[DF]]2[DF]]8[DF]]7[DF]]4[DF]]DF]8[DF]]]6[DF]]4[DF...
result:
ok correct (length = 79956)
Test #130:
score: 0
Accepted
time: 1ms
memory: 3676kb
input:
576460752303423487
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]5F]]7F]4F]4F]F]2F]F]2F]2F]7F]7F]2F]2F]8F]3F]4F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]8B]2B]4B]8B]2B]2B]]5B]5B]B]B]3B]8B]B]B]4B]B]7B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]8[DF]]2[DF]]4[DF]]8[DF]]2[DF]]2[DF]]]5[DF]]5[DF]]DF]D...
result:
ok correct (length = 64956)
Test #131:
score: 0
Accepted
time: 3ms
memory: 3604kb
input:
576460752303423489
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]5F]]7F]4F]4F]F]2F]F]2F]2F]7F]7F]2F]2F]8F]3F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]8B]2B]4B]8B]2B]2B]]5B]5B]B]B]3B]8B]B]B]4B]B]8B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[DF]8[DF]]2[DF]]4[DF]]8[DF]]2[DF]]2[DF]]]5[DF]]5[DF]]DF]D...
result:
ok correct (length = 62812)
Test #132:
score: 0
Accepted
time: 3ms
memory: 3936kb
input:
864691128455135228
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]6F]7F]5F]6F]6F]6F]F]7F]6F]3F]4F]2F]6F]3F]4F]3F]4F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5[BD]]6[BD]]7[BD]]5[BD]]6[BD]]6[BD]]6[BD]]BD]7[BD]]6[BD]]3[BD]]4[BD]]2[BD]]6[BD]]3[BD]]4[BD]]3[BD]]4[BD]]7[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]6F]7F]5F]6F]6F]6F]F]7F]...
result:
ok correct (length = 82147)
Test #133:
score: 0
Accepted
time: 3ms
memory: 3924kb
input:
864691128455135230
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]6F]7F]5F]6F]6F]6F]F]7F]6F]3F]4F]2F]6F]3F]4F]3F]5F]F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5[BD]]6[BD]]7[BD]]5[BD]]6[BD]]6[BD]]6[BD]]BD]7[BD]]6[BD]]3[BD]]4[BD]]2[BD]]6[BD]]3[BD]]4[BD]]3[BD]]5[BD]]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]6F]7F]5F]6F]6F]6F]F]7F]6F]3F]...
result:
ok correct (length = 82513)
Test #134:
score: 0
Accepted
time: 3ms
memory: 3900kb
input:
864691128455135232
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]6F]7F]5F]6F]6F]6F]F]7F]6F]3F]4F]2F]6F]3F]4F]3F]5F]3F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5[BD]]6[BD]]7[BD]]5[BD]]6[BD]]6[BD]]6[BD]]BD]7[BD]]6[BD]]3[BD]]4[BD]]2[BD]]6[BD]]3[BD]]4[BD]]3[BD]]5[BD]]2[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]6F]7F]5F]6F]6F]6F]F]7F]...
result:
ok correct (length = 68616)
Test #135:
score: 0
Accepted
time: 3ms
memory: 3848kb
input:
450283905890997362
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]8[BD]]7[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]8F]8F]8F]8F]8F]8F]8...
result:
ok correct (length = 77921)
Test #136:
score: 0
Accepted
time: 1ms
memory: 3832kb
input:
450283905890997364
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]]]]]]]]]]]]]]]]]F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]]]]]]]]]]]]]]]]]]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]]]]]]]]]]]]]]]]]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]5B...
result:
ok correct (length = 77084)
Test #137:
score: 0
Accepted
time: 3ms
memory: 3832kb
input:
766668286600904004
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]]8F]6F]5F]8F]3F]F]F]F]8F]7F]3F]5F]]8F]5F]4F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5[BD]]]8[BD]]6[BD]]5[BD]]8[BD]]3[BD]]BD]BD]BD]8[BD]]7[BD]]3[BD]]5[BD]]]8[BD]]5[BD]]4[BD]]5[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]]8F]6F]5F]8F]3F]F]F]F]8F]7F]3F]5F]]8F]5F]4F]5...
result:
ok correct (length = 84708)
Test #138:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
766668286600904006
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]]8F]6F]5F]8F]3F]F]F]F]8F]7F]3F]5F]]8F]5F]4F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5[BD]]]8[BD]]6[BD]]5[BD]]8[BD]]3[BD]]BD]BD]BD]8[BD]]7[BD]]3[BD]]5[BD]]]8[BD]]5[BD]]4[BD]]7[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]]8F]6F]5F]8F]3F]F]F]F]8F]7F]3F]5F]]8F]5F]4F]7...
result:
ok correct (length = 84722)
Test #139:
score: 0
Accepted
time: 3ms
memory: 3724kb
input:
766668286600904008
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]]8F]6F]5F]8F]3F]F]F]F]8F]7F]3F]5F]]8F]5F]5F]F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5[BD]]]8[BD]]6[BD]]5[BD]]8[BD]]3[BD]]BD]BD]BD]8[BD]]7[BD]]3[BD]]5[BD]]]8[BD]]5[BD]]5[BD]]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]]8F]6F]5F]8F]3F]F]F]F]8F]7F]3F]5F]]8F]5F]5F]9[9[9[9...
result:
ok correct (length = 84217)
Test #140:
score: 0
Accepted
time: 0ms
memory: 3920kb
input:
127778047766817333
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[7F]5F]8F]5F]4F]3F]4F]6F]F]7F]4F]2F]]7F]5F]8F]3F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3B]7B]4B]2B]6B]6B]2B]3B]]8B]2B]B]]3B]7B]4B]B]8B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[DF]]7[DF]]4[DF]]2[DF]]6[DF]]6[DF]]2[DF]]3[DF]]]8[DF]]2[DF]]DF]]...
result:
ok correct (length = 72763)
Test #141:
score: 0
Accepted
time: 1ms
memory: 3860kb
input:
127778047766817335
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[7F]5F]8F]5F]4F]3F]4F]6F]F]7F]4F]2F]]7F]5F]8F]3F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3B]7B]4B]2B]6B]6B]2B]3B]]8B]2B]B]]3B]7B]4B]2B]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[DF]]7[DF]]4[DF]]2[DF]]6[DF]]6[DF]]2[DF]]3[DF]]]8[DF]]2[DF]]DF]]3...
result:
ok correct (length = 72735)
Test #142:
score: 0
Accepted
time: 3ms
memory: 3776kb
input:
63889023883408664
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]4F]2F]6F]6F]2F]3F]]8F]2F]F]]3F]7F]4F]F]5F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]7[BD]]4[BD]]2[BD]]6[BD]]6[BD]]2[BD]]3[BD]]]8[BD]]2[BD]]BD]]3[BD]]7[BD]]4[BD]]BD]4[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]4F]2F]6F]6F]2F]3F]]8F]2F]F]]3F]7F]4F]F]4F9[9[9[9[9[9[...
result:
ok correct (length = 68406)
Test #143:
score: 0
Accepted
time: 3ms
memory: 3768kb
input:
63889023883408666
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]4F]2F]6F]6F]2F]3F]]8F]2F]F]]3F]7F]4F]F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]7[BD]]4[BD]]2[BD]]6[BD]]6[BD]]2[BD]]3[BD]]]8[BD]]2[BD]]BD]]3[BD]]7[BD]]4[BD]]BD]6[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]4F]2F]6F]6F]2F]3F]]8F]2F]F]]3F]7F]4F]F]6F9[9[9[9[9[9[...
result:
ok correct (length = 68778)
Test #144:
score: 0
Accepted
time: 2ms
memory: 3764kb
input:
63889023883408668
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]4F]2F]6F]6F]2F]3F]]8F]2F]F]]3F]7F]4F]2F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[BD]]7[BD]]4[BD]]2[BD]]6[BD]]6[BD]]2[BD]]3[BD]]]8[BD]]2[BD]]BD]]3[BD]]7[BD]]4[BD]]BD]8[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]7F]4F]2F]6F]6F]2F]3F]]8F]2F]F]]3F]7F]4F]F]8F9[9[9[9[9[9[9...
result:
ok correct (length = 69154)
Test #145:
score: 0
Accepted
time: 3ms
memory: 3716kb
input:
985959861360127246
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]F]]6F]6F]2F]F]3F]5F]7F]]4F]3F]4F]5F]]3F]F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6[BD]]5[BD]]BD]]6[BD]]6[BD]]2[BD]]BD]3[BD]]5[BD]]7[BD]]]4[BD]]3[BD]]4[BD]]5[BD]]]3[BD]]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]F]]6F]6F]2F]F]3F]5F]7F]]4F]3F]4F]5F]]3F]9[9[9[9[9[9...
result:
ok correct (length = 89771)
Test #146:
score: 0
Accepted
time: 3ms
memory: 3712kb
input:
985959861360127248
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]F]]6F]6F]2F]F]3F]5F]7F]]4F]3F]4F]5F]]3F]3F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6[BD]]5[BD]]BD]]6[BD]]6[BD]]2[BD]]BD]3[BD]]5[BD]]7[BD]]]4[BD]]3[BD]]4[BD]]5[BD]]]3[BD]]2[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]F]]6F]6F]2F]F]3F]5F]7F]]4F]3F]4F]5F]]3F]2F9[9...
result:
ok correct (length = 88813)
Test #147:
score: 0
Accepted
time: 1ms
memory: 3780kb
input:
667670830747760866
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[4F]4F]]2F]7F]4F]5F]2F]]F]4F]3F]4F]8F]8F]3F]]3F]4F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[4[BD]]4[BD]]]2[BD]]7[BD]]4[BD]]5[BD]]2[BD]]]BD]4[BD]]3[BD]]4[BD]]8[BD]]8[BD]]3[BD]]]3[BD]]3[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[4F]4F]]2F]7F]4F]5F]2F]]F]4F]3F]4F]8F]8F]3F]]3F]...
result:
ok correct (length = 82947)
Test #148:
score: 0
Accepted
time: 1ms
memory: 3760kb
input:
896580751470751485
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]8F]6F]7F]5F]6F]3F]8F]8F]2F]3F]7F]8F]5F]5F]2F]5F]8F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2B]8B]7B]8B]2B]7B]6B]4B]4B]B]B]8B]4B]2B]7B]B]2B]8B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[DF]]8[DF]]7[DF]]8[DF]]2[DF]]7[DF]]6[DF]]4[DF]...
result:
ok correct (length = 80665)
Test #149:
score: 0
Accepted
time: 0ms
memory: 3732kb
input:
837375032877975620
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]5F]F]8F]]6F]F]8F]4F]]]6F]]3F]6F]3F]8F]4F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5[BD]]5[BD]]BD]8[BD]]]6[BD]]BD]8[BD]]4[BD]]]]6[BD]]]3[BD]]6[BD]]3[BD]]8[BD]]4[BD]]7[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]5F]F]8F]]6F]F]8F]4F]]]6F]]3F]6F]3F]8F]4F]7F9[9[9[9[9[9[...
result:
ok correct (length = 81776)
Test #150:
score: 0
Accepted
time: 3ms
memory: 3780kb
input:
925630830357844941
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]F]4F]4F]6F]5F]]7F]]4F]6F]6F]8F]3F]3F]]6F]8F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3B]]6B]6B]7B]7B]]3B]4B]6B]7B]7B]8B]6B]B]4B]7B]8B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3[DF]]]6[DF]]6[DF]]7[DF]]7[DF]]]3[DF]]4[DF]]6[DF]]7[DF]]...
result:
ok correct (length = 68904)
Test #151:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
968911014317797556
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]4F]]7F]8F]4F]]F]7F]]5F]F]F]7F]F]3F]5F]8F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6[BD]]4[BD]]]7[BD]]8[BD]]4[BD]]]BD]7[BD]]]5[BD]]BD]BD]7[BD]]BD]3[BD]]5[BD]]8[BD]]7[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]4F]]7F]8F]4F]]F]7F]]5F]F]F]7F]F]3F]5F]8F]7F9[9[9[9[9[9[9...
result:
ok correct (length = 83278)
Extra Test:
score: 0
Extra Test Passed