QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#593820 | #7643. esreveR Order | ucup-team3519# | AC ✓ | 1ms | 3892kb | C++20 | 2.2kb | 2024-09-27 16:13:57 | 2024-09-27 16:13:58 |
Judging History
answer
#pragma GCC optimize(3,"Ofast","inline")
#include<bits/stdc++.h>
using namespace std;
#define ll long long
const int N=500005;
const ll mod=998244353;
using ull=unsigned long long;
ull getrevbit(ll x){
return (7-x/8)*8+x%8;
}
ull reverse(ull x){
ull ans=0;
for(int i=0;i<=63;i++){
if(x&(1ull<<i)){
ll p=i/8,g=i%8;
ans^=(1ull<<(getrevbit(i)));
}
}
return ans;
}
ull setrev(ull x,int pass){
ull y=reverse(x);
if(x>y)swap(x,y);
if(pass==0)return x;
return y;
}
ull encode(vector<ull>&pre,int id,int len){
ull ans=0;
if(len==16){
for(int i=id;i<id+16;i++){
if(pre[i]>reverse(pre[i])){
ans^=(1ull<<(i-id));
ans^=(1ull<<(getrevbit(i-id)));
}
}
return ans;
}
else if(len==64){
for(int i=id;i<id+64;i++){
if(pre[i]>reverse(pre[i])){
ans^=(1ull<<(i-id));
}
}
return ans;
}
assert(0);
return 0;
}
void decode(ull pass,vector<ull>&code,int id,int len){
if(len==16){
// cout<<len<<' '<<pass<<' '<<id<<'\n';
for(int i=id;i<id+16;i++){
if(pass&(1ull<<(i-id))){
code[i]=setrev(code[i],1);
}
else{
code[i]=setrev(code[i],0);
}
}
}
else if(len==64){
// cout<<len<<' '<<pass<<' '<<id<<'\n';
for(int i=id;i<id+64;i++){
if(pass&(1ull<<(i-id))){
code[i]=setrev(code[i],1);
// cout<<i<<' ';
}
else{
code[i]=setrev(code[i],0);
}
}
// cout<<'\n';
}
// assert(0);
// return 0;
}
void solve(){
string s;
cin>>s;
if(s=="decode"){
int n;
cin>>n;
vector<ull>code(1055+17);
for(int i=0;i<n;i++){
cin>>code[i];
}
decode(code[0],code,1,16);
for(int i=1;i<=16;i++){
decode(code[i],code,(i-1)*64+17,64);
}
//cout<<n-17<<'\n';
for(int i=17;i<n;i++){
cout<<code[i]<<' ';
}
}
else if(s=="encode"){
int n;
cin>>n;
vector<ull>pre(1055),code(n+18);
for(int i=0;i<n;i++){
cin>>pre[i];
code[i+17]=pre[i];
}
for(int i=0;i<1024;i+=64){
code[1+i/64]=encode(pre,i,64);
}
code[0]=encode(code,1,16);
cout<<n+17<<'\n';
for(int i=0;i<n+17;i++){
cout<<code[i]<<' ';
}
cout<<'\n';
}
}
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
// cout<<reverse(2023);
// cout<<reverse(720575940379279360);
solve();
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3608kb
First Run Input
encode 3 15 10 2023
First Run Output
20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 15 10 2023
Second Run Input
decode 20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 15 10 2023
Second Run Output
15 10 2023
result:
ok correct answer!
Test #2:
score: 100
Accepted
time: 0ms
memory: 3608kb
First Run Input
encode 3 10 15 2023
First Run Output
20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10 15 2023
Second Run Input
decode 20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10 15 2023
Second Run Output
10 15 2023
result:
ok correct answer!
Test #3:
score: 100
Accepted
time: 0ms
memory: 3676kb
First Run Input
encode 2 0 18446744073709551615
First Run Output
19 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18446744073709551615
Second Run Input
decode 19 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18446744073709551615
Second Run Output
0 18446744073709551615
result:
ok correct answer!
Test #4:
score: 100
Accepted
time: 0ms
memory: 3636kb
First Run Input
encode 1 15294812614394108628
First Run Output
18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 15294812614394108628
Second Run Input
decode 18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 15294812614394108628
Second Run Output
15294812614394108628
result:
ok correct answer!
Test #5:
score: 100
Accepted
time: 1ms
memory: 3880kb
First Run Input
encode 1000 3121047760185282603 15342468685041132244 2946084834383553064 16497371564815217380 1737099509116836632 7254740756410367588 6912789008064777823 68696180012282880 17403862934625552113 17981474029810688761 11408678755067367070 6884603394053802847 9415479823797299842 12724980314795317424 4343...
First Run Output
1017 2754514122090494502 4874624728071476838 14502828782849650333 10217139234474970180 1876797200091101902 99783214832910849 2886835291802355215 25909219163297640 579141800364630220 4705348468402597720 16736178047116284053 8813835811659221136 9980306079435229449 2928609901657921560 13295190991469900...
Second Run Input
decode 1017 2754514122090494502 4874624728071476838 11344022451209454793 4921473707325704845 14896465120236997402 108835305821331969 2886835291802355215 25909219163297640 14726858903065594120 6390485290737290305 16736178047116284053 10414732566636024186 9980306079435229449 1736141410966676520 120658...
Second Run Output
3121047760185282603 15342468685041132244 2946084834383553064 16497371564815217380 1737099509116836632 7254740756410367588 6912789008064777823 68696180012282880 17403862934625552113 17981474029810688761 11408678755067367070 6884603394053802847 9415479823797299842 12724980314795317424 4343676425746292...
result:
ok correct answer!
Test #6:
score: 100
Accepted
time: 1ms
memory: 3872kb
First Run Input
encode 1000 2959543855015858729 1696588383057026327 13887516684624771776 4107504863913902137 2801614046935507238 11387178367909563806 11556129900970532768 5205368401715281224 10357494830429897083 13218483460617328311 17758885595442813174 15522412733037308631 4609285057964209983 6122463529806835958 1...
First Run Output
1017 536491305610539527 5507340650811932942 9032340170365227344 3415435235754927879 4745075068066791597 504711575001836166 1304395363843796498 4684677523316761028 457234666340647648 12477578079760306657 1247061449930217741 602656085822210541 10092743986634711283 451542157253743104 521067371679692114...
Second Run Input
decode 1017 536491305610539527 5507340650811932942 5787438407513889149 533542742917146159 12466156495066945857 9667543804270870791 1304395363843796498 4684677523316761028 16177557315458455558 16235846698826672557 1247061449930217741 17077976743589993736 10092743986634711283 5129342861657094 43294076...
Second Run Output
2959543855015858729 1696588383057026327 13887516684624771776 4107504863913902137 2801614046935507238 11387178367909563806 11556129900970532768 5205368401715281224 10357494830429897083 13218483460617328311 17758885595442813174 15522412733037308631 4609285057964209983 6122463529806835958 1817420352217...
result:
ok correct answer!
Test #7:
score: 100
Accepted
time: 1ms
memory: 3640kb
First Run Input
encode 1000 11680746664093751970 5824248678120130908 17626250863570165236 10045289755533338763 7551074539406281320 679147484887477257 15604658746861719256 14804121544777963213 12775443214601374641 16518531288873472 17672220047006122229 5320248648820184393 9690327126946183814 9082174046062392190 3603...
First Run Output
1017 7448109358740692327 8794776089715574592 17899986934727312241 7501005243114588196 19864765430491845 2527147589578524985 2674092564992461568 15045472080497934754 369088059867386636 11539500635364087379 3027733539551573370 13860180660105678873 10194304862635270997 4721569680546563132 7028056693703...
Second Run Input
decode 1017 7448109358740692327 8794776089715574592 8143509129743788536 2596378848764106856 14261219003615823360 4110045809791930915 2674092564992461568 15045472080497934754 924147819449884421 6005063434726155424 3027733539551573370 1842067084234742208 10194304862635270997 4360676067692938817 984079...
Second Run Output
11680746664093751970 5824248678120130908 17626250863570165236 10045289755533338763 7551074539406281320 679147484887477257 15604658746861719256 14804121544777963213 12775443214601374641 16518531288873472 17672220047006122229 5320248648820184393 9690327126946183814 9082174046062392190 3603193130393654...
result:
ok correct answer!
Test #8:
score: 100
Accepted
time: 1ms
memory: 3876kb
First Run Input
encode 1000 3205299181656898348 12976875720891373492 13022766600023544756 11341018420341566428 6524953888141577562 12639723579518314927 388360823860605957 16028102076043194334 17021357338254522604 17358717917010294000 17727251730658821110 1692451494697027607 16668389809546941159 9881415132891652489 ...
First Run Output
1017 2107966100586119453 5784381728793092613 12268471711024306654 14252612650147553460 16598331746163047954 4724336355611790376 9525739506304134549 8401711993628661895 117530655228270404 14233286535355083796 7888111954833821845 1416156925883533860 5143605589333538984 4440120178525277858 220389203091...
Second Run Input
decode 1017 2107966100586119453 5784381728793092613 16021986820457644714 13015482181109402565 1314526670452840934 2903894338276069441 9525739506304134549 8401711993628661895 4942446722007539969 1489618725660952261 7888111954833821845 2615042795331888915 5143605589333538984 11677283054807260733 59151...
Second Run Output
3205299181656898348 12976875720891373492 13022766600023544756 11341018420341566428 6524953888141577562 12639723579518314927 388360823860605957 16028102076043194334 17021357338254522604 17358717917010294000 17727251730658821110 1692451494697027607 16668389809546941159 9881415132891652489 897510951455...
result:
ok correct answer!
Test #9:
score: 100
Accepted
time: 1ms
memory: 3644kb
First Run Input
encode 1000 11745468587528356003 2281514582009817375 8153897824941385841 3537801378424817716 15094875450944541137 2721439207979308907 15182962879679804626 16263387655845753825 10297607884981635726 2839756507535605799 4281233445445231670 17958831294784213241 2533099538757708909 198318855604518914 673...
First Run Output
1017 3254413680728615469 15319647928296746321 5714757393892524630 16214109310918472842 12055017183693543449 7247417780000384131 13854235412254509633 5622208043104144000 10393953494903255513 493484417526950117 14087859733831822144 812660394291497281 12939125491586046593 9286431949896500656 9250102395...
Second Run Input
decode 1017 3254413680728615469 15319647928296746321 6215671553634684495 9958767343181366497 1844303363676982439 9503938314751743076 13854235412254509633 5622208043104144000 15668484158206590608 16530711542349814022 14087859733831822144 4686495330670626571 12939125491586046593 12701676129250500736 3...
Second Run Output
11745468587528356003 2281514582009817375 8153897824941385841 3537801378424817716 15094875450944541137 2721439207979308907 15182962879679804626 16263387655845753825 10297607884981635726 2839756507535605799 4281233445445231670 17958831294784213241 2533099538757708909 198318855604518914 673494910255867...
result:
ok correct answer!
Test #10:
score: 100
Accepted
time: 1ms
memory: 3816kb
First Run Input
encode 1000 12145426503223053736 11223533449112258427 912503477502847244 8194754341178136232 1745167427925456920 16227738722877181921 7835300168023129196 11430255544479756296 4334103216084281862 2068776735956841756 8031840207725033071 6851343563018212447 5341289100182954058 13797007934729844927 1695...
First Run Output
1017 16305845400848321250 15084546910909188070 2239417191645208584 3477222050867252100 581180296728364060 4260336552757461611 11824276392189702720 2319357235808388865 4864039040791765505 181979098680984597 3143974154713319168 5153453941560443986 8522059642070954251 1500869621484190172 51470286654688...
Second Run Input
decode 1017 16305845400848321250 15084546910909188070 603739786414527519 9514726379087937840 2037020733003272200 7746957454637866811 11824276392189702720 2319357235808388865 99649429183234115 1514455964609512962 3143974154713319168 5909862084576773191 8522059642070954251 15886936980977144852 7785993...
Second Run Output
12145426503223053736 11223533449112258427 912503477502847244 8194754341178136232 1745167427925456920 16227738722877181921 7835300168023129196 11430255544479756296 4334103216084281862 2068776735956841756 8031840207725033071 6851343563018212447 5341289100182954058 13797007934729844927 1695908798107178...
result:
ok correct answer!
Test #11:
score: 100
Accepted
time: 1ms
memory: 3572kb
First Run Input
encode 1000 1319585769567178770 11683773173006280098 1546068050386102206 8237654235626754674 1093085146164964111 4487194325809812542 9572041562208720516 8198339197715138161 8775187665665181561 5453856317584289611 9012706293234275197 6962133233774075488 14416342846420488648 12023115692119218854 87984...
First Run Output
1017 16589290702395947494 801730550138289984 12705220844555651089 8407134361848213587 7289440931772139965 7143900434555507422 2883564359691380257 12154469851621515368 1492753432803711498 9224500686255910224 2626195688069724102 2235089575382157694 4762233218266333207 1759716000824145165 6416689829669...
Second Run Input
decode 1017 16589290702395947494 801730550138289984 1281450016032117424 6012571310149119092 13657579311745149285 16038004783192941667 2883564359691380257 12154469851621515368 764066656112850708 5795465499404010624 2626195688069724102 9082024822604694559 4762233218266333207 987890437325089560 1082648...
Second Run Output
1319585769567178770 11683773173006280098 1546068050386102206 8237654235626754674 1093085146164964111 4487194325809812542 9572041562208720516 8198339197715138161 8775187665665181561 5453856317584289611 9012706293234275197 6962133233774075488 14416342846420488648 12023115692119218854 87984541140309182...
result:
ok correct answer!
Test #12:
score: 100
Accepted
time: 1ms
memory: 3584kb
First Run Input
encode 1000 5876429571674705233 1160709710205641488 8949179324326013918 3807785702791436084 10358659327093653462 6183776768104649045 9773192299199242631 4768204253843233314 869112494835896076 3850247465723981365 12656644485278573999 9985246442807560600 4674662620886523712 15476787152353297656 199767...
First Run Output
1017 17876757245870479352 3207118610313512424 965481370904858381 297954594503135124 1513387277908023298 7276180035789608962 16138493317133896738 13485615674631546980 15998130650007855624 13849324535072243761 14683384347301922630 5846357056529660949 331850739412138446 11002851042221936979 35149776315...
Second Run Input
decode 1017 17876757245870479352 3207118610313512424 977010665872188941 10668902190641062404 186984062880120853 168892765037394532 16138493317133896738 13485615674631546980 640075746588951774 3548860336082727616 14683384347301922630 1548266856587862609 331850739412138446 6039657163087589784 12921675...
Second Run Output
5876429571674705233 1160709710205641488 8949179324326013918 3807785702791436084 10358659327093653462 6183776768104649045 9773192299199242631 4768204253843233314 869112494835896076 3850247465723981365 12656644485278573999 9985246442807560600 4674662620886523712 15476787152353297656 199767559453592770...
result:
ok correct answer!
Test #13:
score: 100
Accepted
time: 1ms
memory: 3836kb
First Run Input
encode 1000 4630576837261345600 3690007673192079155 10191688028902188685 13161084486177275994 13217699814043128503 16686700503527166951 14187412128529685444 5378307647117501258 381081194099329285 7835019377419533164 10828830188934852045 2418951383875555617 12869415733873449394 3981778763221189175 13...
First Run Output
1017 4054928514493728312 3568780604459303624 13296341073461010625 1685141323835816792 4841510430350315788 13339866606714886292 4710243675041777976 1619948483884613669 1099066794705527203 1088508458616514669 13928028369188309773 16902550877280796835 5256272525247650242 304011692982403941 335530997938...
Second Run Input
decode 1017 4054928514493728312 3568780604459303624 13934159652890052280 6393862507728167447 869583684976521283 10671374201484091577 4710243675041777976 1619948483884613669 11790944144403939343 7883788688078412559 13928028369188309773 11745469357280236010 5256272525247650242 7278881492691924996 1630...
Second Run Output
4630576837261345600 3690007673192079155 10191688028902188685 13161084486177275994 13217699814043128503 16686700503527166951 14187412128529685444 5378307647117501258 381081194099329285 7835019377419533164 10828830188934852045 2418951383875555617 12869415733873449394 3981778763221189175 13244959703789...
result:
ok correct answer!
Test #14:
score: 100
Accepted
time: 1ms
memory: 3680kb
First Run Input
encode 1000 14206023085971877050 5972347295337699666 16750030134568776936 31808836880920832 2212713974659790110 5122038573567789141 6021810187059330136 316820231069787396 9743056769613706887 12651574473802879919 10670777542814643481 12865788759884245938 14098797560825948355 1436584720745295635 18209...
First Run Output
1017 2834734490453038887 16483756071741611015 8615355393247386902 8084626147367330113 3358589916795956302 3747508089962177949 14419934304421610800 4839626895365509854 5805486355640815770 10451558591881581602 16618357179642563393 11014152616586521725 643068122039765101 17669030917624463463 1193552408...
Second Run Input
decode 1017 2834734490453038887 16483756071741611015 1629530675736776567 4693219854987833968 5687153632162323502 11323485080737939764 14419934304421610800 4839626895365509854 11101471934775005520 2491695805420080017 16618357179642563393 9019746904843606680 643068122039765101 7458073450956076533 6999...
Second Run Output
14206023085971877050 5972347295337699666 16750030134568776936 31808836880920832 2212713974659790110 5122038573567789141 6021810187059330136 316820231069787396 9743056769613706887 12651574473802879919 10670777542814643481 12865788759884245938 14098797560825948355 1436584720745295635 18209664680933133...
result:
ok correct answer!
Test #15:
score: 100
Accepted
time: 1ms
memory: 3576kb
First Run Input
encode 1000 9347075476817688449 4650888162489830208 14851788601390554770 16502989544831224549 16381526915592640227 11928081658354305445 16698603634079928807 6636914485074045532 3905297710570680886 4761937183601478210 602043399153080840 13119846281992737718 9982574920216512906 6465339115666258265 388...
First Run Output
1017 8941897060144126076 5594035251188565077 9394531107172657610 14416560772901068576 5053849745262602819 12649048040792142089 10610520036168780864 18141314773922914328 2964801125448564522 7832821093624162669 4888134187360482248 12721088088171975148 220711710376742402 7824055692433064232 96033725942...
Second Run Input
decode 1017 8941897060144126076 5594035251188565077 14567282781334036610 2332751390111764936 4857856907578253894 662386427118652079 10610520036168780864 18141314773922914328 3044163250126464297 7902031577163871084 4888134187360482248 17046671644805991088 220711710376742402 2918711727688356972 138203...
Second Run Output
9347075476817688449 4650888162489830208 14851788601390554770 16502989544831224549 16381526915592640227 11928081658354305445 16698603634079928807 6636914485074045532 3905297710570680886 4761937183601478210 602043399153080840 13119846281992737718 9982574920216512906 6465339115666258265 388231739128308...
result:
ok correct answer!
Test #16:
score: 100
Accepted
time: 1ms
memory: 3624kb
First Run Input
encode 1000 816711338553922827 3136530477208405803 1897023433554023194 17975009636137635621 11452821585868157086 16899731438459979754 4011321460883199543 9514493131970120324 11223671094700651163 16143736757262944992 14578540197992026570 604575309861380872 15340457260098839764 11150070697970285978 17...
First Run Output
1017 3767261088295438388 1308652024553835868 588244035421272146 11858272721432490135 2885123463558870830 16854898337132331587 4834623292552025088 227811399959583395 2999708120537935996 690179074982418057 3749479871093343104 3768328225348027747 13701419624187626570 5671916783504826988 856671541269576...
Second Run Input
decode 1017 3767261088295438388 1308652024553835868 5978676272977160456 10894401400109568420 3330291023275625000 4846463150333159657 4834623292552025088 227811399959583395 8984826918878224681 9878289829538731017 3749479871093343104 7171404289205226292 13701419624187626570 7827926254303229518 9240136...
Second Run Output
816711338553922827 3136530477208405803 1897023433554023194 17975009636137635621 11452821585868157086 16899731438459979754 4011321460883199543 9514493131970120324 11223671094700651163 16143736757262944992 14578540197992026570 604575309861380872 15340457260098839764 11150070697970285978 17350319589017...
result:
ok correct answer!
Test #17:
score: 100
Accepted
time: 1ms
memory: 3884kb
First Run Input
encode 1000 15852042308351668955 11110270273771247747 1952170777025451803 12999077454378198708 10468936890965115281 3740726514366998835 13638413544957402813 10285421796981783950 9488163456704752771 6831060407290809438 9304289497016916865 11999488677836195494 17236300717840440076 16119040203783672287...
First Run Output
1017 8957378183863226236 803953118844170423 1489341643601484112 14541527444792411202 13559379571807113613 2620592830167553293 14559090123671027778 5191561194611177520 9627078081120468203 11607195451859205790 14212870153973698581 9232981178487887426 14742535651737337004 4048466146210008131 4563544918...
Second Run Input
decode 1017 8957378183863226236 803953118844170423 5771662540823374612 4757053198779469257 10182990879868267708 978708728875802148 14559090123671027778 5191561194611177520 16968475027634690693 11456761708442949025 14212870153973698581 4780187968367436416 14742535651737337004 4885291388872830776 4977...
Second Run Output
15852042308351668955 11110270273771247747 1952170777025451803 12999077454378198708 10468936890965115281 3740726514366998835 13638413544957402813 10285421796981783950 9488163456704752771 6831060407290809438 9304289497016916865 11999488677836195494 17236300717840440076 16119040203783672287 12671955530...
result:
ok correct answer!
Test #18:
score: 100
Accepted
time: 1ms
memory: 3888kb
First Run Input
encode 1000 7737460840718732534 8502306463064852341 2130649553756067072 12798637249919425969 17739899473744975204 17861748128772157943 7786375620166094444 11631750721236397217 8433942411902211189 14696106042371974859 3551708439366617649 12548046713943630766 7655435767445585121 17638494868075184116 1...
First Run Output
1017 14589973942820174538 4972040512080675518 17439239709220085778 4260129068381280912 6684626930078066688 2700637355179613577 6134467500317480132 4936838285119195905 1762038892875389192 10500166373812274358 7616622952148174922 1496727812692988245 5428389134851135745 13916167242512344425 48341340615...
Second Run Input
decode 1017 14589973942820174538 4972040512080675518 1306311434554049778 10419691311866322747 11347749309039708 9916259724806289957 6134467500317480132 4936838285119195905 619599618724164632 13115772158512314513 7616622952148174922 6147698269241918740 5428389134851135745 7576708532396368065 45204228...
Second Run Output
7737460840718732534 8502306463064852341 2130649553756067072 12798637249919425969 17739899473744975204 17861748128772157943 7786375620166094444 11631750721236397217 8433942411902211189 14696106042371974859 3551708439366617649 12548046713943630766 7655435767445585121 17638494868075184116 1798035698702...
result:
ok correct answer!
Test #19:
score: 100
Accepted
time: 1ms
memory: 3684kb
First Run Input
encode 1000 5776378122715867472 8860428478679807610 8981547657866880124 3887804736669348917 15875751532079952708 2861245578349082151 8735033493130313593 10531690036554104978 11209368434932931317 2817656194583435815 15283937566914793428 16210594600733767648 7083554101997751650 4895599144183105603 167...
First Run Output
1017 14199005200169045445 14498729483056750782 5245363285695999053 15566017037285366410 585148562910943784 5063283019699720800 5220977109197281481 1606739022021280008 2932242812281864708 5328485139363777539 11646329682180165292 7184323042885657861 2625639901416550672 9820387240057276583 106271252027...
Second Run Input
decode 1017 14199005200169045445 14498729483056750782 5561040646535826248 9987315924268090840 2889661184458169864 6922728042945397830 5220977109197281481 1606739022021280008 342907256748880168 273797851527901769 11646329682180165292 388956957401658211 2625639901416550672 12072008787394185608 4029107...
Second Run Output
5776378122715867472 8860428478679807610 8981547657866880124 3887804736669348917 15875751532079952708 2861245578349082151 8735033493130313593 10531690036554104978 11209368434932931317 2817656194583435815 15283937566914793428 16210594600733767648 7083554101997751650 4895599144183105603 167227700394038...
result:
ok correct answer!
Test #20:
score: 100
Accepted
time: 1ms
memory: 3876kb
First Run Input
encode 1000 13461592460131029434 17866002937817526519 123084316061775105 11639997235077351841 17297265609665146864 4395039646452547132 10238707525074687886 11110873080840760717 4577834621477644863 15099659004708222063 4877517018647736387 5634232609779232846 12480652015292515508 15942940958849847955 ...
First Run Output
1017 6437051242396013913 17494275249485769354 6568080949988972895 1801801052355087812 14781407301061724724 9828090108618099840 358049751237142689 5476734854082207754 12466424533265713857 9962239178752690446 257849359200692116 7638673074553534466 10318033307151565969 10090940572968820770 767694880075...
Second Run Input
decode 1017 6437051242396013913 17494275249485769354 6870551469179938395 14181145564401893657 3767865839556698829 9244965212055102600 358049751237142689 5476734854082207754 13946104486538969517 1047377432484200586 257849359200692116 195935844060889706 10318033307151565969 2459073895944686220 9543150...
Second Run Output
13461592460131029434 17866002937817526519 123084316061775105 11639997235077351841 17297265609665146864 4395039646452547132 10238707525074687886 11110873080840760717 4577834621477644863 15099659004708222063 4877517018647736387 5634232609779232846 12480652015292515508 15942940958849847955 114710144816...
result:
ok correct answer!
Test #21:
score: 100
Accepted
time: 1ms
memory: 3840kb
First Run Input
encode 1000 14431283794327455432 13389333092722914233 10532008078511253906 4472767059359175230 13103724614110534069 4836152019432633768 6719842759815348573 1919269018289742362 52784695629691648 15163385683618061098 15620477516589867300 13938605139475525569 10477448247346751377 2179249273432981022 55...
First Run Output
1017 3027544849499817002 6974965636093161178 8397776735158026566 1511792859258307245 14706952279918963862 9950436305354461941 17558459932496560153 72344663832515016 277731572466257728 1920549992652903653 5980789110670657791 7115848118055731231 4090191089566762413 2889198041564233796 3243264673233490...
Second Run Input
decode 1017 3027544849499817002 6974965636093161178 5062365399809886836 12484559252942748180 10875120548746566092 17695431956210980746 17558459932496560153 72344663832515016 4616123404233464323 16542975927025051418 5980789110670657791 2233882688292569186 4090191089566762413 4954013093848815656 74061...
Second Run Output
14431283794327455432 13389333092722914233 10532008078511253906 4472767059359175230 13103724614110534069 4836152019432633768 6719842759815348573 1919269018289742362 52784695629691648 15163385683618061098 15620477516589867300 13938605139475525569 10477448247346751377 2179249273432981022 55034245808898...
result:
ok correct answer!
Test #22:
score: 100
Accepted
time: 1ms
memory: 3648kb
First Run Input
encode 1000 8361704202097698447 457512630822197510 9047071582378798263 7521861541655044968 15691318489382327720 9116556133522441342 10776729311315660437 2007356224744446747 15602891128841739224 11582605118888328352 14538672656065746377 9928263521479936137 3198358632421024300 6031000265902699091 1214...
First Run Output
1017 17585430644974947572 748592390249943664 1411230218667964446 11112655872529988168 4619852316510783160 17785017165656711025 15664377749242731641 10786415336977134180 13154306156027355904 1928011456441069728 669633563848884370 16950384726295858769 16316898294962033796 11683586942508099026 10985496...
Second Run Input
decode 1017 17585430644974947572 748592390249943664 2177490593388860691 5258601833602300058 13260396585910738240 8169302210540392950 15664377749242731641 10786415336977134180 46089469098167734 11578769348821303578 669633563848884370 5858639961210567659 16316898294962033796 15160688657766032546 15999...
Second Run Output
8361704202097698447 457512630822197510 9047071582378798263 7521861541655044968 15691318489382327720 9116556133522441342 10776729311315660437 2007356224744446747 15602891128841739224 11582605118888328352 14538672656065746377 9928263521479936137 3198358632421024300 6031000265902699091 1214633584616830...
result:
ok correct answer!
Test #23:
score: 100
Accepted
time: 1ms
memory: 3644kb
First Run Input
encode 1000 4070799250438564664 605330642058700296 5444589342570549067 8478061516396013685 15697388467035232473 8436336705264620405 10643411232161270675 8544420007176800570 16811631686571990158 7243022960999760996 5840250624485887057 14278601361167230918 12210943273207625129 1176096451434205712 1283...
First Run Output
1017 4204954677080513338 469379008224723425 15324441318592701761 10656295791269200600 5434455518772581668 11855343399779011103 14003310114749582101 1192078523985627624 4039769969171494007 3825757488030050591 16848117811935028385 218439169319596668 8286243309272187923 17152714562971568134 95005779697...
Second Run Input
decode 1017 4204954677080513338 469379008224723425 4712183409225149396 15583043003391206035 2654055423301151563 2272657008142616228 14003310114749582101 1192078523985627624 8643745938250469432 2263571623977293621 16848117811935028385 8967321498151618563 8286243309272187923 434763506339744494 1624077...
Second Run Output
4070799250438564664 605330642058700296 5444589342570549067 8478061516396013685 15697388467035232473 8436336705264620405 10643411232161270675 8544420007176800570 16811631686571990158 7243022960999760996 5840250624485887057 14278601361167230918 12210943273207625129 1176096451434205712 1283281026090651...
result:
ok correct answer!
Test #24:
score: 100
Accepted
time: 1ms
memory: 3836kb
First Run Input
encode 1000 12880235316464868018 6079333585974676397 8949594007992873852 17714600270679758581 3687564633781840947 17554383905953148659 10232070266398111373 2112684738820133149 13317391019226530972 9729754318953252743 898027907072357900 3401298529968599855 13130931376755980982 5483140174275811404 168...
First Run Output
1017 12686358675325980592 1626573819149664593 6187400640068683187 2778074932851495214 7215923667514708641 16381430796873919015 3830294031586835750 2526736569474242232 16178973488833758601 14708801123712649313 10845474137700788480 17537031995482610788 13860405926276257850 1886254497527767492 23253360...
Second Run Input
decode 1017 12686358675325980592 1626573819149664593 12935835192619228757 3373486101769784614 11624507590022276196 2840170924840867555 3830294031586835750 2526736569474242232 9873409979858454496 7010066136820097228 10845474137700788480 7249781966815191283 13860405926276257850 14132613120984755482 74...
Second Run Output
12880235316464868018 6079333585974676397 8949594007992873852 17714600270679758581 3687564633781840947 17554383905953148659 10232070266398111373 2112684738820133149 13317391019226530972 9729754318953252743 898027907072357900 3401298529968599855 13130931376755980982 5483140174275811404 168683461365188...
result:
ok correct answer!
Test #25:
score: 100
Accepted
time: 1ms
memory: 3572kb
First Run Input
encode 1000 17393761435229632521 8814882814214296698 3214342078937098028 12239425198494964649 14970362339477012943 3905744559189406518 10423699172450085008 1282661219762752529 2028127423684402460 16606738522249646310 4504076889805065534 17998211395807463161 15073288595893530577 6967295239368126560 3...
First Run Output
1017 816277432460923915 15724617845034713761 16231486788346193985 8448867424333597934 9385968820908855344 304565890464614872 10056547875871071229 10556576030352962220 4595509059895413 441607949921978137 9361185070439895435 12832075924558520928 6820999977588592257 5626451942070456118 3088502333450214...
Second Run Input
decode 1017 816277432460923915 15724617845034713761 4695233935197815265 17153303390317985909 3463315271813972354 15567211421065886212 10056547875871071229 10556576030352962220 8484802956297965568 1839463407274172422 9361185070439895435 6927143080284984498 6820999977588592257 3931618458230068558 1058...
Second Run Output
17393761435229632521 8814882814214296698 3214342078937098028 12239425198494964649 14970362339477012943 3905744559189406518 10423699172450085008 1282661219762752529 2028127423684402460 16606738522249646310 4504076889805065534 17998211395807463161 15073288595893530577 6967295239368126560 3941403115377...
result:
ok correct answer!
Test #26:
score: 100
Accepted
time: 1ms
memory: 3644kb
First Run Input
encode 1000 8115213866885488496 918977475602399244 14587511192000950730 1633431972983327826 15072791127986744785 6837211866643026526 5967645362315710802 17178064812114863342 15413834056879761621 3668122907584560911 10632535574962671251 1167735484387308560 2626489242395991942 8127492241531145328 1574...
First Run Output
1017 6495035087598396250 2667710518185946976 5608615454437552173 3470223074861805736 5060760323475457089 7063276483871363085 1757144943867260993 12691286757394390316 6573639647423922841 14626077867579639395 8143919968259686414 4202667850005365460 3477397812037550 22083074720074889 170543303297106670...
Second Run Input
decode 1017 6495035087598396250 2667710518185946976 3256247954067871053 12137341890030020656 4702925136988093254 995441802268640610 1757144943867260993 12691286757394390316 11061439104465123931 7171499765346400970 8143919968259686414 15294935255335588410 3477397812037550 9875335704768433664 46222630...
Second Run Output
8115213866885488496 918977475602399244 14587511192000950730 1633431972983327826 15072791127986744785 6837211866643026526 5967645362315710802 17178064812114863342 15413834056879761621 3668122907584560911 10632535574962671251 1167735484387308560 2626489242395991942 8127492241531145328 1574375061941821...
result:
ok correct answer!
Test #27:
score: 100
Accepted
time: 1ms
memory: 3636kb
First Run Input
encode 1000 8425165299341585524 12943014948951531187 15460229027637464534 14501491637922119625 1419011972619936150 1531930959048819221 4849605402876333379 16923384268274588650 3333033076450189598 609865898516117000 901260326856664844 7789088477532264556 18185090625118449660 1003061006082435853 14479...
First Run Output
1017 8577105490327111799 9280122335327568646 14305702371007866976 10387057641112470060 4685578766578373519 11322898903676693523 15276393009500213917 14732208311180987938 2094177385833900840 13165293301659338724 4486783490994088128 10400853199551177120 11421837531311344737 16153322243167719653 110262...
Second Run Input
decode 1017 8577105490327111799 9280122335327568646 6928897937104734406 3171101764375881360 10327602893368395329 1381566895622464413 15276393009500213917 14732208311180987938 2894488185310744605 16431168086247519414 4486783490994088128 11574597392284014480 11421837531311344737 16541841308149361888 1...
Second Run Output
8425165299341585524 12943014948951531187 15460229027637464534 14501491637922119625 1419011972619936150 1531930959048819221 4849605402876333379 16923384268274588650 3333033076450189598 609865898516117000 901260326856664844 7789088477532264556 18185090625118449660 1003061006082435853 14479515035047543...
result:
ok correct answer!
Test #28:
score: 100
Accepted
time: 1ms
memory: 3580kb
First Run Input
encode 1000 3843638127672474165 4209638564019596090 8198111399318504817 3246997639520013181 16123800028132066271 5198896512401148744 4432422976740316796 10193867358299518861 5227843122247470408 16957438109999387883 5592627905395006797 2028252743007846684 1361506116473767442 6476407042194202713 93856...
First Run Output
1017 7441635434276341351 10338296123689587494 10144131983791061323 10526092330641430805 2650460484202951841 1558809946716456044 15986972742109485588 5411809666583299584 3118222412678082753 382911822244015812 17459172843459339288 10307618252533532294 4413842233148080517 151153927637710400 99577757459...
Second Run Input
decode 1017 7441635434276341351 10338296123689587494 5438530961483679628 1556513191376262290 11633959492006430756 7801467357909590549 15986972742109485588 5411809666583299584 13956750244581885483 14190321297168289797 17459172843459339288 9657573878163311759 4413842233148080517 4626956326663166210 10...
Second Run Output
3843638127672474165 4209638564019596090 8198111399318504817 3246997639520013181 16123800028132066271 5198896512401148744 4432422976740316796 10193867358299518861 5227843122247470408 16957438109999387883 5592627905395006797 2028252743007846684 1361506116473767442 6476407042194202713 93856964333492143...
result:
ok correct answer!
Test #29:
score: 100
Accepted
time: 1ms
memory: 3640kb
First Run Input
encode 1000 7909617952844924013 9803115229991247890 15704661284805860057 13036955088565103796 8232958449788614175 10411060999027325840 1657707053010583831 1611023628387226902 8825304933328320890 4820495155580036418 2094500400859779357 1933221703835374618 13781614827293459135 5545848500122941004 8816...
First Run Output
1017 8648881609388328824 3315622158940723671 10880789666175460542 11133778577238262215 13852071572661192007 15001343372631248960 2551622996759412992 12221750424883074116 767652735547269765 9898988014054530382 9518084383948770328 11558232036372227108 11693789402740736450 1229918942355596352 764095876...
Second Run Input
decode 1017 8648881609388328824 3315622158940723671 13701112733659037847 14339782754665792410 5171752174919695552 4652315306607914960 2551622996759412992 12221750424883074116 9647315704860419850 5682858649467576457 9518084383948770328 2640377701790541728 11693789402740736450 4621997228851728657 1019...
Second Run Output
7909617952844924013 9803115229991247890 15704661284805860057 13036955088565103796 8232958449788614175 10411060999027325840 1657707053010583831 1611023628387226902 8825304933328320890 4820495155580036418 2094500400859779357 1933221703835374618 13781614827293459135 5545848500122941004 8816319108061280...
result:
ok correct answer!
Test #30:
score: 100
Accepted
time: 1ms
memory: 3812kb
First Run Input
encode 1000 1095323537722389263 1793902084311475480 619603394461238971 825137412916339979 11497053862269885087 9254004377678277760 13265615946525978808 8997700509002342524 101888878420274433 7308714701788376421 4795919705601379906 4357495418564540476 9876480417963144585 358384761466821234 1713960113...
First Run Output
1017 3411195242756462383 16721634667773823163 14868737907860140999 5913512872388600065 12217452333601551369 4419227641448103568 9541886950649153650 433265151307735489 2878418850206453928 14633338685014920101 4651908518960044086 2615645708284595204 11221325443122667965 18019471527594197648 1290328023...
Second Run Input
decode 1017 3411195242756462383 16721634667773823163 14371940135696488654 81465383282020690 681335075465104809 10447815905806144573 9541886950649153650 433265151307735489 12110276815125410343 11946725819026511051 4651908518960044086 291771718046010404 11221325443122667965 10413030505070269178 174912...
Second Run Output
1095323537722389263 1793902084311475480 619603394461238971 825137412916339979 11497053862269885087 9254004377678277760 13265615946525978808 8997700509002342524 101888878420274433 7308714701788376421 4795919705601379906 4357495418564540476 9876480417963144585 358384761466821234 17139601133666884845 9...
result:
ok correct answer!
Test #31:
score: 100
Accepted
time: 1ms
memory: 3876kb
First Run Input
encode 1000 8348320487640521587 4087644312273861176 18249601812280121085 4317584370914618171 1371239231248008979 7045133357521290593 8401228777323599732 3237214378156003628 17619700469171521012 5278047533005029193 6814428298653440461 15689881449784655321 2141740473823191837 15362805372002120661 8497...
First Run Output
1017 17955570239349469177 16854265652036978854 1171677748342436743 16587749967756952301 4613573150391993897 9372075763128102409 13546901225984232968 6504446134761078818 978003955599705348 2541339450755006485 5251764081361231900 9230277309770978336 13943175663926288744 603790780415252960 100901481771...
Second Run Input
decode 1017 17955570239349469177 16854265652036978854 9742181330210406928 17114284155967255526 2956161420753110592 679564488454508674 13546901225984232968 6504446134761078818 325792418153730573 1531487823820375075 5251764081361231900 2329556328148113536 13943175663926288744 16184052538710450440 3340...
Second Run Output
8348320487640521587 4087644312273861176 18249601812280121085 4317584370914618171 1371239231248008979 7045133357521290593 8401228777323599732 3237214378156003628 17619700469171521012 5278047533005029193 6814428298653440461 15689881449784655321 2141740473823191837 15362805372002120661 8497980574841231...
result:
ok correct answer!
Test #32:
score: 100
Accepted
time: 1ms
memory: 3652kb
First Run Input
encode 1000 13578882033368789436 3973596031039251767 14778499039369405888 6098462778530162260 8938781100678712444 2755428565923624603 11817516716366595315 2335520724594542624 5470249295394133579 8387325725044401524 9074784385410142746 8813556627048910970 10586188031995908626 13312221032665497272 773...
First Run Output
1017 10110299688470073228 6170490364076367756 2345882859571382976 5064196775063260929 4865172175048901954 2832319796941551448 3689130276661237965 6931381372553074615 9253502054880579590 12111698473175586325 615348973278601221 14414166942776102922 17132485181049419720 4684884132720673684 977337515695...
Second Run Input
decode 1017 10110299688470073228 6170490364076367756 13837993893200694816 76371777598801734 4793491366960202819 6410594088586530343 3689130276661237965 6931381372553074615 436991538112457600 1555506865023292840 615348973278601221 725177420019665352 17132485181049419720 10665559727562097729 127183769...
Second Run Output
13578882033368789436 3973596031039251767 14778499039369405888 6098462778530162260 8938781100678712444 2755428565923624603 11817516716366595315 2335520724594542624 5470249295394133579 8387325725044401524 9074784385410142746 8813556627048910970 10586188031995908626 13312221032665497272 773644045015340...
result:
ok correct answer!
Test #33:
score: 100
Accepted
time: 1ms
memory: 3648kb
First Run Input
encode 1000 11790443656552554659 7924050146065503853 3943164586696357942 9482669882038720899 39037787700234752 12219081450744336553 4172653270216846757 10935904117498496151 4140338612291997753 2130699400371309778 17316187340788884577 11499287822828672415 9687009983375530331 274064634849053955 120619...
First Run Output
1017 4136556257739827257 12359403229461664818 581330286914204248 3594690447000379552 2756062816699429380 7530036799250523676 11034414564427612738 3711669803482747220 10176129876239196624 2648380070383796263 2268368595558010244 295836869273466635 9950147383521255492 708013188963840755 155369387067032...
Second Run Input
decode 1017 4136556257739827257 12359403229461664818 6373353101319737608 11574517686442910257 302313541828886310 2046589938045059176 11034414564427612738 3711669803482747220 14997403462052886669 2828387480744476708 2268368595558010244 808258350830983940 9950147383521255492 17524204890784453385 18859...
Second Run Output
11790443656552554659 7924050146065503853 3943164586696357942 9482669882038720899 39037787700234752 12219081450744336553 4172653270216846757 10935904117498496151 4140338612291997753 2130699400371309778 17316187340788884577 11499287822828672415 9687009983375530331 274064634849053955 120619374420848406...
result:
ok correct answer!
Test #34:
score: 100
Accepted
time: 1ms
memory: 3808kb
First Run Input
encode 1000 16464528558736375268 15833734330726400 2137625671539272221 10578535761341238930 16171384701637651680 342725409902392068 11393957410952954782 5652219120422907629 15348503773490101288 15370915178985967829 14055679937743818691 10086653288626125451 8728772207572459641 429279293627692293 1049...
First Run Output
1017 5709438427598961743 6535331778088078114 10196704632371169542 16780720487356891648 5302011735409721910 198449049908508035 99734502898141813 12575500424160919097 10069160529157006501 388304716732081729 3860024724375822563 9598579770379471112 15144179443501597012 16815954949013783120 3055985139424...
Second Run Input
decode 1017 5709438427598961743 6535331778088078114 452911606414213517 570699686666728 3927715038848586825 9472705013169570050 99734502898141813 12575500424160919097 11935885975073897611 4730587347950330629 3860024724375822563 579196446520194437 15144179443501597012 5783449230731730665 2758812122892...
Second Run Output
16464528558736375268 15833734330726400 2137625671539272221 10578535761341238930 16171384701637651680 342725409902392068 11393957410952954782 5652219120422907629 15348503773490101288 15370915178985967829 14055679937743818691 10086653288626125451 8728772207572459641 429279293627692293 1049536009030990...
result:
ok correct answer!
Test #35:
score: 100
Accepted
time: 1ms
memory: 3872kb
First Run Input
encode 1000 2283629854520859126 8791164542106206330 16172199097798848480 5479911485192565324 7334387051300309093 8517643902455133302 5818741755402524198 5117060688873390919 12141870038631481512 4755610447648980801 786955256347676938 14521256560460447783 8009834018971658351 662933001546117897 6434522...
First Run Output
1017 8246372392692117874 9963158919688798182 14662278796889610535 113755645383561468 6075215457495880373 10693093907478557760 11588470267424833621 2643362896822796288 703868423285035600 10393197436728116051 13860116016959735531 9805218004325368543 12727837071422659810 10718734522982957568 9827172747...
Second Run Input
decode 1017 8246372392692117874 9963158919688798182 2871423779922279115 18181111007234266113 13047492506130861908 4626365741002679700 11588470267424833621 2643362896822796288 5823862449222501385 5981816938455514256 13860116016959735531 16069428538740118408 12727837071422659810 36623788545720468 2173...
Second Run Output
2283629854520859126 8791164542106206330 16172199097798848480 5479911485192565324 7334387051300309093 8517643902455133302 5818741755402524198 5117060688873390919 12141870038631481512 4755610447648980801 786955256347676938 14521256560460447783 8009834018971658351 662933001546117897 6434522871214824025...
result:
ok correct answer!
Test #36:
score: 100
Accepted
time: 1ms
memory: 3848kb
First Run Input
encode 1000 1717786205588128791 1576640117804228885 14155128512240841156 13192476574176510647 835120129773770251 9915507235852778377 8387923390246705780 6201845675540418902 17609497148766839284 685633166199389436 13764475822913947071 207834653924581890 12837372616645945266 13943204184925307073 70342...
First Run Output
1017 3761350113784509236 4643780799385066699 2954822053888311984 16938218775371464709 12321897295217232320 17041790530921096283 8358306664357745696 3597688179556729940 9484581003549759188 9498448139811921441 14869597774672258364 7036757890037987499 7958740697420138881 11782965296086655091 9532146304...
Second Run Input
decode 1017 3761350113784509236 4643780799385066699 12736884189570466089 378547358929260779 13837667506924028075 6621463893256077548 8358306664357745696 3597688179556729940 15300417712472236163 2422643142701666691 14869597774672258364 12337651612080580449 7958740697420138881 8295630558755587491 5975...
Second Run Output
1717786205588128791 1576640117804228885 14155128512240841156 13192476574176510647 835120129773770251 9915507235852778377 8387923390246705780 6201845675540418902 17609497148766839284 685633166199389436 13764475822913947071 207834653924581890 12837372616645945266 13943204184925307073 70342348223344157...
result:
ok correct answer!
Test #37:
score: 100
Accepted
time: 1ms
memory: 3648kb
First Run Input
encode 1000 166900737089163266 10202814870311192205 17161612004701186798 11063970828547951513 10965376692181156248 10534314859004939922 13386144313190565305 14672256134463090891 14132945767778689732 14889658746529751758 17916615180112064248 10583966947778355602 43606244127883066 17628372606263469300...
First Run Output
1017 15092125301271982801 223260161278018561 471227912296087905 819672968243124433 21521058113083028 16055896734527558152 1881072129188312628 13026246895438914727 11621480892301051009 13048995822486811085 10966423553601282953 5653144588503272104 4740982210714358120 10365059449413296133 1139251512104...
Second Run Input
decode 1017 15092125301271982801 223260161278018561 7008067351801465350 15066827498162511883 10688737157754211328 617800340858852062 1881072129188312628 13026246895438914727 9296723057287317409 14839890060607231925 10966423553601282953 12162718689472377934 4740982210714358120 423361586369321103 1233...
Second Run Output
166900737089163266 10202814870311192205 17161612004701186798 11063970828547951513 10965376692181156248 10534314859004939922 13386144313190565305 14672256134463090891 14132945767778689732 14889658746529751758 17916615180112064248 10583966947778355602 43606244127883066 17628372606263469300 22232279562...
result:
ok correct answer!
Test #38:
score: 100
Accepted
time: 1ms
memory: 3840kb
First Run Input
encode 1000 12995392041539623092 16795881029397386985 3744575639523098163 862102261500605963 4638781186002113856 8717314926297605263 1663644116731500055 10120463580791835907 10702428446706345876 2878139692429406503 17137793428385748461 5786710246580178512 17309231859780638448 7120334900288475234 114...
First Run Output
1017 17676347062452506613 11580236348254356096 1460915689836833664 5383635980356684358 21732773179248279 15517980805792191252 15630713659838496817 15359675837656957092 2991817633480572961 8683145152384075783 12146322915953710854 10415200128562365201 5837249805367197958 306417398156233422 43053980381...
Second Run Input
decode 1017 17676347062452506613 11580236348254356096 9289664217457575444 5046895266704438858 10902745832779762944 1500703871468657367 15630713659838496817 15359675837656957092 2378002085964842281 506658005404254328 12146322915953710854 1225982640658156176 5837249805367197958 14846707751842562052 11...
Second Run Output
12995392041539623092 16795881029397386985 3744575639523098163 862102261500605963 4638781186002113856 8717314926297605263 1663644116731500055 10120463580791835907 10702428446706345876 2878139692429406503 17137793428385748461 5786710246580178512 17309231859780638448 7120334900288475234 114218809193165...
result:
ok correct answer!
Test #39:
score: 100
Accepted
time: 1ms
memory: 3624kb
First Run Input
encode 1000 3093762872593936170 8266889846585409650 44684674286525952 13198951847648149397 983462115216400909 4557333676994543167 5122213258115224903 13524573298856512699 12317653193367024042 832997201996050816 11735177166486887330 11345938099610743965 12429926898941031812 14652127291888391883 53342...
First Run Output
1017 17254697547339953647 17730647224410182840 14870613979605133449 11538551243518102838 14125883321490327702 329361607893568133 7381229435049560329 17485656846496078374 3658755791942562312 3107769209047130661 4211714078109863489 4951165732430283794 11035015652801905387 5220842582950744640 141508493...
Second Run Input
decode 1017 17254697547339953647 17730647224410182840 9901254381499080654 3948964027201954208 10864947209426176452 9640558813100675588 7381229435049560329 17485656846496078374 626742527185372722 2711772006126395691 4211714078109863489 1298330066250610244 11035015652801905387 4616755873709585480 9909...
Second Run Output
3093762872593936170 8266889846585409650 44684674286525952 13198951847648149397 983462115216400909 4557333676994543167 5122213258115224903 13524573298856512699 12317653193367024042 832997201996050816 11735177166486887330 11345938099610743965 12429926898941031812 14652127291888391883 53342018891740186...
result:
ok correct answer!
Test #40:
score: 100
Accepted
time: 1ms
memory: 3632kb
First Run Input
encode 1000 15265036345800096979 6373227721885190649 12787116445369521154 2278408008021614111 28821713277314560 9854428111595775824 14096648566308446659 5264876691844173638 6113485713246181204 11692030456964792994 2458251253109869602 14609572044763873226 9132467584603241854 17006731584508527852 3787...
First Run Output
1017 13047209595469042101 17340238027630068197 9229188191089926299 14096328234665454369 14218374646684013766 15668461074867507746 8708371609462076510 349036676436169158 11552609356595335952 6976722043585282832 11331713313546468 15046011817953431782 177057149351401520 9964115366987834648 246123553989...
Second Run Input
decode 1017 13047209595469042101 17340238027630068197 11177975986826843264 2390156897353703619 14291053785669194181 2473183320277414361 8708371609462076510 349036676436169158 1158472251622642592 1207959761317515872 11331713313546468 16613904365520735952 177057149351401520 1739887360950552458 9403263...
Second Run Output
15265036345800096979 6373227721885190649 12787116445369521154 2278408008021614111 28821713277314560 9854428111595775824 14096648566308446659 5264876691844173638 6113485713246181204 11692030456964792994 2458251253109869602 14609572044763873226 9132467584603241854 17006731584508527852 3787433410363558...
result:
ok correct answer!
Test #41:
score: 100
Accepted
time: 1ms
memory: 3892kb
First Run Input
encode 1000 5619017349366741581 4053762078733594680 8563976765265664374 4978085664965137733 10557361696048448402 1816731551717281049 12317163971061477290 5726350117382223951 2284281409372467999 4026408032294199351 22042371748404480 12799717861459244877 4482188044214874942 11987312759986281382 940016...
First Run Output
1017 13723312489528062910 110070477021088769 16378755133578169620 13944802656804162059 3062595096254987526 14735942917929487221 14790753256558547289 7605279091801838210 16518095444983757724 17091732695521178648 9875505918425334589 867033496447880030 1159768965648580668 1471500912453124625 1221802926...
Second Run Input
decode 1017 13723312489528062910 110070477021088769 1462834250125888995 813669619098486209 485581181409460266 8488052113741873356 14790753256558547289 7605279091801838210 11257663592537799909 1744151620058886893 9875505918425334589 6776549699866462220 1159768965648580668 1261692433068092180 84735931...
Second Run Output
5619017349366741581 4053762078733594680 8563976765265664374 4978085664965137733 10557361696048448402 1816731551717281049 12317163971061477290 5726350117382223951 2284281409372467999 4026408032294199351 22042371748404480 12799717861459244877 4482188044214874942 11987312759986281382 940016594520627315...
result:
ok correct answer!
Test #42:
score: 100
Accepted
time: 1ms
memory: 3812kb
First Run Input
encode 1000 13373157595011847865 8294755373559972958 14014898252387024578 4637863197217436224 4866315776356812867 9539859265631302660 18141486943745043707 10872118313141592470 3596218685336951983 15897608051647333621 15129883218354174161 12802918012140820881 7337380393190884430 14621875289997110218 ...
First Run Output
1017 13123489314157633718 374699320686189671 7566357511036951825 1891661577147655430 11576581371342553249 10234580727978437764 1595622269792076553 433063030035378021 9319672290430158861 2595257937010696873 6351434642325057682 8527144957863760785 817051583656794656 1369275904532001670 999337055060596...
Second Run Input
decode 1017 13123489314157633718 374699320686189671 1251428297814442345 442800361515270170 11601350707248605344 9560075950554089614 1595622269792076553 433063030035378021 939040132946744961 12187314452298007588 6351434642325057682 10489933639461197430 817051583656794656 9706138117033230355 467916037...
Second Run Output
13373157595011847865 8294755373559972958 14014898252387024578 4637863197217436224 4866315776356812867 9539859265631302660 18141486943745043707 10872118313141592470 3596218685336951983 15897608051647333621 15129883218354174161 12802918012140820881 7337380393190884430 14621875289997110218 146731919294...
result:
ok correct answer!
Extra Test:
score: 0
Extra Test Passed