QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#76134 | #5236. Wersja dla profesjonalistów [A] | Appleblue17 | 10 ✓ | 5ms | 3940kb | C++14 | 586b | 2023-02-07 20:01:50 | 2023-02-07 20:01:51 |
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>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: 3376kb
input:
1
output:
FB1D
result:
ok correct (length = 3)
Test #2:
score: 0
Accepted
time: 0ms
memory: 3352kb
input:
2
output:
2F1[BD]BFB2D
result:
ok correct (length = 13)
Test #3:
score: 0
Accepted
time: 1ms
memory: 3404kb
input:
4
output:
4F3[BD]B3F1[2B1[DF]D]1[BD]B2[FB]4D
result:
ok correct (length = 30)
Test #4:
score: 0
Accepted
time: 0ms
memory: 3328kb
input:
5
output:
5F2[3B2[DF]D]2[BD]B2[2F1[BD]BFB]5D
result:
ok correct (length = 43)
Test #5:
score: 0
Accepted
time: 1ms
memory: 3424kb
input:
6
output:
6F5[BD]B5F2[3B2[DF]D]2[BD]B2[2F1[BD]BFB]6D
result:
ok correct (length = 53)
Test #6:
score: 0
Accepted
time: 2ms
memory: 3484kb
input:
7
output:
7F3[4B3[DF]D]3[BD]B2[3F1[2B1[DF]D]1[BD]B2[FB]]7D
result:
ok correct (length = 53)
Test #7:
score: 0
Accepted
time: 2ms
memory: 3420kb
input:
10
output:
9[1F]1F9[BD]B9F4[5B4[DF]D]4[BD]B2[4F3[BD]B3F1[2B1[DF]D]1[BD]B2[FB]]9[1D]1D
result:
ok correct (length = 79)
Test #8:
score: 0
Accepted
time: 0ms
memory: 3372kb
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[1[9[1B]8B9[1[DF]]7[DF]D]]7[9[1B]8B9[1[DF]]7[DF]D]9[1[BD]]7[BD]B2[9[1F]7F9[1[BD]]6[BD]B9[1F]6F7[8B7[DF]D]7[BD]B2[7F3[4B3[DF]D]3[BD]B2[3F1[2B1[DF]D]1[BD]B2[FB]]]]]9[7D]6D
result:
ok correct (length = 277)
Test #9:
score: 0
Accepted
time: 2ms
memory: 3360kb
input:
100
output:
9[9[1F]2F]1F9[9[1[BD]]2[BD]]B9[9[1F]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[1[9[1B]3B9[1[DF]]2[DF]D]]2[9[1B]3B9[1[DF]]2[DF]D]9[1[BD]]2[BD]B2[9[1F]2F5[6B5[DF]D]5[BD]B2...
result:
ok correct (length = 312)
Test #10:
score: 0
Accepted
time: 2ms
memory: 3340kb
input:
101
output:
9[9[1F]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[1[9[1B]3B9[1[DF]]2[DF]D]]2[9[1B]3B9[1[DF]]2[DF]D]9[1[BD]]2[BD]B2[9[1F]2F5[6B5[DF]D]5[BD]B2[5F2[3...
result:
ok correct (length = 321)
Test #11:
score: 0
Accepted
time: 2ms
memory: 3344kb
input:
250
output:
9[9[3F]]7F9[9[3[BD]]]6[BD]B9[9[3F]]6F9[9[1[9[9[1B]4B]8B9[9[1[DF]]4[DF]]7[DF]D]]4[9[9[1B]4B]8B9[9[1[DF]]4[DF]]7[DF]D]]7[9[9[1B]4B]8B9[9[1[DF]]4[DF]]7[DF]D]9[9[1[BD]]4[BD]]7[BD]B2[9[9[1F]4F]7F9[9[1[BD]]4[BD]]6[BD]B9[9[1F]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[...
result:
ok correct (length = 526)
Test #12:
score: 0
Accepted
time: 0ms
memory: 3380kb
input:
251
output:
9[9[3F]]8F9[9[1[9[9[1B]5B]9[9[1[DF]]4[DF]]8[DF]D]]4[9[9[1B]5B]9[9[1[DF]]4[DF]]8[DF]D]]8[9[9[1B]5B]9[9[1[DF]]4[DF]]8[DF]D]9[9[1[BD]]4[BD]]8[BD]B2[9[9[1F]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...
result:
ok correct (length = 456)
Test #13:
score: 0
Accepted
time: 2ms
memory: 3496kb
input:
252
output:
9[9[3F]1F]9[9[3[BD]]]8[BD]B9[9[3F]]8F9[9[1[9[9[1B]5B]9[9[1[DF]]4[DF]]8[DF]D]]4[9[9[1B]5B]9[9[1[DF]]4[DF]]8[DF]D]]8[9[9[1B]5B]9[9[1[DF]]4[DF]]8[DF]D]9[9[1[BD]]4[BD]]8[BD]B2[9[9[1F]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...
result:
ok correct (length = 479)
Test #14:
score: 0
Accepted
time: 1ms
memory: 3360kb
input:
299
output:
9[9[3F]6F]2F9[9[1[9[9[1B]7B]6B9[9[1[DF]]7[DF]]5[DF]D]]7[9[9[1B]7B]6B9[9[1[DF]]7[DF]]5[DF]D]]5[9[9[1B]7B]6B9[9[1[DF]]7[DF]]5[DF]D]9[9[1[BD]]7[BD]]5[BD]B2[9[9[1F]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]]1[BD]B9[8F]1F9[4[9[4B]1B9[4[DF]]D]]9[4[BD]]B2[9[4F]9[...
result:
ok correct (length = 486)
Test #15:
score: 0
Accepted
time: 2ms
memory: 3424kb
input:
300
output:
9[9[3F]6F]3F9[9[3[BD]]6[BD]]2[BD]B9[9[3F]6F]2F9[9[1[9[9[1B]7B]6B9[9[1[DF]]7[DF]]5[DF]D]]7[9[9[1B]7B]6B9[9[1[DF]]7[DF]]5[DF]D]]5[9[9[1B]7B]6B9[9[1[DF]]7[DF]]5[DF]D]9[9[1[BD]]7[BD]]5[BD]B2[9[9[1F]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]]1[BD]B9[8F]1F9[4[9[...
result:
ok correct (length = 515)
Subtask #2:
score: 1
Accepted
Test #16:
score: 1
Accepted
time: 2ms
memory: 3380kb
input:
320
output:
9[9[3F]8F]5F9[9[3[BD]]8[BD]]4[BD]B9[9[3F]8F]4F9[9[1[9[9[1B]8B]7B9[9[1[DF]]8[DF]]6[DF]D]]8[9[9[1B]8B]7B9[9[1[DF]]8[DF]]6[DF]D]]6[9[9[1B]8B]7B9[9[1[DF]]8[DF]]6[DF]D]9[9[1[BD]]8[BD]]6[BD]B2[9[9[1F]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]]...
result:
ok correct (length = 555)
Test #17:
score: 0
Accepted
time: 0ms
memory: 3364kb
input:
321
output:
9[9[3F]8F]6F9[9[1[9[9[1B]8B]8B9[9[1[DF]]8[DF]]7[DF]D]]8[9[9[1B]8B]8B9[9[1[DF]]8[DF]]7[DF]D]]7[9[9[1B]8B]8B9[9[1[DF]]8[DF]]7[DF]D]9[9[1[BD]]8[BD]]7[BD]B2[9[9[1F]8F]7F9[9[1[BD]]8[BD]]6[BD]B9[9[1F]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]]...
result:
ok correct (length = 507)
Test #18:
score: 0
Accepted
time: 2ms
memory: 3440kb
input:
1000
output:
9[9[9[1F]3F]3F]1F9[9[9[1[BD]]3[BD]]3[BD]]B9[9[9[1F]3F]3F]9[9[6[9[9[6B]1B]5B9[9[6[DF]]1[DF]]4[DF]D]]1[9[9[6B]1B]5B9[9[6[DF]]1[DF]]4[DF]D]]4[9[9[6B]1B]5B9[9[6[DF]]1[DF]]4[DF]D]9[9[6[BD]]1[BD]]4[BD]B2[9[9[6F]1F]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[3...
result:
ok correct (length = 809)
Test #19:
score: 0
Accepted
time: 2ms
memory: 3424kb
input:
1024
output:
9[9[9[1F]3F]5F]7F9[9[9[1[BD]]3[BD]]5[BD]]6[BD]B9[9[9[1F]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]1B]4B9[9[3[DF]]1[DF]]3[DF]D]]1[9[9[3B]1B]4B9[9[3[DF]]1[DF]]3[DF]D]]3[9...
result:
ok correct (length = 663)
Test #20:
score: 0
Accepted
time: 1ms
memory: 3364kb
input:
1235
output:
9[9[9[1F]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[B...
result:
ok correct (length = 934)
Test #21:
score: 0
Accepted
time: 2ms
memory: 3356kb
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: 3400kb
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[1[9[9[9[1B]3B]5B]7B9[...
result:
ok correct (length = 1027)
Test #23:
score: 0
Accepted
time: 2ms
memory: 3372kb
input:
4096
output:
9[9[9[5F]5F]5F]1F9[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[...
result:
ok correct (length = 1056)
Test #24:
score: 0
Accepted
time: 2ms
memory: 3400kb
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: 0ms
memory: 3332kb
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: 0ms
memory: 3380kb
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[1[9[9[9[1B]6B]3B]8B...
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: 3532kb
input:
1000000
output:
9[9[9[9[9[9[1F]7F]8F]3F]6F]6F]1F9[9[9[9[9[9[1[BD]]7[BD]]8[BD]]3[BD]]6[BD]]6[BD]]B9[9[9[9[9[9[1F]7F]8F]3F]6F]6F]9[9[9[9[9[8[9[9[9[9[9[8B]4B]1B]7B]7B]5B9[9[9[9[9[8[DF]]4[DF]]1[DF]]7[DF]]7[DF]]4[DF]D]]4[9[9[9[9[9[8B]4B]1B]7B]7B]5B9[9[9[9[9[8[DF]]4[DF]]1[DF]]7[DF]]7[DF]]4[DF]D]]1[9[9[9[9[9[8B]4B]1B]7B]7...
result:
ok correct (length = 3639)
Test #29:
score: 0
Accepted
time: 2ms
memory: 3456kb
input:
999998
output:
9[9[9[9[9[9[1F]7F]8F]3F]6F]5F]8F9[9[9[9[9[9[1[BD]]7[BD]]8[BD]]3[BD]]6[BD]]5[BD]]7[BD]B9[9[9[9[9[9[1F]7F]8F]3F]6F]5F]7F9[9[9[9[9[8[9[9[9[9[9[8B]4B]1B]7B]7B]4B9[9[9[9[9[8[DF]]4[DF]]1[DF]]7[DF]]7[DF]]3[DF]D]]4[9[9[9[9[9[8B]4B]1B]7B]7B]4B9[9[9[9[9[8[DF]]4[DF]]1[DF]]7[DF]]7[DF]]3[DF]D]]1[9[9[9[9[9[8B]4B]...
result:
ok correct (length = 3998)
Test #30:
score: 0
Accepted
time: 2ms
memory: 3464kb
input:
524286
output:
9[9[9[9[9[8F]7F]8F]1F]6F]9[9[9[9[9[8[BD]]7[BD]]8[BD]]1[BD]]5[BD]]8[BD]B9[9[9[9[9[8F]7F]8F]1F]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]...
result:
ok correct (length = 4435)
Test #31:
score: 0
Accepted
time: 2ms
memory: 3384kb
input:
524288
output:
9[9[9[9[9[8F]7F]8F]1F]6F]2F9[9[9[9[9[8[BD]]7[BD]]8[BD]]1[BD]]6[BD]]1[BD]B9[9[9[9[9[8F]7F]8F]1F]6F]1F9[9[9[9[9[4[9[9[9[9[9[4B]3B]8B]5B]3B]1B9[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]1B9[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]1B9[9[9[9[9[4[DF]]3...
result:
ok correct (length = 3385)
Test #32:
score: 0
Accepted
time: 2ms
memory: 3524kb
input:
524290
output:
9[9[9[9[9[8F]7F]8F]1F]6F]4F9[9[9[9[9[8[BD]]7[BD]]8[BD]]1[BD]]6[BD]]3[BD]B9[9[9[9[9[8F]7F]8F]1F]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]]1[DF]D]]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]]1[DF]D]]8[9[9[9[9[9[4B]3B]8B]5B]3B]2B9[9[9[9...
result:
ok correct (length = 3262)
Test #33:
score: 0
Accepted
time: 2ms
memory: 3388kb
input:
786429
output:
9[9[9[9[9[9[1F]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[...
result:
ok correct (length = 4370)
Test #34:
score: 0
Accepted
time: 0ms
memory: 3428kb
input:
786431
output:
9[9[9[9[9[9[1F]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]6B...
result:
ok correct (length = 3562)
Test #35:
score: 0
Accepted
time: 1ms
memory: 3444kb
input:
951557
output:
9[9[9[9[9[9[1F]7F]1F]]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]...
result:
ok correct (length = 4718)
Test #36:
score: 0
Accepted
time: 2ms
memory: 3396kb
input:
838702
output:
9[9[9[9[9[9[1F]5F]1F]7F]4F]3F]1F9[9[9[9[9[9[1[BD]]5[BD]]1[BD]]7[BD]]4[BD]]3[BD]]B9[9[9[9[9[9[1F]5F]1F]7F]4F]3F]9[9[9[9[9[7[9[9[9[9[9[7B]]8B]2B]1B]5B9[9[9[9[9[7[DF]]]8[DF]]2[DF]]1[DF]]4[DF]D]]]8[9[9[9[9[9[7B]]8B]2B]1B]5B9[9[9[9[9[7[DF]]]8[DF]]2[DF]]1[DF]]4[DF]D]]2[9[9[9[9[9[7B]]8B]2B]1B]5B9[9[9[9[9[7...
result:
ok correct (length = 4235)
Subtask #4:
score: 1
Accepted
Test #37:
score: 1
Accepted
time: 2ms
memory: 3460kb
input:
999999
output:
9[9[9[9[9[9[1F]7F]8F]3F]6F]6F]9[9[9[9[9[8[9[9[9[9[9[8B]4B]1B]7B]7B]5B9[9[9[9[9[8[DF]]4[DF]]1[DF]]7[DF]]7[DF]]4[DF]D]]4[9[9[9[9[9[8B]4B]1B]7B]7B]5B9[9[9[9[9[8[DF]]4[DF]]1[DF]]7[DF]]7[DF]]4[DF]D]]1[9[9[9[9[9[8B]4B]1B]7B]7B]5B9[9[9[9[9[8[DF]]4[DF]]1[DF]]7[DF]]7[DF]]4[DF]D]]7[9[9[9[9[9[8B]4B]1B]7B]7B]5B...
result:
ok correct (length = 3585)
Test #38:
score: 0
Accepted
time: 2ms
memory: 3520kb
input:
999997
output:
9[9[9[9[9[9[1F]7F]8F]3F]6F]5F]7F9[9[9[9[9[8[9[9[9[9[9[8B]4B]1B]7B]7B]4B9[9[9[9[9[8[DF]]4[DF]]1[DF]]7[DF]]7[DF]]3[DF]D]]4[9[9[9[9[9[8B]4B]1B]7B]7B]4B9[9[9[9[9[8[DF]]4[DF]]1[DF]]7[DF]]7[DF]]3[DF]D]]1[9[9[9[9[9[8B]4B]1B]7B]7B]4B9[9[9[9[9[8[DF]]4[DF]]1[DF]]7[DF]]7[DF]]3[DF]D]]7[9[9[9[9[9[8B]4B]1B]7B]7B]...
result:
ok correct (length = 3895)
Test #39:
score: 0
Accepted
time: 2ms
memory: 3396kb
input:
524287
output:
9[9[9[9[9[8F]7F]8F]1F]6F]1F9[9[9[9[9[4[9[9[9[9[9[4B]3B]8B]5B]3B]1B9[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]1B9[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]1B9[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]1B9[9[9[9[9[4[DF]]3[...
result:
ok correct (length = 3337)
Test #40:
score: 0
Accepted
time: 2ms
memory: 3424kb
input:
524289
output:
9[9[9[9[9[8F]7F]8F]1F]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]]1[DF]D]]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]]1[DF]D]]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]]1[DF]D]]5[9[9[9[9[9[4B]3B]8B]5B]3B]2B9[9...
result:
ok correct (length = 3207)
Test #41:
score: 0
Accepted
time: 2ms
memory: 3384kb
input:
786428
output:
9[9[9[9[9[9[1F]4F]2F]7F]6F]8F]8F9[9[9[9[9[9[1[BD]]4[BD]]2[BD]]7[BD]]6[BD]]8[BD]]7[BD]B9[9[9[9[9[9[1F]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]...
result:
ok correct (length = 4475)
Test #42:
score: 0
Accepted
time: 0ms
memory: 3464kb
input:
786430
output:
9[9[9[9[9[9[1F]4F]2F]7F]7F]]1F9[9[9[9[9[9[1[BD]]4[BD]]2[BD]]7[BD]]7[BD]]]B9[9[9[9[9[9[1F]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...
result:
ok correct (length = 4450)
Test #43:
score: 0
Accepted
time: 2ms
memory: 3400kb
input:
786432
output:
9[9[9[9[9[9[1F]4F]2F]7F]7F]]3F9[9[9[9[9[9[1[BD]]4[BD]]2[BD]]7[BD]]7[BD]]]2[BD]B9[9[9[9[9[9[1F]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]...
result:
ok correct (length = 3610)
Test #44:
score: 0
Accepted
time: 0ms
memory: 3388kb
input:
724171
output:
9[9[9[9[9[9[1F]3F]2F]3F]3F]3F]4F9[9[9[9[9[6[9[9[9[9[9[6B]1B]1B]6B]1B]7B9[9[9[9[9[6[DF]]1[DF]]1[DF]]6[DF]]1[DF]]6[DF]D]]1[9[9[9[9[9[6B]1B]1B]6B]1B]7B9[9[9[9[9[6[DF]]1[DF]]1[DF]]6[DF]]1[DF]]6[DF]D]]1[9[9[9[9[9[6B]1B]1B]6B]1B]7B9[9[9[9[9[6[DF]]1[DF]]1[DF]]6[DF]]1[DF]]6[DF]D]]6[9[9[9[9[9[6B]1B]1B]6B]1B]...
result:
ok correct (length = 3973)
Test #45:
score: 0
Accepted
time: 1ms
memory: 3456kb
input:
868406
output:
9[9[9[9[9[9[1F]5F]6F]3F]2F]]5F9[9[9[9[9[9[1[BD]]5[BD]]6[BD]]3[BD]]2[BD]]]4[BD]B9[9[9[9[9[9[1F]5F]6F]3F]2F]]4F9[9[9[9[9[7[9[9[9[9[9[7B]3B]1B]5B]4B]7B9[9[9[9[9[7[DF]]3[DF]]1[DF]]5[DF]]4[DF]]6[DF]D]]3[9[9[9[9[9[7B]3B]1B]5B]4B]7B9[9[9[9[9[7[DF]]3[DF]]1[DF]]5[DF]]4[DF]]6[DF]D]]1[9[9[9[9[9[7B]3B]1B]5B]4B]...
result:
ok correct (length = 3980)
Subtask #5:
score: 1
Accepted
Test #46:
score: 1
Accepted
time: 2ms
memory: 3488kb
input:
10000000000
output:
9[9[9[9[9[9[9[9[9[9[2F]7F]7F]2F]6F]6F]7F]8F]1F]1F]1F9[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]]1[BD]]1[BD]]B9[9[9[9[9[9[9[9[9[9[2F]7F]7F]2F]6F]6F]7F]8F]1F]1F]9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[1B]3B]8B]1B]3B]3B]3B]8B]5B]]5B9[9[9[9[9[9[9[9[9[9[1[DF]]3[DF]]8[DF]]1[DF]]3...
result:
ok correct (length = 13934)
Test #47:
score: 0
Accepted
time: 2ms
memory: 3476kb
input:
9999999998
output:
9[9[9[9[9[9[9[9[9[9[2F]7F]7F]2F]6F]6F]7F]8F]1F]]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]]1[BD]]]7[BD]B9[9[9[9[9[9[9[9[9[9[2F]7F]7F]2F]6F]6F]7F]8F]1F]]7F9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[1B]3B]8B]1B]3B]3B]3B]8B]5B]]4B9[9[9[9[9[9[9[9[9[9[1[DF]]3[DF]]8[DF]]1[DF]]3[D...
result:
ok correct (length = 15092)
Test #48:
score: 0
Accepted
time: 2ms
memory: 3524kb
input:
8589934590
output:
9[9[9[9[9[9[9[9[9[9[2F]4F]1F]4F]8F]4F]2F]6F]]1F]6F9[9[9[9[9[9[9[9[9[9[2[BD]]4[BD]]1[BD]]4[BD]]8[BD]]4[BD]]2[BD]]6[BD]]]1[BD]]5[BD]B9[9[9[9[9[9[9[9[9[9[2F]4F]1F]4F]8F]4F]2F]6F]]1F]5F9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[1B]2B]]6B]8B]6B]5B]7B]4B]5B]3B9[9[9[9[9[9[9[9[9[9[1[DF]]2[DF]]]6[DF]]8[DF]]6[...
result:
ok correct (length = 17408)
Test #49:
score: 0
Accepted
time: 2ms
memory: 3576kb
input:
8589934592
output:
9[9[9[9[9[9[9[9[9[9[2F]4F]1F]4F]8F]4F]2F]6F]]1F]8F9[9[9[9[9[9[9[9[9[9[2[BD]]4[BD]]1[BD]]4[BD]]8[BD]]4[BD]]2[BD]]6[BD]]]1[BD]]7[BD]B9[9[9[9[9[9[9[9[9[9[2F]4F]1F]4F]8F]4F]2F]6F]]1F]7F9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[1B]2B]]6B]8B]6B]5B]7B]4B]5B]4B9[9[9[9[9[9[9[9[9[9[1[DF]]2[DF]]]6[DF]]8[DF]]6[...
result:
ok correct (length = 13498)
Test #50:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
8589934594
output:
9[9[9[9[9[9[9[9[9[9[2F]4F]1F]4F]8F]4F]2F]6F]]2F]1F9[9[9[9[9[9[9[9[9[9[2[BD]]4[BD]]1[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]1F]4F]8F]4F]2F]6F]]2F]9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[1B]2B]]6B]8B]6B]5B]7B]4B]5B]5B9[9[9[9[9[9[9[9[9[9[1[DF]]2[DF]]]6[DF]]8[DF]]6[DF]]5[D...
result:
ok correct (length = 12997)
Test #51:
score: 0
Accepted
time: 2ms
memory: 3576kb
input:
6442450941
output:
9[9[9[9[9[9[9[9[9[9[1F]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]]1[DF]D]]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...
result:
ok correct (length = 15685)
Test #52:
score: 0
Accepted
time: 2ms
memory: 3548kb
input:
6442450943
output:
9[9[9[9[9[9[9[9[9[9[1F]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: 0ms
memory: 3476kb
input:
9220943225
output:
9[9[9[9[9[9[9[9[9[9[2F]5F]7F]1F]7F]7F]4F]3F]1F]2F]2F9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[1B]2B]8B]]8B]3B]6B]6B]]5B]6B9[9[9[9[9[9[9[9[9[9[1[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[1B]2B]8B]]8B]3B]6B]6B]]5B]6B9[9[9[9[9[9[9[9[9[9[1[DF]]2[DF]]8[DF]]]8[DF]]3[DF]...
result:
ok correct (length = 14047)
Test #54:
score: 0
Accepted
time: 2ms
memory: 3500kb
input:
9147465533
output:
9[9[9[9[9[9[9[9[9[9[2F]5F]5F]4F]4F]5F]1F]1F]6F]2F]2F9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[1B]2B]7B]2B]2B]2B]5B]]7B]5B]6B9[9[9[9[9[9[9[9[9[9[1[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[1B]2B]7B]2B]2B]2B]5B]]7B]5B]6B9[9[9[9[9[9[9[9[9[9[1[DF]]2[DF]]7[DF]]2[D...
result:
ok correct (length = 15129)
Subtask #6:
score: 1
Accepted
Test #55:
score: 1
Accepted
time: 0ms
memory: 3540kb
input:
9999999999
output:
9[9[9[9[9[9[9[9[9[9[2F]7F]7F]2F]6F]6F]7F]8F]1F]1F]9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[1B]3B]8B]1B]3B]3B]3B]8B]5B]]5B9[9[9[9[9[9[9[9[9[9[1[DF]]3[DF]]8[DF]]1[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[1B]3B]8B]1B]3B]3B]3B]8B]5B]]5B9[9[9[9[9[9[9[9[9[9[1[DF]]3[DF]]8[DF]]1[DF]...
result:
ok correct (length = 13843)
Test #56:
score: 0
Accepted
time: 2ms
memory: 3620kb
input:
9999999997
output:
9[9[9[9[9[9[9[9[9[9[2F]7F]7F]2F]6F]6F]7F]8F]1F]]7F9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[1B]3B]8B]1B]3B]3B]3B]8B]5B]]4B9[9[9[9[9[9[9[9[9[9[1[DF]]3[DF]]8[DF]]1[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[1B]3B]8B]1B]3B]3B]3B]8B]5B]]4B9[9[9[9[9[9[9[9[9[9[1[DF]]3[DF]]8[DF]]1[DF]...
result:
ok correct (length = 14941)
Test #57:
score: 0
Accepted
time: 2ms
memory: 3488kb
input:
8589934591
output:
9[9[9[9[9[9[9[9[9[9[2F]4F]1F]4F]8F]4F]2F]6F]]1F]7F9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[1B]2B]]6B]8B]6B]5B]7B]4B]5B]4B9[9[9[9[9[9[9[9[9[9[1[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[1B]2B]]6B]8B]6B]5B]7B]4B]5B]4B9[9[9[9[9[9[9[9[9[9[1[DF]]2[DF]]]6[DF]]8[DF...
result:
ok correct (length = 13425)
Test #58:
score: 0
Accepted
time: 2ms
memory: 3564kb
input:
8589934593
output:
9[9[9[9[9[9[9[9[9[9[2F]4F]1F]4F]8F]4F]2F]6F]]2F]9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[1B]2B]]6B]8B]6B]5B]7B]4B]5B]5B9[9[9[9[9[9[9[9[9[9[1[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[1B]2B]]6B]8B]6B]5B]7B]4B]5B]5B9[9[9[9[9[9[9[9[9[9[1[DF]]2[DF]]]6[DF]]8[DF]]...
result:
ok correct (length = 12918)
Test #59:
score: 0
Accepted
time: 2ms
memory: 3560kb
input:
6442450940
output:
9[9[9[9[9[9[9[9[9[9[1F]7F]5F]5F]8F]5F]4F]2F]2F]3F]2F9[9[9[9[9[9[9[9[9[9[1[BD]]7[BD]]5[BD]]5[BD]]8[BD]]5[BD]]4[BD]]2[BD]]2[BD]]3[BD]]1[BD]B9[9[9[9[9[9[9[9[9[9[1F]7F]5F]5F]8F]5F]4F]2F]2F]3F]1F9[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]1B9[9[9[9[9[9[9[9[9[8[DF]]2[DF]]7[DF]]4[DF]]2...
result:
ok correct (length = 15871)
Test #60:
score: 0
Accepted
time: 2ms
memory: 3564kb
input:
6442450942
output:
9[9[9[9[9[9[9[9[9[9[1F]7F]5F]5F]8F]5F]4F]2F]2F]3F]4F9[9[9[9[9[9[9[9[9[9[1[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[1F]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...
result:
ok correct (length = 15881)
Test #61:
score: 0
Accepted
time: 2ms
memory: 3552kb
input:
6442450944
output:
9[9[9[9[9[9[9[9[9[9[1F]7F]5F]5F]8F]5F]4F]2F]2F]3F]6F9[9[9[9[9[9[9[9[9[9[1[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[1F]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...
result:
ok correct (length = 12886)
Test #62:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
8108001050
output:
9[9[9[9[9[9[9[9[9[9[2F]2F]8F]3F]1F]5F]6F]3F]4F]3F]5F9[9[9[9[9[9[9[9[9[9[2[BD]]2[BD]]8[BD]]3[BD]]1[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]1F]5F]6F]3F]4F]3F]4F9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[1B]1B]4B]1B]5B]2B]7B]6B]2B]1B]7B9[9[9[9[9[9[9[9[9[9[1[DF]]1[DF]]4[DF...
result:
ok correct (length = 14636)
Test #63:
score: 0
Accepted
time: 1ms
memory: 3488kb
input:
8970049853
output:
9[9[9[9[9[9[9[9[9[9[2F]5F]1F]3F]3F]6F]5F]2F]1F]1F]8F9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[1B]2B]5B]1B]6B]3B]2B]5B]5B]1B]9[9[9[9[9[9[9[9[9[9[1[DF]]2[DF]]5[DF]]1[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[1B]2B]5B]1B]6B]3B]2B]5B]5B]1B]9[9[9[9[9[9[9[9[9[9[1[DF]]2[DF]]5[DF]]1[D...
result:
ok correct (length = 15947)
Subtask #7:
score: 1
Accepted
Test #64:
score: 1
Accepted
time: 1ms
memory: 3660kb
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]1F9[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[...
result:
ok correct (length = 34318)
Test #65:
score: 0
Accepted
time: 2ms
memory: 3732kb
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: 2ms
memory: 3752kb
input:
70368744177662
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]1F]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]]1[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]1F]3F]5F]]2F]2F]7F]5F]5F]]2F]4F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]4B]7...
result:
ok correct (length = 44152)
Test #67:
score: 0
Accepted
time: 3ms
memory: 3568kb
input:
70368744177664
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]1F]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]]1[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]1F]3F]5F]]2F]2F]7F]5F]5F]]2F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]4B]7...
result:
ok correct (length = 35836)
Test #68:
score: 0
Accepted
time: 2ms
memory: 3608kb
input:
70368744177666
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]1F]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]]1[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]1F]3F]5F]]2F]2F]7F]5F]5F]]2F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]4B]7B]...
result:
ok correct (length = 34249)
Test #69:
score: 0
Accepted
time: 2ms
memory: 3708kb
input:
52776558133245
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]2F]6F]7F]7F]1F]4F]6F]2F]1F]1F]8F]2F]4F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]1B]3B]3B]8B]]6B]7B]5B]5B]]8B]5B]6B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[DF]]1[DF]]3[DF]]3[DF]]8[DF]]]6[DF]]7[DF]]5[DF]]5[DF]]]8[DF]]5[DF]]6[DF]]4[DF]D]]1[9[9[9[9[9[9[9[9[9[9[...
result:
ok correct (length = 40837)
Test #70:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
52776558133247
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]2F]6F]7F]7F]1F]4F]6F]2F]1F]1F]8F]2F]4F]2F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]1B]3B]3B]8B]]6B]7B]5B]5B]]8B]5B]6B]6B9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[DF]]1[DF]]3[DF]]3[DF]]8[DF]]]6[DF]]7[DF]]5[DF]]5[DF]]]8[DF]]5[DF]]6[DF]]5[DF]D]]1[9[9[9[9[9[9[9[9[9[...
result:
ok correct (length = 33589)
Test #71:
score: 0
Accepted
time: 2ms
memory: 3568kb
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[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]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[1[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[...
result:
ok correct (length = 39200)
Test #72:
score: 0
Accepted
time: 0ms
memory: 3724kb
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[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]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[1[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[1B]4...
result:
ok correct (length = 39094)
Test #73:
score: 0
Accepted
time: 3ms
memory: 3720kb
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[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]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[1[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[1B...
result:
ok correct (length = 39419)
Test #74:
score: 0
Accepted
time: 2ms
memory: 3744kb
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[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]1B]8B]1B]5B]6B]8B]6B]7B]3B]1B]7B]4B]1B]8B9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[DF]]1[DF]]8[DF]]1[DF]]5[DF]]6[DF]]8[DF]]6[DF]]7[DF]]3[DF]]1[DF]]7[DF]]4[DF]]1[DF]]7[DF]D]]1[9[9[...
result:
ok correct (length = 40514)
Test #75:
score: 0
Accepted
time: 2ms
memory: 3692kb
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[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]1B]8B]1B]5B]6B]8B]6B]7B]3B]1B]7B]4B]2B]9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[DF]]1[DF]]8[DF]]1[DF]]5[DF]]6[DF]]8[DF]]6[DF]]7[DF]]3[DF]]1[DF]]7[DF]]4[DF]]1[DF]]8[DF]D]]1[9[9[9[...
result:
ok correct (length = 40216)
Test #76:
score: 0
Accepted
time: 1ms
memory: 3720kb
input:
27729611060504
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[1F]1F]8F]1F]5F]6F]8F]6F]7F]3F]1F]7F]4F]1F]5F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[BD]]1[BD]]8[BD]]1[BD]]5[BD]]6[BD]]8[BD]]6[BD]]7[BD]]3[BD]]1[BD]]7[BD]]4[BD]]1[BD]]4[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[1F]1F]8F]1F]5F]6F]8F]6F]7F]3F]1F]7F]4F]1F]4F9[9[9[9[9[9[9[9[9[9[9[9[9[5[9[9[9[9[9[...
result:
ok correct (length = 38035)
Test #77:
score: 0
Accepted
time: 2ms
memory: 3648kb
input:
27729611060506
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[1F]1F]8F]1F]5F]6F]8F]6F]7F]3F]1F]7F]4F]1F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[BD]]1[BD]]8[BD]]1[BD]]5[BD]]6[BD]]8[BD]]6[BD]]7[BD]]3[BD]]1[BD]]7[BD]]4[BD]]1[BD]]6[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[1F]1F]8F]1F]5F]6F]8F]6F]7F]3F]1F]7F]4F]1F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[5[9[9[9[9[9[...
result:
ok correct (length = 38008)
Test #78:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
27729611060508
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[1F]1F]8F]1F]5F]6F]8F]6F]7F]3F]1F]7F]4F]2F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[BD]]1[BD]]8[BD]]1[BD]]5[BD]]6[BD]]8[BD]]6[BD]]7[BD]]3[BD]]1[BD]]7[BD]]4[BD]]1[BD]]8[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[1F]1F]8F]1F]5F]6F]8F]6F]7F]3F]1F]7F]4F]1F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[5[9[9[9[9[9[9[...
result:
ok correct (length = 37993)
Test #79:
score: 0
Accepted
time: 2ms
memory: 3724kb
input:
98265127056417
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[4F]2F]5F]8F]3F]1F]4F]1F]8F]7F]1F]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]1B]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]]1[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]]1[9[9[9[9[9[9[9...
result:
ok correct (length = 43398)
Test #80:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
77266484892551
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]3F]3F]5F]1F]7F]2F]6F]4F]8F]2F]6F]5F]6F]2F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]6B]1B]7B]]8B]1B]3B]2B]4B]1B]3B]2B]7B]6B9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[DF]]6[DF]]1[DF]]7[DF]]]8[DF]]1[DF]]3[DF]]2[DF]]4[DF]]1[DF]]3[DF]]2[DF]]7[DF]]5[DF]D]]6[9[9[9[9[9[9...
result:
ok correct (length = 41192)
Test #81:
score: 0
Accepted
time: 2ms
memory: 3672kb
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]1F]3F]5F]4F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]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[1[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...
result:
ok correct (length = 28844)
Test #82:
score: 0
Accepted
time: 1ms
memory: 3628kb
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[1[9[9[9[9[9[9[9[9[9...
result:
ok correct (length = 42214)
Test #83:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
70846470793836
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]7F]7F]5F]5F]1F]1F]]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]]1[BD]]1[BD]]]6[BD]]7[BD]]2[BD]]6[BD]]1[BD]]8[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]7F]7F]5F]5F]1F]1F]]6F]7F]2F]6F]1F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[...
result:
ok correct (length = 35827)
Subtask #8:
score: 1
Accepted
Test #84:
score: 1
Accepted
time: 2ms
memory: 3656kb
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]1B]6B]]2B]7B]6B]5B]8B]1B]3B]7B]1B]2B]5B9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[DF]]1[DF]]6[DF]]]2[DF]]7[DF]]6[DF]]5[DF]]8[DF]]1[DF]]3[DF]]7[DF]]1[DF]]2[DF]]4[DF]D]]1[9[9[9[9[9[9[9[9...
result:
ok correct (length = 34195)
Test #85:
score: 0
Accepted
time: 0ms
memory: 3664kb
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]1B]6B]]2B]7B]6B]5B]8B]1B]3B]7B]1B]2B]4B9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[DF]]1[DF]]6[DF]]]2[DF]]7[DF]]6[DF]]5[DF]]8[DF]]1[DF]]3[DF]]7[DF]]1[DF]]2[DF]]3[DF]D]]1[9[9[9[9[9[9[9...
result:
ok correct (length = 38724)
Test #86:
score: 0
Accepted
time: 2ms
memory: 3712kb
input:
70368744177663
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]1F]3F]5F]]2F]2F]7F]5F]5F]]2F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]4B]7B]5B]1B]7B]]1B]1B]3B]7B]2B]4B]5B]8B9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[DF]]4[DF]]7[DF]]5[DF]]1[DF]]7[DF]]]1[DF]]1[DF]]3[DF]]7[DF]]2[DF]]4[DF]]5[DF]]7[DF]D]]4[9[9[9[9[9[9[9[9[9...
result:
ok correct (length = 35732)
Test #87:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
70368744177665
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]1F]3F]5F]]2F]2F]7F]5F]5F]]2F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]4B]7B]5B]1B]7B]]1B]1B]3B]7B]2B]4B]6B]9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[DF]]4[DF]]7[DF]]5[DF]]1[DF]]7[DF]]]1[DF]]1[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...
result:
ok correct (length = 34140)
Test #88:
score: 0
Accepted
time: 2ms
memory: 3836kb
input:
52776558133244
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]2F]6F]7F]7F]1F]4F]6F]2F]1F]1F]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]]1[BD]]4[BD]]6[BD]]2[BD]]1[BD]]1[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]1F]4F]6F]2F]1F]1F]8F]2F]3F]7F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[...
result:
ok correct (length = 40843)
Test #89:
score: 0
Accepted
time: 2ms
memory: 3708kb
input:
52776558133246
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]2F]6F]7F]7F]1F]4F]6F]2F]1F]1F]8F]2F]4F]1F9[9[9[9[9[9[9[9[9[9[9[9[9[9[2[BD]]2[BD]]6[BD]]7[BD]]7[BD]]1[BD]]4[BD]]6[BD]]2[BD]]1[BD]]1[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]1F]4F]6F]2F]1F]1F]8F]2F]4F]9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9...
result:
ok correct (length = 41162)
Test #90:
score: 0
Accepted
time: 2ms
memory: 3736kb
input:
52776558133248
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[2F]2F]6F]7F]7F]1F]4F]6F]2F]1F]1F]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]]1[BD]]4[BD]]6[BD]]2[BD]]1[BD]]1[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]1F]4F]6F]2F]1F]1F]8F]2F]4F]2F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[...
result:
ok correct (length = 33693)
Test #91:
score: 0
Accepted
time: 2ms
memory: 3640kb
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[1[9[9[9[9[...
result:
ok correct (length = 39500)
Test #92:
score: 0
Accepted
time: 1ms
memory: 3700kb
input:
68630377364884
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]]]]]]]]]]]]]1F9[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[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]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[1[DF]]4[DF]]4[DF]]4[DF]]4[DF]]4[...
result:
ok correct (length = 39190)
Test #93:
score: 0
Accepted
time: 3ms
memory: 3736kb
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[1[9[9[9[9[...
result:
ok correct (length = 40179)
Test #94:
score: 0
Accepted
time: 1ms
memory: 3688kb
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[1[9[9[9[9[...
result:
ok correct (length = 40833)
Test #95:
score: 0
Accepted
time: 3ms
memory: 3688kb
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[1[9[9[9[9[9[...
result:
ok correct (length = 40535)
Test #96:
score: 0
Accepted
time: 2ms
memory: 3664kb
input:
27729611060505
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[1F]1F]8F]1F]5F]6F]8F]6F]7F]3F]1F]7F]4F]1F]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]4...
result:
ok correct (length = 37696)
Test #97:
score: 0
Accepted
time: 1ms
memory: 3640kb
input:
27729611060507
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[1F]1F]8F]1F]5F]6F]8F]6F]7F]3F]1F]7F]4F]1F]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]1B]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]4...
result:
ok correct (length = 37674)
Test #98:
score: 0
Accepted
time: 1ms
memory: 3632kb
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[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]7B]4B]8B]1B]8B]2B]2B]4B]3B]6B]8B]8B]1B]2B9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[DF]]7[DF]]4[DF]]8[DF]]1[DF]]8[DF]]2[DF]]2[DF]]4[DF]]3[DF]]6[DF]]8[DF]]8[DF]]1[DF]]1[DF]D]]7[9[9[9[...
result:
ok correct (length = 40374)
Test #99:
score: 0
Accepted
time: 3ms
memory: 3648kb
input:
89212498272650
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]8F]]7F]7F]8F]]4F]1F]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]]1[BD]]5[BD]]7[BD]]6[BD]]3[BD]]5[BD]]1[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]8F]]7F]7F]8F]]4F]1F]5F]7F]6F]3F]5F]1F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[...
result:
ok correct (length = 37736)
Test #100:
score: 0
Accepted
time: 3ms
memory: 3652kb
input:
70436663494221
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]6F]3F]5F]]3F]]5F]]1F]7F]7F]2F]3F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]4B]7B]6B]2B]4B]6B]]2B]4B]5B]3B]8B]1B]2B9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[DF]]4[DF]]7[DF]]6[DF]]2[DF]]4[DF]]6[DF]]]2[DF]]4[DF]]5[DF]]3[DF]]8[DF]]1[DF]]1[DF]D]]4[9[9[9[9[9[9[9[9[9[9...
result:
ok correct (length = 38981)
Test #101:
score: 0
Accepted
time: 3ms
memory: 3744kb
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]]1F]]6F]1F]2F]1F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]6B]7B]2B]1B]7B]7B]7B]]]4B]7B]5B]1B]1B9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[DF]]6[DF]]7[DF]]2[DF]]1[DF]]7[DF]]7[DF]]7[DF]]]]4[DF]]7[DF]]5[DF]]1[DF]]D]]6[9[9[9[9[9[9[9[9[9[9[9[9[9[9...
result:
ok correct (length = 36888)
Test #102:
score: 0
Accepted
time: 2ms
memory: 3712kb
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]1F]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]]1[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]1F]4F]7F]8F]5F9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[...
result:
ok correct (length = 41484)
Subtask #9:
score: 1
Accepted
Test #103:
score: 1
Accepted
time: 0ms
memory: 3844kb
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]1F]4F]]6F]3F]6F]8F]2F]5F]2F]]1F9[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]]1[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]1F]4F]]6F]3F]6F]8F]2...
result:
ok correct (length = 72424)
Test #104:
score: 0
Accepted
time: 5ms
memory: 3640kb
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]1F]4F]]6F]3F]6F]8F]2F]5F]1F]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]]1[BD]]4[BD]]]6[BD]]3[BD]]6[BD]]8[BD]]2[BD]]5[BD]]1[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]1F]4F]]6...
result:
ok correct (length = 80372)
Test #105:
score: 0
Accepted
time: 4ms
memory: 3764kb
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]1F]2F]1F]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]]1[BD]]2[BD]]1[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]1F]2F]1F]2...
result:
ok correct (length = 80352)
Test #106:
score: 0
Accepted
time: 3ms
memory: 3752kb
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]1F]2F]1F]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]]1[BD]]2[BD]]1[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]1F]2F]1F]2...
result:
ok correct (length = 65085)
Test #107:
score: 0
Accepted
time: 3ms
memory: 3804kb
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]1F]2F]1F]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]]1[BD]]2[BD]]1[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]1F]2F]1F]2...
result:
ok correct (length = 62945)
Test #108:
score: 0
Accepted
time: 3ms
memory: 3824kb
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]1F]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]1B]3B]1B]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[...
result:
ok correct (length = 82128)
Test #109:
score: 0
Accepted
time: 3ms
memory: 3616kb
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]1F]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]1B]3B]1B]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]]...
result:
ok correct (length = 68487)
Test #110:
score: 0
Accepted
time: 4ms
memory: 3676kb
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[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]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[1[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: 3672kb
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[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]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[1[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: 3ms
memory: 3680kb
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[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]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[1[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: 0ms
memory: 3768kb
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]1F]1F]1F]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]1B]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]]1[DF]]5[DF]]...
result:
ok correct (length = 84224)
Test #114:
score: 0
Accepted
time: 3ms
memory: 3836kb
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]1F]1F]1F]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]1B]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]]1[DF]]5[DF]]]5...
result:
ok correct (length = 83719)
Test #115:
score: 0
Accepted
time: 0ms
memory: 3700kb
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]1F]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]]1[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]1F]7F]4F]2F]]7F]5F]8...
result:
ok correct (length = 72337)
Test #116:
score: 0
Accepted
time: 1ms
memory: 3680kb
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]1F]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]]1[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]1F]7F]4F]2F]]7F]5F]8...
result:
ok correct (length = 73223)
Test #117:
score: 0
Accepted
time: 3ms
memory: 3768kb
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]1F]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]]1[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]1F]7F]4F]2F]]7F]5F]8F]...
result:
ok correct (length = 73186)
Test #118:
score: 0
Accepted
time: 3ms
memory: 3720kb
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]1F]]3F]7F]4F]1F]6F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]8B]2B]1B]3B]3B]1B]1B]4B]8B]5B]5B]]1B]8B]2B]]8B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[DF]]8[DF]]2[DF]]1[DF]]3[DF]]3[DF]]1[DF]]1[DF]]4[DF]]8[DF]]5[DF...
result:
ok correct (length = 68337)
Test #119:
score: 0
Accepted
time: 2ms
memory: 3756kb
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]1F]]3F]7F]4F]1F]8F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]8B]2B]1B]3B]3B]1B]1B]4B]8B]5B]5B]]1B]8B]2B]1B]9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[DF]]8[DF]]2[DF]]1[DF]]3[DF]]3[DF]]1[DF]]1[DF]]4[DF]]8[DF]]5[DF...
result:
ok correct (length = 68720)
Test #120:
score: 0
Accepted
time: 3ms
memory: 3588kb
input:
985959861360127245
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]1F]]6F]6F]2F]1F]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]1B]]6B]2B]8B]]2B]1B]6B]7B]]1B]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]]1[DF]]]6[DF]]2[DF]]8[DF]]]2...
result:
ok correct (length = 89268)
Test #121:
score: 0
Accepted
time: 1ms
memory: 3736kb
input:
985959861360127247
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]1F]]6F]6F]2F]1F]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]1B]]6B]2B]8B]]2B]1B]6B]7B]]1B]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]]1[DF]]]6[DF]]2[DF]]8[DF]]...
result:
ok correct (length = 88310)
Test #122:
score: 0
Accepted
time: 4ms
memory: 3636kb
input:
985959861360127249
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]1F]]6F]6F]2F]1F]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]1B]]6B]2B]8B]]2B]1B]6B]7B]]1B]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]]1[DF]]]6[DF]]2[DF]]8[DF]]...
result:
ok correct (length = 88285)
Test #123:
score: 0
Accepted
time: 1ms
memory: 3812kb
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]]1F]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]]]1[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]]1F]7...
result:
ok correct (length = 69190)
Test #124:
score: 0
Accepted
time: 3ms
memory: 3720kb
input:
856433460734226894
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]6F]3F]1F]5F]7F]]2F]]6F]5F]5F]6F]8F]8F]6F]1F]1F]3F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5[BD]]6[BD]]3[BD]]1[BD]]5[BD]]7[BD]]]2[BD]]]6[BD]]5[BD]]5[BD]]6[BD]]8[BD]]8[BD]]6[BD]]1[BD]]1[BD]]2[BD]B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]6F]3F]1F]5F]7F]]2F]]6F]5F]5F]6F]8...
result:
ok correct (length = 74288)
Test #125:
score: 0
Accepted
time: 0ms
memory: 3828kb
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]1F]1F]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]1B]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]]1[DF]]7[DF]]5[DF]]6[DF]]6[...
result:
ok correct (length = 65368)
Test #126:
score: 0
Accepted
time: 4ms
memory: 3808kb
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]1F]3F]3F]4F]5F]6F]6F]1F]]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]]1[BD]]3[BD]]3[BD]]4[BD]]5[BD]]6[BD]]6[BD]]1[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]1F]3F]3F]4F]5F]6F]6F...
result:
ok correct (length = 80525)
Test #127:
score: 0
Accepted
time: 4ms
memory: 3684kb
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]]1F]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]1B]3B]6B]]]6B]1B]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]]1[DF]]3[DF]]6[DF]]]]6[DF]]1[DF]]...
result:
ok correct (length = 80033)
Subtask #10:
score: 1
Accepted
Test #128:
score: 1
Accepted
time: 3ms
memory: 3792kb
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]1F]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]1B]8B]]6B]4B]7B]6B]3B]4B]1B]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]]1[DF]]8[DF]]]6[DF]]4...
result:
ok correct (length = 72271)
Test #129:
score: 0
Accepted
time: 2ms
memory: 3740kb
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]1F]4F]]6F]3F]6F]8F]2F]5F]1F]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]1B]8B]]6B]4B]7B]6B]3B]4B]1B]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]]1[DF]]8[DF]]]6[D...
result:
ok correct (length = 79956)
Test #130:
score: 0
Accepted
time: 3ms
memory: 3768kb
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]1F]2F]1F]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[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]8B]2B]4B]8B]2B]2B]]5B]5B]1B]1B]3B]8B]1B]1B]4B]1B]7B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[DF]]8[DF]]2[DF]]4[DF]]8[DF]]2[DF]]2[DF]]]5[D...
result:
ok correct (length = 64956)
Test #131:
score: 0
Accepted
time: 1ms
memory: 3780kb
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]1F]2F]1F]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[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]8B]2B]4B]8B]2B]2B]]5B]5B]1B]1B]3B]8B]1B]1B]4B]1B]8B9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1[DF]]8[DF]]2[DF]]4[DF]]8[DF]]2[DF]]2[DF]]]5[D...
result:
ok correct (length = 62812)
Test #132:
score: 0
Accepted
time: 4ms
memory: 3940kb
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]1F]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]]1[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]1...
result:
ok correct (length = 82147)
Test #133:
score: 0
Accepted
time: 4ms
memory: 3864kb
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]1F]7F]6F]3F]4F]2F]6F]3F]4F]3F]5F]1F9[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]]1[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]1F]7F]...
result:
ok correct (length = 82513)
Test #134:
score: 0
Accepted
time: 3ms
memory: 3728kb
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]1F]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]]1[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]1...
result:
ok correct (length = 68616)
Test #135:
score: 0
Accepted
time: 3ms
memory: 3636kb
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: 3ms
memory: 3708kb
input:
450283905890997364
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[3F]]]]]]]]]]]]]]]]]]1F9[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[1[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[1B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4B]4...
result:
ok correct (length = 77084)
Test #137:
score: 0
Accepted
time: 4ms
memory: 3684kb
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]1F]1F]1F]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]]1[BD]]1[BD]]1[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]1F]1F]1F]8F]7F]3F...
result:
ok correct (length = 84708)
Test #138:
score: 0
Accepted
time: 0ms
memory: 3760kb
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]1F]1F]1F]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]]1[BD]]1[BD]]1[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]1F]1F]1F]8F]7F]3F...
result:
ok correct (length = 84722)
Test #139:
score: 0
Accepted
time: 3ms
memory: 3708kb
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]1F]1F]1F]8F]7F]3F]5F]]8F]5F]5F]1F9[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]]1[BD]]1[BD]]1[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]1F]1F]1F]8F]7F]3F]5F]]...
result:
ok correct (length = 84217)
Test #140:
score: 0
Accepted
time: 0ms
memory: 3692kb
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]1F]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]1B]]3B]7B]4B]1B]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]]1...
result:
ok correct (length = 72763)
Test #141:
score: 0
Accepted
time: 3ms
memory: 3708kb
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]1F]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]1B]]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]]1[D...
result:
ok correct (length = 72735)
Test #142:
score: 0
Accepted
time: 1ms
memory: 3772kb
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]1F]]3F]7F]4F]1F]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]]1[BD]]]3[BD]]7[BD]]4[BD]]1[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]1F]]3F]7F]4F]1F]4F9[...
result:
ok correct (length = 68406)
Test #143:
score: 0
Accepted
time: 3ms
memory: 3820kb
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]1F]]3F]7F]4F]1F]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]]1[BD]]]3[BD]]7[BD]]4[BD]]1[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]1F]]3F]7F]4F]1F]6F9[...
result:
ok correct (length = 68778)
Test #144:
score: 0
Accepted
time: 3ms
memory: 3732kb
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]1F]]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]]1[BD]]]3[BD]]7[BD]]4[BD]]1[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]1F]]3F]7F]4F]1F]8F9[9[...
result:
ok correct (length = 69154)
Test #145:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
985959861360127246
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]1F]]6F]6F]2F]1F]3F]5F]7F]]4F]3F]4F]5F]]3F]1F9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6[BD]]5[BD]]1[BD]]]6[BD]]6[BD]]2[BD]]1[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]1F]]6F]6F]2F]1F]3F]5F]7F]]4F]3F]4F]5F]]3F]...
result:
ok correct (length = 89771)
Test #146:
score: 0
Accepted
time: 5ms
memory: 3632kb
input:
985959861360127248
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]5F]1F]]6F]6F]2F]1F]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]]1[BD]]]6[BD]]6[BD]]2[BD]]1[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]1F]]6F]6F]2F]1F]3F]5F]7F]]4F]3F]4F]5F...
result:
ok correct (length = 88813)
Test #147:
score: 0
Accepted
time: 4ms
memory: 3816kb
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]]1F]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]]]1[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]]1F]4F]3F]4F]8F]8F]3F...
result:
ok correct (length = 82947)
Test #148:
score: 0
Accepted
time: 0ms
memory: 3724kb
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]1B]1B]8B]4B]2B]7B]1B]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[...
result:
ok correct (length = 80665)
Test #149:
score: 0
Accepted
time: 3ms
memory: 3624kb
input:
837375032877975620
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[5F]5F]1F]8F]]6F]1F]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]]1[BD]]8[BD]]]6[BD]]1[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]1F]8F]]6F]1F]8F]4F]]]6F]]3F]6F]3F]8F]4F]7F9[...
result:
ok correct (length = 81776)
Test #150:
score: 0
Accepted
time: 3ms
memory: 3744kb
input:
925630830357844941
output:
9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[9[6F]1F]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]1B]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: 3ms
memory: 3684kb
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]]1F]7F]]5F]1F]1F]7F]1F]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]]]1[BD]]7[BD]]]5[BD]]1[BD]]1[BD]]7[BD]]1[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]]1F]7F]]5F]1F]1F]7F]1F]3F]5...
result:
ok correct (length = 83278)
Extra Test:
score: 0
Extra Test Passed