QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#231064 | #7643. esreveR Order | ucup-team484# | AC ✓ | 1ms | 3852kb | C++17 | 2.4kb | 2023-10-29 00:19:56 | 2023-10-29 00:19:56 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define sz(x) ((int) (x).size())
typedef unsigned long long ll;
typedef pair<int,int> pii;
template<class T> void print(T & x){ cout << x; }
template<class T,class U> void print(pair<T,U> & p){cout << "("; print(p.first); cout << ", "; print(p.second); cout << ")"; }
template<class T> void print(vector<T> & v) {
cout << "{";
if (sz(v)) print(v[0]);
for (int i = 1; i < sz(v); i++) cout << ", ", print(v[i]);
cout << "}\n";
}
ll reverse_bytes(ll x){
ll res = 0;
for(int i=0; i<8; i++){
res <<= 8;
res |= x & ((1ull<<8)-1);
x >>= 8;
}
return res;
}
ll extract_62_bits(ll x){
ll y = reverse_bytes(x);
if(x > y)
swap(x, y);
if(not (x >> 63))
swap(x, y);
x = x & ((1ull << 63)-1);
x = ((x >> 8) << 7) | (x & ((1ull <<7)-1));
return x;
}
ll encode_62_bits(ll x){
x = ((x >> 7) << 8) | (x & ((1<<7)-1));
ll y = reverse_bytes(x);
ll b = 0;
if(x < y)
b = 1;
x |= b<<63;
x |= b<<7;
return x;
}
int main(){
ios_base::sync_with_stdio(false);
cin.tie(0);
string task;
cin >> task;
if(task == "encode"){
int N;
cin >> N;
vector<ll> X(N);
for(int i=0; i<N; i++){
cin >> X[i];
}
ll n_enc = encode_62_bits(N);
//cout << N << " -> " << n_enc << " " << extract_62_bits(n_enc) << endl;
vector<ll> flips;
for(int i=0; i<N; i++){
if(i%62 == 0){
flips.push_back(0);
}
ll flipbit = X[i] < reverse_bytes(X[i]);
flips.back() = flips.back() | (flipbit << (i%62));
}
for(int i=0; i<sz(flips); i++){
flips[i] = encode_62_bits(flips[i]);
}
cout << (1 + sz(flips) + N) << endl;
cout << n_enc;
for(ll x : flips)
cout << " " << x;
for(ll x : X)
cout << " " << x;
cout << endl;
}
else{
int K;
cin >> K;
ll N;
cin >> N;
N = extract_62_bits(N);
//cout << "got " << N << " -> " << K-1-N << endl;
vector<ll> flips;
for(int i=0; i<K-1-N; i++){
ll x;
cin >> x;
flips.push_back(extract_62_bits(x));
}
vector<ll> X(N);
for(int i=0; i<N; i++){
cin >> X[i];
}
for(int i=0; i<N; i++){
int ind = i/62;
int bitind = i%62;
ll flip = (flips[ind] >> bitind) & 1;
X[i] = min(X[i], reverse_bytes(X[i]));
if(!flip){
X[i] = reverse_bytes(X[i]);
}
cout << X[i] << " ";
}
cout << endl;
}
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3832kb
First Run Input
encode 3 15 10 2023
First Run Output
5 9223372036854775939 9223372036854775943 15 10 2023
Second Run Input
decode 5 9439544818968559744 9223372036854775943 1080863910568919040 720575940379279360 16647274547598327808
Second Run Output
15 10 2023
result:
ok correct answer!
Test #2:
score: 100
Accepted
time: 0ms
memory: 3764kb
First Run Input
encode 3 10 15 2023
First Run Output
5 9223372036854775939 9223372036854775943 10 15 2023
Second Run Input
decode 5 9439544818968559744 9223372036854775943 720575940379279360 1080863910568919040 16647274547598327808
Second Run Output
10 15 2023
result:
ok correct answer!
Test #3:
score: 100
Accepted
time: 0ms
memory: 3612kb
First Run Input
encode 2 0 18446744073709551615
First Run Output
4 9223372036854775938 0 0 18446744073709551615
Second Run Input
decode 4 9367487224930631808 0 0 18446744073709551615
Second Run Output
0 18446744073709551615
result:
ok correct answer!
Test #4:
score: 100
Accepted
time: 0ms
memory: 3828kb
First Run Input
encode 1 15294812614394108628
First Run Output
3 9223372036854775937 9223372036854775937 15294812614394108628
Second Run Input
decode 3 9295429630892703872 9223372036854775937 15337606197336818388
Second Run Output
15294812614394108628
result:
ok correct answer!
Test #5:
score: 100
Accepted
time: 1ms
memory: 3632kb
First Run Input
encode 1000 3121047760185282603 15342468685041132244 2946084834383553064 16497371564815217380 1737099509116836632 7254740756410367588 6912789008064777823 68696180012282880 17403862934625552113 17981474029810688761 11408678755067367070 6884603394053802847 9415479823797299842 12724980314795317424 4343...
First Run Output
1018 9223372036854777832 4085228054969683969 3518666032786704394 4946377046691833105 7638195070243477588 13330412629403532741 7868992514790327386 8374015159354692210 2037998711574461440 13287528031440047606 3513387706968494344 13890522562559145666 10269474445789937848 11460527494900927952 1026868259...
Second Run Input
decode 1018 16719332141636255872 4085228054969683969 722964316358235184 1253468036402226500 6095622713891684458 14230806017022885816 7868992514790327386 8374015159354692210 34931244020877340 17765863944851318456 3513387706968494344 14048665598050485696 10269474445789937848 15045728384648285087 14040...
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: 3844kb
First Run Input
encode 1000 2959543855015858729 1696588383057026327 13887516684624771776 4107504863913902137 2801614046935507238 11387178367909563806 11556129900970532768 5205368401715281224 10357494830429897083 13218483460617328311 17758885595442813174 15522412733037308631 4609285057964209983 6122463529806835958 1...
First Run Output
1018 9223372036854777832 12043312076023823857 9309063588232114608 13976667090390784 1369427267619825924 7010677736277177132 9964933570844118689 10701288624282282398 5203665424848199478 1801617247194091781 9240680588150609624 7885829738491855888 2929732327378194707 11080403854282972868 49761510424057...
Second Run Input
decode 1018 16719332141636255872 12043312076023823857 12695956381101994113 4241253170884864 335859196269297939 3203056356989749857 9964933570844118689 10701288624282282398 3899852544681326408 401163725171654681 9240680588150609624 1208095832874184813 2929732327378194707 14185889497903842713 11614461...
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: 3824kb
First Run Input
encode 1000 11680746664093751970 5824248678120130908 17626250863570165236 10045289755533338763 7551074539406281320 679147484887477257 15604658746861719256 14804121544777963213 12775443214601374641 16518531288873472 17672220047006122229 5320248648820184393 9690327126946183814 9082174046062392190 3603...
First Run Output
1018 9223372036854777832 9935302947482030475 12732174242843287738 2054322191150496528 5193218474273021216 10486983748286776780 11354228938758405362 8596084614186009132 6639618805337232456 6925717594642706720 9302256706090891501 7185481270570913585 9699989601410011566 4629850433813546253 710774832602...
Second Run Input
decode 1018 16719332141636255872 9935302947482030475 13429748464154423728 1169733076694827548 2314016781607637576 14737446047945099665 11354228938758405362 8596084614186009132 5193812623416239196 2373776693582568800 9302256706090891501 3535213764095096675 9699989601410011566 938338094208794688 35884...
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: 3844kb
First Run Input
encode 1000 3205299181656898348 12976875720891373492 13022766600023544756 11341018420341566428 6524953888141577562 12639723579518314927 388360823860605957 16028102076043194334 17021357338254522604 17358717917010294000 17727251730658821110 1692451494697027607 16668389809546941159 9881415132891652489 ...
First Run Output
1018 9223372036854777832 10912356234100095704 3252740047829733638 5084986764171536676 4643240767039530510 6850039460208781849 2599168653254607880 4822393140804521764 13276068762057032145 7501118593095426142 5962832913115419428 9272295975961100504 4816181173350042673 8168765289016602681 5773640064442...
Second Run Input
decode 1018 16719332141636255872 10912356234100095704 437294439590601773 2659658457338122566 1073546037380673600 1813305314837663839 2599168653254607880 4822393140804521764 15114380585706077880 6836612838578133352 5962832913115419428 15564565910203182464 4816181173350042673 4120899322760420721 11563...
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: 3628kb
First Run Input
encode 1000 11745468587528356003 2281514582009817375 8153897824941385841 3537801378424817716 15094875450944541137 2721439207979308907 15182962879679804626 16263387655845753825 10297607884981635726 2839756507535605799 4281233445445231670 17958831294784213241 2533099538757708909 198318855604518914 673...
First Run Output
1018 9223372036854777832 5963408571514561578 9622169732358154404 14734668039491488473 1764501355297354501 10898519955886862552 10872284367217882284 13565477754755131386 11613184929487196398 10669621327239842753 3468222816191498514 12720528382157327837 9630072319755573430 2708670208352508953 99530356...
Second Run Input
decode 1018 16719332141636255872 5963408571514561578 11828907974365055109 15639367260115467468 410726179059039256 15596005316017405847 10872284367217882284 13565477754755131386 17154212085170842273 13910229646925632148 3468222816191498514 15928602777386059952 9630072319755573430 1863513940410079013 ...
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: 3568kb
First Run Input
encode 1000 12145426503223053736 11223533449112258427 912503477502847244 8194754341178136232 1745167427925456920 16227738722877181921 7835300168023129196 11430255544479756296 4334103216084281862 2068776735956841756 8031840207725033071 6851343563018212447 5341289100182954058 13797007934729844927 1695...
First Run Output
1018 9223372036854777832 6435863782773571593 9728880405106967956 7173550827785555758 13914298430292287697 9253982829378480629 4127591841734683152 9159258448788161324 3684274059018718227 12713843325657958655 6991638588489869376 10967912699891712485 8368608954989425920 9847684687441655439 140019084811...
Second Run Input
decode 1018 16719332141636255872 6435863782773571593 10720160031399805831 3318975373446909283 15123184875680831937 17665839606874008704 4127591841734683152 9159258448788161324 1390767373458022707 18395182283266289840 6991638588489869376 16537651539613463960 8368608954989425920 10337453598354549384 1...
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: 0ms
memory: 3624kb
First Run Input
encode 1000 1319585769567178770 11683773173006280098 1546068050386102206 8237654235626754674 1093085146164964111 4487194325809812542 9572041562208720516 8198339197715138161 8775187665665181561 5453856317584289611 9012706293234275197 6962133233774075488 14416342846420488648 12023115692119218854 87984...
First Run Output
1018 9223372036854777832 6959214328311611687 7309312124818337562 5336874149711295492 7589141344474571042 2524408578254585880 15864827731298411747 15276814189632568022 15298787505679803348 13318587396747134664 9681656730735572908 11236482542660186586 10089142524218197462 1531936379948995078 970223827...
Second Run Input
decode 1018 16719332141636255872 6959214328311611687 1922826693368901477 339038124554457162 2459426108425851497 1747625483668817955 15864827731298411747 15276814189632568022 15322154207003693268 14449266303080388024 9681656730735572908 15740401550339731611 10089142524218197462 473541383090094613 147...
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: 3848kb
First Run Input
encode 1000 5876429571674705233 1160709710205641488 8949179324326013918 3807785702791436084 10358659327093653462 6183776768104649045 9773192299199242631 4768204253843233314 869112494835896076 3850247465723981365 12656644485278573999 9985246442807560600 4674662620886523712 15476787152353297656 199767...
First Run Output
1018 9223372036854777832 2759581887640752150 1442359175858030347 3506697613311082543 13442968206311685366 9907928563931132904 13865073282607369440 3340967256249295872 1762883749380071956 11547407932565242841 11082004142704049840 11630442753204422562 9318846755079662308 833484842197240327 31879552138...
Second Run Input
decode 1018 16719332141636255872 2759581887640752150 794757013615281172 3386740355671697968 17797120822805303226 16767763230235328649 13865073282607369440 3340967256249295872 1486780575775029016 15655379241030271136 11082004142704049840 11675375553684334497 9318846755079662308 561496708490629387 123...
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: 3844kb
First Run Input
encode 1000 4630576837261345600 3690007673192079155 10191688028902188685 13161084486177275994 13217699814043128503 16686700503527166951 14187412128529685444 5378307647117501258 381081194099329285 7835019377419533164 10828830188934852045 2418951383875555617 12869415733873449394 3981778763221189175 13...
First Run Output
1018 9223372036854777832 2062729879812340247 3082786239759841304 10637669484431181044 14098646232918804722 4470663099762525988 9962150083348801691 11028445719574566888 12125977194725926112 3350830160931987741 2181224589509624850 8131849709297042001 8524313337680016388 8183152643329099831 10088610038...
Second Run Input
decode 1018 16719332141636255872 2062729879812340247 1799285305304533034 17619357214577303699 17458210617221753027 2650309090428586558 9962150083348801691 11028445719574566888 16169083944159955112 2098963459491921966 2181224589509624850 5873401901753752176 8524313337680016388 3965540491082436721 134...
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: 3776kb
First Run Input
encode 1000 14206023085971877050 5972347295337699666 16750030134568776936 31808836880920832 2212713974659790110 5122038573567789141 6021810187059330136 316820231069787396 9743056769613706887 12651574473802879919 10670777542814643481 12865788759884245938 14098797560825948355 1436584720745295635 18209...
First Run Output
1018 9223372036854777832 10392993301304968944 4755893841934092036 4158022319748044544 12777276619740498147 6636632948167950337 10435177486572990126 9663402130194826974 7072202629746679301 11853783623704185582 7025617841696233218 4654273790736542523 13951509545972110038 12766069347572384968 140909065...
Second Run Input
decode 1018 16719332141636255872 10392993301304968944 290468282825441346 24692867658396729 16377491246622528177 90129186497108572 10435177486572990126 9663402130194826974 386925107488105826 17152587927110910372 7025617841696233218 4263575622066739008 13951509545972110038 14412660239959599793 1780028...
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: 3628kb
First Run Input
encode 1000 9347075476817688449 4650888162489830208 14851788601390554770 16502989544831224549 16381526915592640227 11928081658354305445 16698603634079928807 6636914485074045532 3905297710570680886 4761937183601478210 602043399153080840 13119846281992737718 9982574920216512906 6465339115666258265 388...
First Run Output
1018 9223372036854777832 7254155535766279946 12454723306184028374 7566267821778274579 7782562519554100229 5193677349486158865 6800964589926765121 9460517008485706955 6953717231300280840 8163418778766780426 6683939381142393392 2958303660977979405 6995388470298875910 10973940734094745545 1009715118733...
Second Run Input
decode 1018 16719332141636255872 7254155535766279946 15470112010730002604 1371785893329240169 399776605497917804 1253158714226381640 6800964589926765121 9460517008485706955 613099507601670240 767905161967979121 6683939381142393392 972870438998838825 6995388470298875910 14492557805107825560 180376400...
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: 3600kb
First Run Input
encode 1000 816711338553922827 3136530477208405803 1897023433554023194 17975009636137635621 11452821585868157086 16899731438459979754 4011321460883199543 9514493131970120324 11223671094700651163 16143736757262944992 14578540197992026570 604575309861380872 15340457260098839764 11150070697970285978 17...
First Run Output
1018 9223372036854777832 10496894305861952928 13150801477499355319 4943854134032425997 6531837016085104726 12302152210513082835 13742127078214789336 5824881727866769674 4801191493144492596 14416366008130702556 6061977042553869102 11964200706620620016 3528249614688161796 6419344883873690947 118994975...
Second Run Input
decode 1018 16719332141636255872 10496894305861952928 13186549133240467894 964994249103350852 6199346389751670106 15220314614266247850 13742127078214789336 5824881727866769674 3763462993841660226 15892259508596511176 6061977042553869102 17328894048636832166 3528249614688161796 4842780436739921497 12...
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: 3624kb
First Run Input
encode 1000 15852042308351668955 11110270273771247747 1952170777025451803 12999077454378198708 10468936890965115281 3740726514366998835 13638413544957402813 10285421796981783950 9488163456704752771 6831060407290809438 9304289497016916865 11999488677836195494 17236300717840440076 16119040203783672287...
First Run Output
1018 9223372036854777832 7495557458744675912 1765438897421754382 9656749631015507674 7612212694724323584 9336323909988205762 11278222706487897324 4252259708611682335 10862311219290327516 7671812189220660293 7721145632401004330 9233297899876780186 13082556698117138677 11113725164484202237 74897215521...
Second Run Input
decode 1018 16719332141636255872 7495557458744675912 1017949654741516312 15732920891088700294 11755252961485929 13998548090496848257 11278222706487897324 4252259708611682335 15873370925336280726 5000123696229152618 7721145632401004330 11099266501029602176 13082556698117138677 18270653370180189082 46...
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: 3848kb
First Run Input
encode 1000 7737460840718732534 8502306463064852341 2130649553756067072 12798637249919425969 17739899473744975204 17861748128772157943 7786375620166094444 11631750721236397217 8433942411902211189 14696106042371974859 3551708439366617649 12548046713943630766 7655435767445585121 17638494868075184116 1...
First Run Output
1018 9223372036854777832 1166299211463942657 7800818448168577810 10958213981737362864 10201106860259016400 9966747590416723363 12578580427320090344 735635007436964873 8948993926950410311 5810009458617732361 10100633839547937423 11184508875062804932 7123920567740435715 12769461980514243804 8505093894...
Second Run Input
decode 1018 16719332141636255872 1166299211463942657 1363295806195712620 12728629032877626264 15059625119001121165 11812313572493513098 12578580427320090344 735635007436964873 5176888946607927676 706381119927132496 10100633839547937423 14159689230877144987 7123920567740435715 15876428974323021489 65...
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: 3628kb
First Run Input
encode 1000 5776378122715867472 8860428478679807610 8981547657866880124 3887804736669348917 15875751532079952708 2861245578349082151 8735033493130313593 10531690036554104978 11209368434932931317 2817656194583435815 15283937566914793428 16210594600733767648 7083554101997751650 4895599144183105603 167...
First Run Output
1018 9223372036854777832 5013725264828598848 13376127426815754440 8812591480287298115 3494811158281611776 14282324035333996518 6540283608722605382 12890404051150623480 14578245862872962276 1294803088056094218 7123608849388220416 9228051697363372442 3593165246749877760 12125421292049733842 4156118932...
Second Run Input
decode 1018 16719332141636255872 5013725264828598848 14447748132442579385 4864495203406138490 29962165294235696 16591009260712900038 6540283608722605382 12890404051150623480 16489043384167911626 760731640678905873 7123608849388220416 11153525521271230592 3593165246749877760 15139013976452908712 2824...
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: 3844kb
First Run Input
encode 1000 13461592460131029434 17866002937817526519 123084316061775105 11639997235077351841 17297265609665146864 4395039646452547132 10238707525074687886 11110873080840760717 4577834621477644863 15099659004708222063 4877517018647736387 5634232609779232846 12480652015292515508 15942940958849847955 ...
First Run Output
1018 9223372036854777832 9378361610994197169 2792725589514335232 6793370694112921368 14857955479507362296 2609884603147664402 11535973351099601628 4994588940202851104 11684000108018602481 9816595036878546334 8859715294088833364 7557164043459202326 9956695911390276332 9657181796648980681 773663049469...
Second Run Input
decode 1018 16719332141636255872 9378361610994197169 14677991154106662 1749409082343048798 17933785258064294606 1350059555247896612 11535973351099601628 4994588940202851104 17370686790727902626 11395517649808866184 8859715294088833364 1625163327815606376 9956695911390276332 14524286475382752646 1190...
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: 3672kb
First Run Input
encode 1000 14431283794327455432 13389333092722914233 10532008078511253906 4472767059359175230 13103724614110534069 4836152019432633768 6719842759815348573 1919269018289742362 52784695629691648 15163385683618061098 15620477516589867300 13938605139475525569 10477448247346751377 2179249273432981022 55...
First Run Output
1018 9223372036854777832 3460703409163772453 6557456575838680358 11574546742266628776 8076125371151496250 5901202903666791474 10268702776341771218 6852544949536588100 11692611322261530283 9449115065956792481 10827330367691106499 12290557300636491259 7814118384840643867 2344157068740677656 1611577523...
Second Run Input
decode 1018 16719332141636255872 3460703409163772453 2807406438245466203 12108759932515164576 4193978687301424240 3608667963928405329 10268702776341771218 6852544949536588100 12386617683951502498 11635091161424601731 10827330367691106499 18130653364618563754 7814118384840643867 1751902610553473056 4...
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: 3780kb
First Run Input
encode 1000 8361704202097698447 457512630822197510 9047071582378798263 7521861541655044968 15691318489382327720 9116556133522441342 10776729311315660437 2007356224744446747 15602891128841739224 11582605118888328352 14538672656065746377 9928263521479936137 3198358632421024300 6031000265902699091 1214...
First Run Output
1018 9223372036854777832 3109995439276820997 9228557583198454146 10978732502576825082 11636252231399121880 10160695634768698521 5087679474842218528 9694213362372796609 4618200213082735618 9408905142902461122 6778621972362168665 10128535183941325967 2343070433844789256 11937585777945023923 2510589155...
Second Run Input
decode 1018 16719332141636255872 3109995439276820997 9367988701997306496 18051025526915292312 15574402719694552225 11032764233829450381 5087679474842218528 9694213362372796609 145362182977361728 13984253538447233922 6778621972362168665 10328124096344854412 2343070433844789256 12904267972928055973 23...
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: 3608kb
First Run Input
encode 1000 4070799250438564664 605330642058700296 5444589342570549067 8478061516396013685 15697388467035232473 8436336705264620405 10643411232161270675 8544420007176800570 16811631686571990158 7243022960999760996 5840250624485887057 14278601361167230918 12210943273207625129 1176096451434205712 1283...
First Run Output
1018 9223372036854777832 3648082887327641628 14016370271894914297 9440508241891533010 4765526193326876697 5919957982847713584 9362983718064837356 10688322874089031640 5552004399934494533 15252322329234050279 3513912101569713184 10818338448319070615 10262058445234256844 15494724325465916121 127522371...
Second Run Input
decode 1018 16719332141636255872 3648082887327641628 17961661638996559042 15177156450597995395 1830732978843296322 3477307281017284434 9362983718064837356 10688322874089031640 4996603055902166093 16648894271455407059 3513912101569713184 10898994980550156950 10262058445234256844 15637061889883703511 ...
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: 3568kb
First Run Input
encode 1000 12880235316464868018 6079333585974676397 8949594007992873852 17714600270679758581 3687564633781840947 17554383905953148659 10232070266398111373 2112684738820133149 13317391019226530972 9729754318953252743 898027907072357900 3401298529968599855 13130931376755980982 5483140174275811404 168...
First Run Output
1018 9223372036854777832 4781201528621130790 5840450886620532787 3047072211359062544 7922204425594383126 5919620028217135371 13862907335087915232 7153693013471455240 10854365101297321635 11717374863634869496 9249343895873620722 9369404825827872720 1661910261520680976 10105436257060848306 23507577830...
Second Run Input
decode 1018 16719332141636255872 4781201528621130790 3733520551662259537 1178260003612543274 1633562644425404781 833495076112377426 13862907335087915232 7153693013471455240 11765154837697897110 17882681892797062306 9249343895873620722 14992286622027875970 1661910261520680976 12826945679783378316 148...
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: 3676kb
First Run Input
encode 1000 17393761435229632521 8814882814214296698 3214342078937098028 12239425198494964649 14970362339477012943 3905744559189406518 10423699172450085008 1282661219762752529 2028127423684402460 16606738522249646310 4504076889805065534 17998211395807463161 15073288595893530577 6967295239368126560 3...
First Run Output
1018 9223372036854777832 14523509303813155534 6134258988477097288 256890645231058944 14927465798604997602 10008553495116140248 7901399398481925985 8088467460520436226 5045246964137275933 12092461046783896814 11391095646894671560 15952350332187984100 1471885671288714515 9874143151562689008 7940303553...
Second Run Input
decode 1018 16719332141636255872 14523509303813155534 5234709576544428373 18047691731275779 16340084201762269647 15586646389948867978 7901399398481925985 8088467460520436226 2103890268465988678 17180333045837582759 11391095646894671560 16447329054327202525 1471885671288714515 17296426774757902473 81...
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: 3776kb
First Run Input
encode 1000 8115213866885488496 918977475602399244 14587511192000950730 1633431972983327826 15072791127986744785 6837211866643026526 5967645362315710802 17178064812114863342 15413834056879761621 3668122907584560911 10632535574962671251 1167735484387308560 2626489242395991942 8127492241531145328 1574...
First Run Output
1018 9223372036854777832 3766279035561189400 10471163450033060034 16332391951303305962 11549523304559500979 9540534037291409833 16900814267953820919 8040369355609357400 15188554698710001638 6221489157171118400 6876224009278105622 5435085140800884495 616243128086708743 10592050599831135136 7050744555...
Second Run Input
decode 1018 16719332141636255872 3766279035561189400 13995013772843635089 16927590011758422242 12924871219805046944 12187100905745245828 16900814267953820919 8040369355609357400 16584280966753077458 4612004822779647830 6876224009278105622 1139253085312216395 616243128086708743 11593362503920647826 3...
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: 3668kb
First Run Input
encode 1000 8425165299341585524 12943014948951531187 15460229027637464534 14501491637922119625 1419011972619936150 1531930959048819221 4849605402876333379 16923384268274588650 3333033076450189598 609865898516117000 901260326856664844 7789088477532264556 18185090625118449660 1003061006082435853 14479...
First Run Output
1018 9223372036854777832 5640973809679870265 14105126423564294393 12263372596358392499 324652461073774593 11093034889405255852 2883349516617716490 9332033058904965300 7377213162521298947 2504358766043399179 5868772705754038824 7123270207299127051 9506704193951863946 9354294039765203595 4580394333310...
Second Run Input
decode 1018 16719332141636255872 5640973809679870265 17985272466871271363 12946217229380235434 88034020656775428 12452456682500453017 2883349516617716490 9332033058904965300 218542230898499942 793802796435882274 5868772705754038824 794656951558527586 9506704193951863946 10032544652241981825 40769350...
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: 3816kb
First Run Input
encode 1000 3843638127672474165 4209638564019596090 8198111399318504817 3246997639520013181 16123800028132066271 5198896512401148744 4432422976740316796 10193867358299518861 5227843122247470408 16957438109999387883 5592627905395006797 2028252743007846684 1361506116473767442 6476407042194202713 93856...
First Run Output
1018 9223372036854777832 13838665305050470601 1856166539580151057 9518639766917665955 10071752708777323929 10429555534806190041 10854450282107722921 9255126792799446146 12436769607251743409 2193791376074180888 3632588130657076488 11080593338284488392 7966097250012115054 10551977371848692160 11042634...
Second Run Input
decode 1018 16719332141636255872 13838665305050470601 1231070546111611417 11805070025574848900 11037549630036231819 15638561902160362896 10854450282107722921 9255126792799446146 12777448407892007084 1768004950621253918 3632588130657076488 14462748378346079897 7966097250012115054 13857857869898543250...
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: 3672kb
First Run Input
encode 1000 7909617952844924013 9803115229991247890 15704661284805860057 13036955088565103796 8232958449788614175 10411060999027325840 1657707053010583831 1611023628387226902 8825304933328320890 4820495155580036418 2094500400859779357 1933221703835374618 13781614827293459135 5545848500122941004 8816...
First Run Output
1018 9223372036854777832 11752165686373861544 5151072889968448006 3139655249680516610 4738672353294438425 11604471673731317419 13115379631518906815 8324766788681618240 6692930877148168720 6958079892718266432 4914623812659164198 9686976480980467078 12613601916858091706 8791059124857292304 64296038790...
Second Run Input
decode 1018 16719332141636255872 11752165686373861544 491655946591370311 199958983418286635 1823979931225670465 12357549785339464609 13115379631518906815 8324766788681618240 1153670332894274140 4659046402885718112 4914623812659164198 9691015363680890758 12613601916858091706 1172786865210458234 54857...
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: 3624kb
First Run Input
encode 1000 1095323537722389263 1793902084311475480 619603394461238971 825137412916339979 11497053862269885087 9254004377678277760 13265615946525978808 8997700509002342524 101888878420274433 7308714701788376421 4795919705601379906 4357495418564540476 9876480417963144585 358384761466821234 1713960113...
First Run Output
1018 9223372036854777832 12169046368319564484 9312613917932937696 12510720443020382177 10399210272358161312 241546777877204482 9457793262083649160 9746979553536361889 11855500904879597820 6119337496986787841 10271090109051348655 9386954397022651025 3040141306218469637 4200423395357133334 41423991328...
Second Run Input
decode 1018 16719332141636255872 12169046368319564484 16168415913552199041 16253335280826818477 11554970232551002512 202102076315359747 9457793262083649160 9746979553536361889 18205990082474903460 81240887090342996 10271090109051348655 10485034370814526850 3040141306218469637 1624252189870803514 289...
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: 3816kb
First Run Input
encode 1000 8348320487640521587 4087644312273861176 18249601812280121085 4317584370914618171 1371239231248008979 7045133357521290593 8401228777323599732 3237214378156003628 17619700469171521012 5278047533005029193 6814428298653440461 15689881449784655321 2141740473823191837 15362805372002120661 8497...
First Run Output
1018 9223372036854777832 10102485591804947649 4441334341947891712 9333746819154485898 8980692678470298374 6783932061584690215 16816616991380388594 8214647191129237566 9727918434900295874 10543454628372391116 4838187914880238885 5911423181903913286 9929139814956774357 12703848384124204003 78391708226...
Second Run Input
decode 1018 16719332141636255872 10102485591804947649 9161698049696317 9989584973769836673 462512630294421884 2849691590654305630 16816616991380388594 8214647191129237566 14033274284688932999 14746075410196353426 4838187914880238885 5071444993384122706 9929139814956774357 16407497625082940848 136973...
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: 3632kb
First Run Input
encode 1000 13578882033368789436 3973596031039251767 14778499039369405888 6098462778530162260 8938781100678712444 2755428565923624603 11817516716366595315 2335520724594542624 5470249295394133579 8387325725044401524 9074784385410142746 8813556627048910970 10586188031995908626 13312221032665497272 773...
First Run Output
1018 9223372036854777832 10706190055644463347 8900796383297872244 12898691553556303844 12227632970998826670 7135958045666903844 7821635492905554434 6343939384957538572 13425302053680090865 9241499911944711556 12156155057130323882 8079269224860543517 10030609027292150693 7484423791855286828 885233512...
Second Run Input
decode 1018 16719332141636255872 10706190055644463347 8368125662396646779 16433369738540417459 12557791682911252905 2596063346927339619 7821635492905554434 6343939384957538572 17406109537332711610 9560373257885401216 12156155057130323882 2155692466745122672 10030609027292150693 3186865006843256423 6...
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: 3624kb
First Run Input
encode 1000 11790443656552554659 7924050146065503853 3943164586696357942 9482669882038720899 39037787700234752 12219081450744336553 4172653270216846757 10935904117498496151 4140338612291997753 2130699400371309778 17316187340788884577 11499287822828672415 9687009983375530331 274064634849053955 120619...
First Run Output
1018 9223372036854777832 12164548570004195277 2181308441518688265 9269255410857657309 16149688600926387696 9213942720046924377 7999048758924993620 12094156737248315620 10332664923377714843 9273233897416598725 10826320109570546160 4459060305889853458 6061055025338724894 9431673518445642489 9233490868...
Second Run Input
decode 1018 16719332141636255872 12164548570004195277 668864201150711070 15979767088625656704 17329117730799362016 6449771600169459327 7999048758924993620 12094156737248315620 11188649862054831503 14241683938423976320 10826320109570546160 1297208339872342333 6061055025338724894 17961033747390915714 ...
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: 3624kb
First Run Input
encode 1000 16464528558736375268 15833734330726400 2137625671539272221 10578535761341238930 16171384701637651680 342725409902392068 11393957410952954782 5652219120422907629 15348503773490101288 15370915178985967829 14055679937743818691 10086653288626125451 8728772207572459641 429279293627692293 1049...
First Run Output
1018 9223372036854777832 9231152228804962773 9362992430378194404 16419263848749307890 9528492259047817413 9053717822723647766 11896478602013446356 5339931203405929256 9253886340756734150 9643496692875313347 8512940761730433072 13846397209427398118 9513476102172246201 2387492997472821777 118110646417...
Second Run Input
decode 1018 16719332141636255872 9231152228804962773 16435144768558264449 17480472615669849315 14249559341316258948 1650868469715215741 11896478602013446356 5339931203405929256 14267585058681941120 14105410454617969797 8512940761730433072 16595168205795240128 9513476102172246201 1270605885841089057 ...
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: 3840kb
First Run Input
encode 1000 2283629854520859126 8791164542106206330 16172199097798848480 5479911485192565324 7334387051300309093 8517643902455133302 5818741755402524198 5117060688873390919 12141870038631481512 4755610447648980801 786955256347676938 14521256560460447783 8009834018971658351 662933001546117897 6434522...
First Run Output
1018 9223372036854777832 7644638333898489881 11540527792578900161 4972581585566425122 6357830641678327839 3508124891767657739 5446401486072075012 10667384888326998514 2995661920269732116 7097214106894639145 5355968856649317381 5011386172497441807 9811760641505617059 7652043356038543907 1018382458524...
Second Run Input
decode 1018 16719332141636255872 7644638333898489881 13920679284389718176 2513102259322618437 2278914368643873624 816704665748877104 5446401486072075012 10667384888326998514 1479950419067834921 2999494833097047650 5355968856649317381 1131532860269104197 9811760641505617059 2574529406790021482 105278...
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
1018 9223372036854777832 6848009014394308148 10714769994325519034 10703403199604322212 4380199357688519172 7839521486604027984 9989243012806238413 5058956904377958400 4065080540847793924 12912877932744833229 10148990698789757112 12350620982082678985 4620246241342065682 15168923152083327199 922525072...
Second Run Input
decode 1018 16719332141636255872 6848009014394308148 13432770259358757524 11884772094751312532 295667232746817852 5784895343322975084 9989243012806238413 5058956904377958400 353415834444589624 14805650300010116019 10148990698789757112 14497235395537299115 4620246241342065682 16075634093963313874 127...
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: 3572kb
First Run Input
encode 1000 166900737089163266 10202814870311192205 17161612004701186798 11063970828547951513 10965376692181156248 10534314859004939922 13386144313190565305 14672256134463090891 14132945767778689732 14889658746529751758 17916615180112064248 10583966947778355602 43606244127883066 17628372606263469300...
First Run Output
1018 9223372036854777832 11532592887590822906 5335890960061083707 10444050285709534438 15691749548807729648 5332800342668642353 2348108313969443076 9452719279012780172 743394255198430466 4673056583186430264 7857497887412847394 15301332551233210866 16573693392308945402 2378696717854075168 54936075995...
Second Run Input
decode 1018 16719332141636255872 11532592887590822906 4301123128993778762 16619417735037251728 17343666184587560153 3569340485504401738 2348108313969443076 9452719279012780172 154578059692953866 4087333425139735104 7857497887412847394 17476606116044495316 16573693392308945402 2335420834339095073 268...
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: 3844kb
First Run Input
encode 1000 12995392041539623092 16795881029397386985 3744575639523098163 862102261500605963 4638781186002113856 8717314926297605263 1663644116731500055 10120463580791835907 10702428446706345876 2878139692429406503 17137793428385748461 5786710246580178512 17309231859780638448 7120334900288475234 114...
First Run Output
1018 9223372036854777832 9553612588147161781 9839810313138504688 2957300536337142532 10403596821523862689 5333468699025851455 2622764571532722466 11745533688702779569 8257439054306873365 9966560480888727768 9604923612822518460 13925136557016624369 10178852449550699153 9144852477207738984 25132406321...
Second Run Input
decode 1018 16719332141636255872 9553612588147161781 17330933987119959688 329732929329629737 11606990397728907664 4594825121537524810 2622764571532722466 11745533688702779569 1517826264282536050 15611958764990976138 9604923612822518460 17378485556794966209 10178852449550699153 7528419216505629054 83...
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: 3852kb
First Run Input
encode 1000 3093762872593936170 8266889846585409650 44684674286525952 13198951847648149397 983462115216400909 4557333676994543167 5122213258115224903 13524573298856512699 12317653193367024042 832997201996050816 11735177166486887330 11345938099610743965 12429926898941031812 14652127291888391883 53342...
First Run Output
1018 9223372036854777832 1243041964425790466 937734762295236872 8685764469382594833 5333356012505707525 6455410512357774395 9567714271500416749 9401126800910386072 11110998937054019797 4046820383757963280 16339734185549136633 10589164104417055175 9586455809735270595 11636291816952735162 107017176545...
Second Run Input
decode 1018 16719332141636255872 1243041964425790466 619566318827340557 1243347577547033208 410980103550600010 4275157002687714905 9567714271500416749 9401126800910386072 15348506290166051482 1157623788115929400 16339734185549136633 14380301682397738130 9586455809735270595 13449226766776892577 14509...
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: 3628kb
First Run Input
encode 1000 15265036345800096979 6373227721885190649 12787116445369521154 2278408008021614111 28821713277314560 9854428111595775824 14096648566308446659 5264876691844173638 6113485713246181204 11692030456964792994 2458251253109869602 14609572044763873226 9132467584603241854 17006731584508527852 3787...
First Run Output
1018 9223372036854777832 9958023948992461970 8816414095291379728 10085812141486119590 1373818502398416899 11016742152419553970 3179617951960336640 10017978430370820336 5856174442139875657 5224314554935066408 5111350136892057894 13474788817076304592 13310664276186405076 13349526525070280183 924536227...
Second Run Input
decode 1018 16719332141636255872 9958023948992461970 1220641005182737018 11969049026235529355 223017438068346899 12840336833251697560 3179617951960336640 10017978430370820336 5330423260226995537 2936292502908338248 5111350136892057894 15004372595511460027 13310664276186405076 17799765381423514553 16...
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: 3844kb
First Run Input
encode 1000 5619017349366741581 4053762078733594680 8563976765265664374 4978085664965137733 10557361696048448402 1816731551717281049 12317163971061477290 5726350117382223951 2284281409372467999 4026408032294199351 22042371748404480 12799717861459244877 4482188044214874942 11987312759986281382 940016...
First Run Output
1018 9223372036854777832 12718308775724377010 11859745032279786413 4702173699391241280 13598832475783588040 8683444896998167828 14159336066184970701 9484225011589194923 7266783188732723213 6941926136645694723 4036585088841942580 3753320906501048882 11716139770399283434 7067593655045833476 8625751442...
Second Run Input
decode 1018 16719332141636255872 12718308775724377010 12503045276111967908 4628686667509285185 14440827694860122300 1447134873831309688 14159336066184970701 9484225011589194923 990845935016532068 231307108877686368 4036585088841942580 3659749194118796852 11716139770399283434 343346463018980706 13333...
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: 3848kb
First Run Input
encode 1000 13373157595011847865 8294755373559972958 14014898252387024578 4637863197217436224 4866315776356812867 9539859265631302660 18141486943745043707 10872118313141592470 3596218685336951983 15897608051647333621 15129883218354174161 12802918012140820881 7337380393190884430 14621875289997110218 ...
First Run Output
1018 9223372036854777832 4726977953590069016 3851469886639374608 3805016312957328913 9932769606984764856 7651061765790638670 6425861653111345477 9380530784019028377 5629592620572355649 10687050081433851305 9529687825099183498 5949405231993600290 8093103978214380563 2383671496127565835 25541748815880...
Second Run Input
decode 1018 16719332141636255872 4726977953590069016 1153275240062350133 1251546882331823668 13298320305862334601 5630210437787692650 6425861653111345477 9380530784019028377 4696234458239737934 12219862522287050900 9529687825099183498 2466235940965224530 8093103978214380563 815407390609380385 676328...
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