QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#229202 | #7643. esreveR Order | ucup-team1198# | AC ✓ | 1ms | 4016kb | C++20 | 5.3kb | 2023-10-28 15:25:55 | 2023-10-28 15:25:55 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pii pair<int, int>
#define ld long double
#define all(a) (a).begin(), (a).end()
unsigned long long get_reversed_32_bits(unsigned long long mask2) {
unsigned long long mask3 = 0;
// reversed mask2
for (unsigned long long i = 0; i < 4; ++i) {
unsigned long long cur = (mask2 >> (8ULL * i)) & 255ULL;
mask3 += cur << (8ULL * (3ULL - i));
}
return mask3;
}
vector<unsigned long long> encode(vector<unsigned long long> A) {
unsigned long long n = A.size();
vector<int> bits;
auto add_bits = [&bits](unsigned long long x) {
for (unsigned long long i = 0; i < 64; ++i)
bits.emplace_back((x >> i) & 1ull);
};
add_bits(n);
for (auto x : A)
add_bits(x);
auto get_bit = [&bits](int i) -> unsigned long long {
if (i < bits.size())
return bits[i];
return 0;
};
int i = 0;
vector<unsigned long long> ans;
while (i < bits.size()) {
unsigned long long mask1 = 0;
for (unsigned long long j = 0; j < 31; ++j) {
mask1 += (get_bit(i + j) << j);
}
unsigned long long mask2 = 0;
for (unsigned long long j = 0; j < 31; ++j) {
mask2 += (get_bit(i + 31 + j) << j);
}
if (mask1 == mask2) {
mask1 += (get_bit(i + 62) << 31ULL);
mask2 += (get_bit(i + 62) << 31ULL);
} else if (mask1 < mask2) {
mask1 += (get_bit(i + 62) << 31ULL);
mask2 += (1ULL << 31ULL);
} else {
mask1 += (0ULL << 31ULL);
mask2 += (get_bit(i + 62) << 31ULL);
}
unsigned long long mask3 = get_reversed_32_bits(mask2);
ans.emplace_back(mask1 + (mask3 << 32ULL));
i += 63;
}
return ans;
}
vector<unsigned long long> decode(vector<unsigned long long> A) {
vector<unsigned long long> bits;
for (auto x : A) {
unsigned long long mask1 = x & ((1ull << 32ull) - 1ull);
unsigned long long mask3 = (x >> 32ull) & ((1ull << 32ull) - 1ull);
// reverse mask3
unsigned long long mask2 = get_reversed_32_bits(mask3);
unsigned long long last_bit1 = mask1 >> 31ull;
unsigned long long last_bit2 = mask2 >> 31ull;
mask1 ^= last_bit1 << 31ull;
mask2 ^= last_bit2 << 31ull;
bool should_reverse = false;
unsigned long long real_last_bit = 0;
if (mask1 > mask2) {
if (last_bit1)
should_reverse = true;
real_last_bit = last_bit2;
} else {
if (!last_bit2)
should_reverse = true;
real_last_bit = last_bit1;
}
//cerr << should_reverse << '\n';
if (should_reverse) {
swap(mask1, mask2);
}
for (unsigned long long i = 0; i < 31; ++i)
bits.emplace_back((mask1 >> i) & 1ull);
for (unsigned long long i = 0; i < 31; ++i)
bits.emplace_back((mask2 >> i) & 1ull);
bits.emplace_back(real_last_bit);
}
auto parse_bits = [&bits](int i) {
unsigned long long ans = 0;
for (unsigned long long j = 0; j < 64; ++j)
ans += bits[i + j] << j;
return ans;
};
unsigned long long n = parse_bits(0);
vector<unsigned long long> ans(n);
int cur = 64;
for (unsigned long long i = 0; i < n; ++i) {
ans[i] = parse_bits(cur);
cur += 64;
}
return ans;
}
vector<unsigned long long> do_something(vector<unsigned long long> A) {
for (unsigned long long& x : A) {
if (rand() % 2) {
unsigned long long kek = 0;
for (unsigned long long i = 0; i < 8; ++i) {
unsigned long long block = (x >> (i * 8ull)) & 255ull;
kek += (block << ((7ull - i) * 8ull));
}
x = kek;
}
}
return A;
}
signed main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
string s;
cin >> s;
if (s == "encode") {
unsigned long long n;
cin >> n;
vector<unsigned long long> A(n);
for (int i = 0; i < n; ++i)
cin >> A[i];
/*for (int i = 0; i < 1000; ++i) {
auto ans = encode(A);
auto B = do_something(ans);
auto C = decode(B);
if (A != C) {
for (unsigned long long x : A)
cerr << x << ' ';
cerr << '\n';
for (unsigned long long x : ans)
cerr << x << ' ';
cerr << '\n';
for (unsigned long long x : B)
cerr << x << ' ';
cerr << '\n';
for (unsigned long long x : C)
cerr << x << ' ';
cerr << '\n';
}
assert(A == C);
}*/
auto ans = encode(A);
cout << ans.size() << '\n';
for (auto x : ans)
cout << x << ' ';
cout << '\n';
} else {
int k;
cin >> k;
vector<unsigned long long> A(k);
for (int i = 0; i < k; ++i) {
cin >> A[i];
}
auto ans = decode(A);
for (auto x : ans)
cout << x << ' ';
cout << '\n';
}
return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3760kb
First Run Input
encode 3 15 10 2023
First Run Output
5 3 30 40 16184 0
Second Run Input
decode 5 216172782113783808 30 2882303761517117440 4052958189656735744 0
Second Run Output
15 10 2023
result:
ok correct answer!
Test #2:
score: 100
Accepted
time: 0ms
memory: 3776kb
First Run Input
encode 3 10 15 2023
First Run Output
5 3 20 60 16184 0
Second Run Input
decode 5 216172782113783808 20 4323455642275676160 4052958189656735744 0
Second Run Output
10 15 2023
result:
ok correct answer!
Test #3:
score: 100
Accepted
time: 0ms
memory: 3780kb
First Run Input
encode 2 0 18446744073709551615
First Run Output
4 2 0 18446744073709551612 7
Second Run Input
decode 4 144115188075855872 0 18230571291595767807 504403158265495552
Second Run Output
0 18446744073709551615
result:
ok correct answer!
Test #4:
score: 100
Accepted
time: 0ms
memory: 3816kb
First Run Input
encode 1 15294812614394108628
First Run Output
3 1 2764093965681538472 3
Second Run Input
decode 3 72057594037927936 2764093965681538472 216172782113783808
Second Run Output
15294812614394108628
result:
ok correct answer!
Test #5:
score: 100
Accepted
time: 1ms
memory: 3968kb
First Run Input
encode 1000 3121047760185282603 15342468685041132244 2946084834383553064 16497371564815217380 1737099509116836632 7254740756410367588 6912789008064777823 68696180012282880 17403862934625552113 17981474029810688761 11408678755067367070 6884603394053802847 9415479823797299842 12724980314795317424 4343...
First Run Output
1017 1000 11223322859260518486 15649828003854781264 14089557126184112454 72425511792356930 3725561036292711196 17087503985350252806 3529178266949070770 11429887263957581919 9765145513951093249 12024957179922212806 9591627876566104012 4679742903725455845 15198312425399012337 11211172628245782698 1079...
Second Run Input
decode 1017 16718206241729413120 11223322859260518486 5803936184889192409 5049035995033995459 4768766130582847745 2045552378984969011 17087503985350252806 3529178266949070770 6845740328219942814 135685658093323399 12024957179922212806 14769401255651318917 4679742903725455845 17387079252523936722 122...
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: 3984kb
First Run Input
encode 1000 2959543855015858729 1696588383057026327 13887516684624771776 4107504863913902137 2801614046935507238 11387178367909563806 11556129900970532768 5205368401715281224 10357494830429897083 13218483460617328311 17758885595442813174 15522412733037308631 4609285057964209983 6122463529806835958 1...
First Run Output
1017 1000 15178619089436419154 3022297689978860636 9722608639288923648 2899501362145395612 8379041358349608135 7364142968502183817 18296611118089490511 15777901674074294432 770356281813956240 1973391973571812926 3656013890628072891 3924329442581512039 2212698837815393005 3833146773195296765 13400126...
Second Run Input
decode 1017 16718206241729413120 15178619089436419154 6662139383344001321 60505549546319238 11241952704544193832 14349801754132301940 7364142968502183817 18296611118089490511 11549548628039038682 10445539619655823370 1973391973571812926 13525936254965103666 3924329442581512039 17148273200683398430 1...
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: 4012kb
First Run Input
encode 1000 11680746664093751970 5824248678120130908 17626250863570165236 10045289755533338763 7551074539406281320 679147484887477257 15604658746861719256 14804121544777963213 12775443214601374641 16518531288873472 17672220047006122229 5320248648820184393 9690327126946183814 9082174046062392190 3603...
First Run Output
1017 1000 15016243091760100676 9519096160737699186 6655423911727787938 17237811166272981183 5950015086010125585 397839276011356762 537303356977671172 15935109053468120 8767091399332422554 3252299138354119365 7279338744237762561 13090062693360246612 13658093572993370426 16822517657396814238 445013600...
Second Run Input
decode 1017 16718206241729413120 15016243091760100676 8225136543335914116 11740651307274361948 13801551567683402223 1246891511538487890 397839276011356762 537303356977671172 15622308377518684160 11124902055548267129 3252299138354119365 119353301545780581 13090062693360246612 4236005640244005821 1143...
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: 3776kb
First Run Input
encode 1000 3205299181656898348 12976875720891373492 13022766600023544756 11341018420341566428 6524953888141577562 12639723579518314927 388360823860605957 16028102076043194334 17021357338254522604 17358717917010294000 17727251730658821110 1692451494697027607 16668389809546941159 9881415132891652489 ...
First Run Output
1017 1000 9082334045257659992 13113840688791576272 11138425296612269477 5730105588934688203 7331669579748453203 5823339811726584790 10816727540334985943 15336309098831404549 13133351799449835964 18216056863778390960 11343046000456480647 11482900976722083680 17438235180079571695 1643069407785810388 9...
Second Run Input
decode 1017 16718206241729413120 9082334045257659992 15014574927795256757 11933918998764360602 14681152566648931663 6029037113022005093 5823339811726584790 10816727540334985943 422898293471958484 13608032873822634934 18216056863778390960 9779319510989826717 11482900976722083680 17285479657424945650 ...
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: 3964kb
First Run Input
encode 1000 11745468587528356003 2281514582009817375 8153897824941385841 3537801378424817716 15094875450944541137 2721439207979308907 15182962879679804626 16263387655845753825 10297607884981635726 2839756507535605799 4281233445445231670 17958831294784213241 2533099538757708909 198318855604518914 673...
First Run Output
1017 1000 14782223054872641862 7317026671423825022 17108479072770540424 9327826893180797767 14361963673735019046 4198832471167851252 15657811615415953682 14902219740959465938 15150055962684235203 14050029921825234491 14135658621339545915 6427971277823120310 1586155304537407271 5217131307867343049 63...
Second Run Input
decode 1017 16718206241729413120 14782223054872641862 9125496307728550757 9818886720388034029 5153068424793518977 2754525438774693831 4198832471167851252 15657811615415953682 15195623605968949198 14059416906042916818 14050029921825234491 4301255710625377220 6427971277823120310 2864163459667788566 14...
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: 3840kb
First Run Input
encode 1000 12145426503223053736 11223533449112258427 912503477502847244 8194754341178136232 1745167427925456920 16227738722877181921 7835300168023129196 11430255544479756296 4334103216084281862 2068776735956841756 8031840207725033071 6851343563018212447 5341289100182954058 13797007934729844927 1695...
First Run Output
1017 1000 4099459432888605520 12105975821638049262 4670687781732567140 18065120318622886528 16222252892105933582 17451802161733433414 6340386287309960816 1853189191009044588 15755086382085967165 1357883314829291760 11733075416237439205 8896181132987856631 14179732978678713314 7564023071576674952 701...
Second Run Input
decode 1017 16718206241729413120 4099459432888605520 17157928003696591272 7226286765296701760 9253267174824588538 1009799596672885217 17451802161733433414 6340386287309960816 7784665640695609113 4399405686108169690 1357883314829291760 16535163067495994530 8896181132987856631 16306137063563512004 985...
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: 3984kb
First Run Input
encode 1000 1319585769567178770 11683773173006280098 1546068050386102206 8237654235626754674 1093085146164964111 4487194325809812542 9572041562208720516 8198339197715138161 8775187665665181561 5453856317584289611 9012706293234275197 6962133233774075488 14416342846420488648 12023115692119218854 87984...
First Run Output
1017 1000 1184799409736294436 7047614521252025992 3804217149136911861 4385451373754656545 9928707415931707886 9996825286755553155 150511967896551967 10889902414396551556 9638242093085160163 10189090687534575079 1366008203478559325 13925387121920968657 5189514874081315859 1776954655627653636 71718140...
Second Run Input
decode 1017 16718206241729413120 1184799409736294436 9842085049911529057 17671493192526842676 2388989250130467900 17177121838558005641 9996825286755553155 150511967896551967 9543627306433781911 16425347166956601733 10189090687534575079 6767392090214757650 13925387121920968657 1372535080733115464 338...
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: 3852kb
First Run Input
encode 1000 5876429571674705233 1160709710205641488 8949179324326013918 3807785702791436084 10358659327093653462 6183776768104649045 9773192299199242631 4768204253843233314 869112494835896076 3850247465723981365 12656644485278573999 9985246442807560600 4674662620886523712 15476787152353297656 199767...
First Run Output
1017 1000 4473822404871396002 12059194494879108161 16497281110746029808 9375931037137072967 11633174903792335558 10383780016481916259 10636757543215481770 18231171454573617799 5969192269039671428 6799764693590791216 1630568418877733291 5227015981835586298 12661932954116165970 3184315189872693303 143...
Second Run Input
decode 1017 16718206241729413120 4473822404871396002 4723322940850789031 17320500628591342308 5148490940855295362 14337921446034436513 10383780016481916259 10636757543215481770 9737374300329018109 9518390904077211218 6799764693590791216 12355957069020504086 5227015981835586298 5913763542145218735 39...
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: 3768kb
First Run Input
encode 1000 4630576837261345600 3690007673192079155 10191688028902188685 13161084486177275994 13217699814043128503 16686700503527166951 14187412128529685444 5378307647117501258 381081194099329285 7835019377419533164 10828830188934852045 2418951383875555617 12869415733873449394 3981778763221189175 13...
First Run Output
1017 1000 7382538887672530560 7877829948685253837 4279548670539936873 9445089469679273384 15347331688802965238 6474356338412812781 12333618730227327603 9123779129192434372 15226244997693180565 8927723103596687381 9794971828512254821 11166092786041756004 1599160318233560114 18386323775442250918 13979...
Second Run Input
decode 1017 16718206241729413120 7382538887672530560 14806799339202827117 7580833068794143803 12107088227705426819 17750430480285367508 6474356338412812781 12333618730227327603 14144297026785681022 10739557057066520275 8927723103596687381 7308056213222780551 11166092786041756004 3622079596580253974 ...
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: 3752kb
First Run Input
encode 1000 14206023085971877050 5972347295337699666 16750030134568776936 31808836880920832 2212713974659790110 5122038573567789141 6021810187059330136 316820231069787396 9743056769613706887 12651574473802879919 10670777542814643481 12865788759884245938 14098797560825948355 1436584720745295635 18209...
First Run Output
1017 1000 16986055057754839412 14362278927781160267 10951136393014519618 18320115580571947022 13612209784353104832 17543932371769890119 15021128260287081507 11935705369191711827 5551578079650713096 14096090478794423836 5348440600073522556 9494386871212124481 5455384992066074193 16399885409456550122 ...
Second Run Input
decode 1017 16718206241729413120 16986055057754839412 5432881667718009287 4802942907252275863 1013335686199131902 13881068926139951292 17543932371769890119 15021128260287081507 5982017886202668197 580521888043371341 14096090478794423836 8993029253062342986 9494386871212124481 5869905646008907083 169...
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: 3984kb
First Run Input
encode 1000 9347075476817688449 4650888162489830208 14851788601390554770 16502989544831224549 16381526915592640227 11928081658354305445 16698603634079928807 6636914485074045532 3905297710570680886 4761937183601478210 602043399153080840 13119846281992737718 9982574920216512906 6465339115666258265 388...
First Run Output
1017 1000 9146490911494467330 2535907039437794562 13218279181321958546 13668931333666680412 17508790105224699004 687229696246704504 4505952297457087442 16005262245561523431 8236695356451351736 18022110134689925336 2198377492636516880 4454013718857736325 14915850833964914370 15915393151340536482 5095...
Second Run Input
decode 1017 16718206241729413120 9146490911494467330 156810411396182307 10589267607519654071 6678390173330092477 8997289136687152114 687229696246704504 4505952297457087442 16671387366784311006 13289107018865331826 18022110134689925336 1171728215835968030 4454013718857736325 14003434316638453710 1170...
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: 3984kb
First Run Input
encode 1000 816711338553922827 3136530477208405803 1897023433554023194 17975009636137635621 11452821585868157086 16899731438459979754 4011321460883199543 9514493131970120324 11223671094700651163 16143736757262944992 14578540197992026570 604575309861380872 15340457260098839764 11150070697970285978 17...
First Run Output
1017 1000 9955864678688401942 14883896887496547500 3480219994973968593 16717504952008766033 6855365649688826847 3610467170621979303 11789601026498829301 16802800555277321271 10202048476639213320 6945000120780554863 5844847227516638976 599332776645266597 1185614452546502924 9345563517918819641 160335...
Second Run Input
decode 1017 16718206241729413120 9955864678688401942 12402005608217808590 15103000006618598448 5904870310909444328 16074225252320027487 3610467170621979303 11789601026498829301 4000333884163764201 592053369245635725 6945000120780554863 24644499092348241 599332776645266597 901170845771527184 41583421...
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: 3844kb
First Run Input
encode 1000 15852042308351668955 11110270273771247747 1952170777025451803 12999077454378198708 10468936890965115281 3740726514366998835 13638413544957402813 10285421796981783950 9488163456704752771 6831060407290809438 9304289497016916865 11999488677836195494 17236300717840440076 16119040203783672287...
First Run Output
1017 1000 17803283408974472630 11015660452991361551 12110030625902213340 5981554963703556929 12441274038442537526 682820861496544484 1719355557106638489 8953809144033152701 16038138175701976861 13761709523850066446 5838249477808065270 1660962772775233553 3212768482003358928 7124084012254493644 15310...
Second Run Input
decode 1017 16718206241729413120 17803283408974472630 1108693146088038296 15904462413453856680 4713868309282423379 3905368814653057196 682820861496544484 1719355557106638489 13659062703557263996 2091738913984582366 13761709523850066446 17729225578673866065 1660962772775233553 15029745144340125228 14...
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: 3748kb
First Run Input
encode 1000 7737460840718732534 8502306463064852341 2130649553756067072 12798637249919425969 17739899473744975204 17861748128772157943 7786375620166094444 11631750721236397217 8433942411902211189 14696106042371974859 3551708439366617649 12548046713943630766 7655435767445585121 17638494868075184116 1...
First Run Output
1017 1000 10371371773434403308 8220743529777077717 12711156895286339587 11067803561927236369 3757465042978253974 14818205003417419261 6872426022923875963 9101370057797968236 3945583925931862850 7541405773131886036 2531094062129319519 3684156646746678036 15729826533027362244 1557348555197061775 11108...
Second Run Input
decode 1017 16718206241729413120 10371371773434403308 15356698970444404082 263685444856276912 1286755334265542809 10857240227818382644 14818205003417419261 6872426022923875963 7827657134149947006 4822132615614546230 7541405773131886036 6885530639261507619 3684156646746678036 14138378403431140314 103...
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: 3980kb
First Run Input
encode 1000 5776378122715867472 8860428478679807610 8981547657866880124 3887804736669348917 15875751532079952708 2861245578349082151 8735033493130313593 10531690036554104978 11209368434932931317 2817656194583435815 15283937566914793428 16210594600733767648 7083554101997751650 4895599144183105603 167...
First Run Output
1017 1000 3550428324757131936 974665206860601833 2585151718290170851 16661498647470359383 17075819188169631878 15337175496418757111 10065002803366968467 17479358904226845305 11731512259048237860 723843494797942382 6040527456194961720 15266143853929696577 3835866169813523486 16062014766160337043 3959...
Second Run Input
decode 1017 16718206241729413120 3550428324757131936 16850740779960010253 16366975514852581411 6287903953573657063 9685174063395240428 15337175496418757111 10065002803366968467 8760064587311125490 2660419352556523170 723843494797942382 4080681974698857555 15266143853929696577 2187812952650496821 106...
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: 4016kb
First Run Input
encode 1000 13461592460131029434 17866002937817526519 123084316061775105 11639997235077351841 17297265609665146864 4395039646452547132 10238707525074687886 11110873080840760717 4577834621477644863 15099659004708222063 4877517018647736387 5634232609779232846 12480652015292515508 15942940958849847955 ...
First Run Output
1017 1000 1494144955480777588 2042530588640658398 9838205862043559951 827028669574191632 6258611514106576404 16330660275084562236 4557416422708070174 17250335112393756046 15444515609661177652 3019697523977731326 2751345356917841548 18059459356487115835 3565927363438348742 11715880072838966093 134116...
Second Run Input
decode 1017 16718206241729413120 1494144955480777588 16051897396736972828 1128227856884992136 1196277950449875467 1512784191481109334 16330660275084562236 4557416422708070174 10272057049089074671 3782975656891078102 3019697523977731326 10096650750667927078 18059459356487115835 14306130893137804337 5...
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: 3764kb
First Run Input
encode 1000 14431283794327455432 13389333092722914233 10532008078511253906 4472767059359175230 13103724614110534069 4836152019432633768 6719842759815348573 1919269018289742362 52784695629691648 15163385683618061098 15620477516589867300 13938605139475525569 10477448247346751377 2179249273432981022 55...
First Run Output
1017 1000 11159946407366528400 1205983724446338791 13715874989581356181 3152043386530243561 722672667500164775 13786006155140360749 388345037913632417 13763346554316528221 11716710291473825845 9405020124620826626 16547730198037603987 6613801017764748684 16848505892473288749 36826626109449305 3872968...
Second Run Input
decode 1017 16718206241729413120 11159946407366528400 16703436282159938576 10758159537448114366 16799483802371931691 12048883084879333130 13786006155140360749 388345037913632417 6708852796423799231 3819182964816583330 9405020124620826626 10603172293819016677 6613801017764748684 3258621017134387689 6...
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: 3804kb
First Run Input
encode 1000 8361704202097698447 457512630822197510 9047071582378798263 7521861541655044968 15691318489382327720 9116556133522441342 10776729311315660437 2007356224744446747 15602891128841739224 11582605118888328352 14538672656065746377 9928263521479936137 3198358632421024300 6031000265902699091 1214...
First Run Output
1017 1000 12535253687114222878 9388539789917381657 13509350656347039160 551515633793513095 16915996220837770509 4377570591153135542 663896726947973823 12948728226873285525 10250592022410276919 2875671429380211554 2812177164889115909 5206972645270658204 8124932116367905081 13106711544854792984 836574...
Second Run Input
decode 1017 16718206241729413120 12535253687114222878 1829769048062904962 13287239210858347195 9743069404217779975 987944341562507754 4377570591153135542 663896726947973823 10744422746321564595 4012768192675660174 2875671429380211554 382153263150794279 5206972645270658204 4148172927567577456 1786684...
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: 3964kb
First Run Input
encode 1000 4070799250438564664 605330642058700296 5444589342570549067 8478061516396013685 15697388467035232473 8436336705264620405 10643411232161270675 8544420007176800570 16811631686571990158 7243022960999760996 5840250624485887057 14278601361167230918 12210943273207625129 1176096451434205712 1283...
First Run Output
1017 1000 7388711412008375920 1767720866105628704 10381625865738680920 17942346092139677524 2155276945051032366 10792016178751790454 15789618870584986042 15524965263539255955 15260913234563636461 1373624974942770085 18158460694983510820 13343050763232634128 18409041815944902852 12314176370153630301 ...
Second Run Input
decode 1017 16718206241729413120 7388711412008375920 2348703135380572184 6375509921834799760 6090865933503693049 3322349613529491741 10792016178751790454 15789618870584986042 10608942521017005015 17085593924856695251 1373624974942770085 2633306575003975675 13343050763232634128 14139250106142915327 6...
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: 3964kb
First Run Input
encode 1000 12880235316464868018 6079333585974676397 8949594007992873852 17714600270679758581 3687564633781840947 17554383905953148659 10232070266398111373 2112684738820133149 13317391019226530972 9729754318953252743 898027907072357900 3401298529968599855 13130931376755980982 5483140174275811404 168...
First Run Output
1017 1000 2028871403602228580 9083181702577991350 6162390779228167138 16348872290852499287 14708536254568695422 16326632556340165836 698794613950596857 2821372826849713549 3407960769240315962 7495468314385063651 17796529621088363576 13456720478105432263 7209737008562226662 12754889049048821134 99685...
Second Run Input
decode 1017 16718206241729413120 2028871403602228580 13127567663216790910 16328655404201772373 6300392386969002722 9117121124956053452 16326632556340165836 698794613950596857 10168372884620650279 4195113443554118447 7495468314385063651 4063566807850154486 13456720478105432263 16628792064697503332 10...
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: 3840kb
First Run Input
encode 1000 17393761435229632521 8814882814214296698 3214342078937098028 12239425198494964649 14970362339477012943 3905744559189406518 10423699172450085008 1282661219762752529 2028127423684402460 16606738522249646310 4504076889805065534 17998211395807463161 15073288595893530577 6967295239368126560 3...
First Run Output
1017 1000 8806662376456744978 13405429188727493099 8228563367927167331 15963965158852508306 14865919410815121909 15347702490515426739 10604688117775747099 14279467019258302864 16110902630799783971 259491029592545392 2167675745326462771 17292904267990930408 14659225330954944312 16685007481005945931 1...
Second Run Input
decode 1017 16718206241729413120 8806662376456744978 16956546792405993914 7149771506291716466 10572795187525159901 17670217207555706574 15347702490515426739 10604688117775747099 10381303056458001094 2537983309714855391 259491029592545392 3744577083685279006 17292904267990930408 4053233367222022347 5...
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: 4012kb
First Run Input
encode 1000 8115213866885488496 918977475602399244 14587511192000950730 1633431972983327826 15072791127986744785 6837211866643026526 5967645362315710802 17178064812114863342 15413834056879761621 3668122907584560911 10632535574962671251 1167735484387308560 2626489242395991942 8127492241531145328 1574...
First Run Output
1017 1000 1162065878809919200 3019952610434547761 4756386866666901072 3798614579991069996 18440643756268304930 15779298015416981428 14904194375833135407 15987072557671312978 10133875018532236252 11010266165883453271 8455979878476716439 5804620488000997688 15651842461732487686 11164864188266580252 50...
Second Run Input
decode 1017 16718206241729413120 1162065878809919200 3530953052385634601 5804580966849839682 3226262501555681076 2502564510625426175 15779298015416981428 14904194375833135407 5975824526154259933 15901033006391992972 11010266165883453271 10923890828899015029 5804620488000997688 487216399056582361 202...
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: 3776kb
First Run Input
encode 1000 8425165299341585524 12943014948951531187 15460229027637464534 14501491637922119625 1419011972619936150 1531930959048819221 4849605402876333379 16923384268274588650 3333033076450189598 609865898516117000 901260326856664844 7789088477532264556 18185090625118449660 1003061006082435853 14479...
First Run Output
1017 1000 14901479689802995944 3142657792210270925 4055171404895383221 18427027800756321437 13616446472646308569 11352239446030320964 7740353833358238090 17845479126955977283 698690184543354325 10190923256380793017 567655442503196739 7815669552012247240 11441927680904105347 14687740093238837015 1725...
Second Run Input
decode 1017 16718206241729413120 14901479689802995944 14806233086474755115 13073417919312709176 11384065742207236607 15650629387686377404 11352239446030320964 7740353833358238090 4893965222259238903 15365651225613677065 10190923256380793017 4854942029453975559 7815669552012247240 9479513808698657182...
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: 3932kb
First Run Input
encode 1000 3843638127672474165 4209638564019596090 8198111399318504817 3246997639520013181 16123800028132066271 5198896512401148744 4432422976740316796 10193867358299518861 5227843122247470408 16957438109999387883 5592627905395006797 2028252743007846684 1361506116473767442 6476407042194202713 93856...
First Run Output
1017 1000 892378847631209578 14060059725256568040 2138743751599598473 14692136859433482199 12442548503569791973 11703193053371224631 11400336355162275364 13093310949328653629 5511313802690990362 18009438231305891106 16153875097909358426 13183342026802971865 18184311273007760260 7573351327587517625 7...
Second Run Input
decode 1017 16718206241729413120 892378847631209578 16765970834272362435 9884185444816039453 15544161613936649419 16536048810071141548 11703193053371224631 11400336355162275364 4435333033188963509 1914339971357899852 18009438231305891106 6516685076335898336 13183342026802971865 9530674648046787580 1...
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: 3752kb
First Run Input
encode 1000 7909617952844924013 9803115229991247890 15704661284805860057 13036955088565103796 8232958449788614175 10411060999027325840 1657707053010583831 1611023628387226902 8825304933328320890 4820495155580036418 2094500400859779357 1933221703835374618 13781614827293459135 5545848500122941004 8816...
First Run Output
1017 1000 8966124487623805146 16594178857278799945 13016285416296732364 10462586089126153037 13980675795898516470 14008660210275509276 2650468441324030920 12531268949370017303 5066585759766737964 7957497901831490025 8234708851870984727 2717038940833030609 411352073999213402 18082490609566953424 8905...
Second Run Input
decode 1017 16718206241729413120 8966124487623805146 5296345585784015590 14760115076306478004 5605660381009818257 17781177003137172930 14008660210275509276 2650468441324030920 1663540514412226733 3239480744743030854 7957497901831490025 1723339650553104242 2717038940833030609 6549174114725836037 1500...
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: 3908kb
First Run Input
encode 1000 1095323537722389263 1793902084311475480 619603394461238971 825137412916339979 11497053862269885087 9254004377678277760 13265615946525978808 8997700509002342524 101888878420274433 7308714701788376421 4795919705601379906 4357495418564540476 9876480417963144585 358384761466821234 1713960113...
First Run Output
1017 1000 15094884783804802590 9782708753557066848 1324221607180776920 6792395732007932080 13286867823614972897 15058182511267618855 5434700262652009536 15339684452127243448 10634385924250272505 7377506341641098245 8862935533080417067 13682180985335301160 17451350782987282319 1321953404932366916 179...
Second Run Input
decode 1017 16718206241729413120 15094884783804802590 6959433360442246023 15579613725287800850 12704714184138376030 16236360135259153592 15058182511267618855 5434700262652009536 13293676601855304148 17943003489981273235 7377506341641098245 3103950826947280762 13682180985335301160 1031540855784965323...
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: 3836kb
First Run Input
encode 1000 8348320487640521587 4087644312273861176 18249601812280121085 4317584370914618171 1371239231248008979 7045133357521290593 8401228777323599732 3237214378156003628 17619700469171521012 5278047533005029193 6814428298653440461 15689881449784655321 2141740473823191837 15362805372002120661 8497...
First Run Output
1017 1000 199685397517416166 14039639534642850017 9710387331579557865 9476529079819613119 3797915204373766759 2430725413529540676 13046692376528796208 11504105334852627572 16709481166009002073 14060839450468755410 9938993695360445001 14742816734152857065 15223124687273048887 15243290366996465518 107...
Second Run Input
decode 1017 16718206241729413120 199685397517416166 16278518709106104002 16841000296585478790 13813470531701474179 7485757271489098804 2430725413529540676 13046692376528796208 8371226090618398367 6478440165428749543 14060839450468755410 5290267607292112521 14742816734152857065 4015912740582802387 79...
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: 3752kb
First Run Input
encode 1000 13578882033368789436 3973596031039251767 14778499039369405888 6098462778530162260 8938781100678712444 2755428565923624603 11817516716366595315 2335520724594542624 5470249295394133579 8387325725044401524 9074784385410142746 8813556627048910970 10586188031995908626 13312221032665497272 773...
First Run Output
1017 1000 1118519924059464568 5504569422204671198 4136974972365385217 13903248204741633356 5297142472361742218 5032666061785114335 8563383585795635603 2770804291035209892 10593006907900597824 14301218747729695023 11103560014668813219 7046832699495393247 2762249652165300042 13960947468833006778 66004...
Second Run Input
decode 1017 16718206241729413120 1118519924059464568 16038721918729741388 85152334362732857 5505006658335732416 9984411504134030153 5032666061785114335 8563383585795635603 11826532361080632102 4654097036602966419 14301218747729695023 11804937446691772314 7046832699495393247 5354571541180536102 13413...
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: 3916kb
First Run Input
encode 1000 11790443656552554659 7924050146065503853 3943164586696357942 9482669882038720899 39037787700234752 12219081450744336553 4172653270216846757 10935904117498496151 4140338612291997753 2130699400371309778 17316187340788884577 11499287822828672415 9687009983375530331 274064634849053955 120619...
First Run Output
1017 1000 2758596121455837510 18306217620358519222 14768586218148839859 9709803622055385139 5704561690173063184 9577875241415486016 11964444528680030932 4230363876388280121 3251810954154898223 10558159971989801189 18249231067781466348 3831344703385239300 12709176614033519602 15468222971776131483 831...
Second Run Input
decode 1017 16718206241729413120 2758596121455837510 13139664689002646782 12952771476264514764 3717837026799042694 1170954692032473679 9577875241415486016 11964444528680030932 4150001337318618426 3419112275523412013 10558159971989801189 17007883248619635453 3831344703385239300 17470355052749152432 1...
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: 3832kb
First Run Input
encode 1000 16464528558736375268 15833734330726400 2137625671539272221 10578535761341238930 16171384701637651680 342725409902392068 11393957410952954782 5652219120422907629 15348503773490101288 15370915178985967829 14055679937743818691 10086653288626125451 8728772207572459641 429279293627692293 1049...
First Run Output
1017 1000 17799905304721423304 10666144603004002307 10372816724479529192 5136303531139852577 3903797460456021010 16463134800595435832 13971704395690266370 14028553278983171486 15164282964784205980 6941647379871520596 6696543669987450538 2463671166182145072 7699190215886188927 945649876811734600 1348...
Second Run Input
decode 1017 16718206241729413120 17799905304721423304 279223421739599252 16740114521387299727 2443532826789824327 1341102271614889270 16463134800595435832 13971704395690266370 11451930901520232386 11263634871498273490 6941647379871520596 12258374809249312348 2463671166182145072 9165123848042240362 5...
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: 3752kb
First Run Input
encode 1000 2283629854520859126 8791164542106206330 16172199097798848480 5479911485192565324 7334387051300309093 8517643902455133302 5818741755402524198 5117060688873390919 12141870038631481512 4755610447648980801 786955256347676938 14521256560460447783 8009834018971658351 662933001546117897 6434522...
First Run Output
1017 1000 240314751582909420 10875071395184771560 5987239963501756163 14469662636960589006 9046112011692870825 2017718299039440281 3083930832651096891 11253342108649736016 495775299867332750 17441197785599510178 14640422548526354959 5905552524412350638 12217252765806491952 9635740142887132106 163360...
Second Run Input
decode 1017 16718206241729413120 240314751582909420 16717644089834859670 252073387360458323 14854216512185683656 12181209223312345725 2017718299039440281 3083930832651096891 5784596000297921436 10254697644347220230 17441197785599510178 1104094764782464459 5905552524412350638 3528866238428515497 1458...
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: 3960kb
First Run Input
encode 1000 1717786205588128791 1576640117804228885 14155128512240841156 13192476574176510647 835120129773770251 9915507235852778377 8387923390246705780 6201845675540418902 17609497148766839284 685633166199389436 13764475822913947071 207834653924581890 12837372616645945266 13943204184925307073 70342...
First Run Output
1017 1000 14930941154299676718 12379844173520929876 2947062552841129504 9579616975940758396 6149028560095068534 17340400964175061570 16060367779515939396 17622799894325581428 5074995507290695852 3232420279191073745 9463995017265543244 16611264219175726064 2326840248634851420 11203876268983479433 170...
Second Run Input
decode 1017 16718206241729413120 14930941154299676718 6090106127919009451 2346079709291472424 8947315968349237636 8557176287582246229 17340400964175061570 16060367779515939396 8382906865289498868 12459423325891948102 3232420279191073745 5546232867213629059 16611264219175726064 6647584375440951840 99...
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: 3768kb
First Run Input
encode 1000 166900737089163266 10202814870311192205 17161612004701186798 11063970828547951513 10965376692181156248 10534314859004939922 13386144313190565305 14672256134463090891 14132945767778689732 14889658746529751758 17916615180112064248 10583966947778355602 43606244127883066 17628372606263469300...
First Run Output
1017 1000 6398844351864545284 9975681997410081332 1419659600442513268 3232286769666374046 5260263786610701075 9927819345435796646 8886767295526001865 5219573820468284345 6426422852408674711 17144514478986705680 13783171865805047413 11068646364259364746 14877898355834835548 5133749839166504998 908264...
Second Run Input
decode 1017 16718206241729413120 6398844351864545284 3754563206140227722 8383267684416271123 11437216772254849836 1383669657859653705 9927819345435796646 8886767295526001865 13388058439467822920 10919334768990302041 17144514478986705680 8486601509057415103 11068646364259364746 6652634032283154638 27...
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: 3828kb
First Run Input
encode 1000 12995392041539623092 16795881029397386985 3744575639523098163 862102261500605963 4638781186002113856 8717314926297605263 1663644116731500055 10120463580791835907 10702428446706345876 2878139692429406503 17137793428385748461 5786710246580178512 17309231859780638448 7120334900288475234 114...
First Run Output
1017 1000 15465470872404406632 8549723013234318246 5006725425365774751 1058022647639531699 6033152347381344257 11303489695313896400 9404205511194905532 3315556314927399703 11520110103815465240 16818875917161242194 14928242930592213311 3525133030230658781 5099388349552921097 13974228469859007501 1240...
Second Run Input
decode 1017 16718206241729413120 15465470872404406632 11987403788365833846 11525229738389306181 12925576177461603854 119479861660138067 11303489695313896400 9404205511194905532 1658184347388740398 1741010069562580895 16818875917161242194 4569375878358051791 3525133030230658781 651577920781468742 989...
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: 3768kb
First Run Input
encode 1000 3093762872593936170 8266889846585409650 44684674286525952 13198951847648149397 983462115216400909 4557333676994543167 5122213258115224903 13524573298856512699 12317653193367024042 832997201996050816 11735177166486887330 11345938099610743965 12429926898941031812 14652127291888391883 53342...
First Run Output
1017 1000 14052283806082260564 2244146755275260360 10882926549271900163 14346361634318711120 5937289575576912310 12567984839213420483 15119077721617638303 11710731088854563655 4919445665398084983 11409083485697475243 815599838268559452 15839954404310112813 15860599260227605422 7503580717158427423 82...
Second Run Input
decode 1017 16718206241729413120 14052283806082260564 14411808514233017375 283731509744764823 5834936035808843975 13133029159846372690 12567984839213420483 15119077721617638303 5168808645615387810 8599029416177255748 11409083485697475243 6634045581341184267 15839954404310112813 12579592243652467932 ...
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: 3892kb
First Run Input
encode 1000 15265036345800096979 6373227721885190649 12787116445369521154 2278408008021614111 28821713277314560 9854428111595775824 14096648566308446659 5264876691844173638 6113485713246181204 11692030456964792994 2458251253109869602 14609572044763873226 9132467584603241854 17006731584508527852 3787...
First Run Output
1017 1000 13201846899733100966 14197196243940026343 9757698503365271570 6917759872344383995 9461105250771189763 582367191639905280 1022136388202586564 15558022055253198531 6158350734794336402 5982889251078572371 7266672174803522834 1501400670723154465 14012871361201953111 9701354506251083695 9574388...
Second Run Input
decode 1017 16718206241729413120 13201846899733100966 16656438490670696133 1342198162522073735 18149939400737357920 270440510372007043 582367191639905280 1022136388202586564 14070950697108695511 10567888310374200917 5982889251078572371 1303055070759737444 1501400670723154465 6330283678001297346 1261...
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: 4008kb
First Run Input
encode 1000 5619017349366741581 4053762078733594680 8563976765265664374 4978085664965137733 10557361696048448402 1816731551717281049 12317163971061477290 5726350117382223951 2284281409372467999 4026408032294199351 22042371748404480 12799717861459244877 4482188044214874942 11987312759986281382 940016...
First Run Output
1017 1000 579534124860437658 1214017803279253729 16696978440810580913 3589851187498800215 13700463127300174408 4961886637678347876 6872312641364677900 4336732178969284522 5934503842214723230 3255651753160399998 11653616972341969343 12720543277870534660 18146007834157372980 4524913378265239436 137250...
Second Run Input
decode 1017 16718206241729413120 579534124860437658 16267131097178888464 12811578148031674343 6292761900421140785 5220252826492608958 4961886637678347876 6872312641364677900 12272160094982647612 11402663842436045650 3255651753160399998 13763537645235255713 12720543277870534660 3807344639310156795 10...
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: 3832kb
First Run Input
encode 1000 13373157595011847865 8294755373559972958 14014898252387024578 4637863197217436224 4866315776356812867 9539859265631302660 18141486943745043707 10872118313141592470 3596218685336951983 15897608051647333621 15129883218354174161 12802918012140820881 7337380393190884430 14621875289997110218 ...
First Run Output
1017 1000 16933354169752825202 9520864253611348346 5601332414013765139 3170710107579950092 11176290379958913128 10933105137472569616 17528435001546669506 8431034010462951163 16743353864785846061 14292510958152832199 3603524574723346148 4840599542549781791 9505733116330366517 3141557244147177844 1191...
Second Run Input
decode 1017 16718206241729413120 16933354169752825202 8795873461750145156 1438384711309114189 874836528598089772 7496261185783208603 10933105137472569616 17528435001546669506 18128925095602422133 3269394817126718696 14292510958152832199 16469318760332395058 4840599542549781791 3879439728069962627 84...
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