QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#234083 | #7643. esreveR Order | hos_lyric | AC ✓ | 1ms | 3748kb | C++14 | 3.7kb | 2023-11-01 13:46:55 | 2023-11-01 13:46:56 |
Judging History
answer
#include <cassert>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <functional>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
using namespace std;
using Int = long long;
template <class T1, class T2> ostream &operator<<(ostream &os, const pair<T1, T2> &a) { return os << "(" << a.first << ", " << a.second << ")"; };
template <class T> ostream &operator<<(ostream &os, const vector<T> &as) { const int sz = as.size(); os << "["; for (int i = 0; i < sz; ++i) { if (i >= 256) { os << ", ..."; break; } if (i > 0) { os << ", "; } os << as[i]; } return os << "]"; }
template <class T> void pv(T a, T b) { for (T i = a; i != b; ++i) cerr << *i << " "; cerr << endl; }
template <class T> bool chmin(T &t, const T &f) { if (t > f) { t = f; return true; } return false; }
template <class T> bool chmax(T &t, const T &f) { if (t < f) { t = f; return true; } return false; }
#define COLOR(s) ("\x1b[" s "m")
constexpr int MAX_A_LEN = 1000;
constexpr int D = (MAX_A_LEN * 64 + 63 - 1) / 63 - MAX_A_LEN;
/*
unordered pair of u32
0123
0 0123
1 4567
2 x4
3 x
a[0]...a[7] ... a[24]...a[31] b[24]...b[31] ... b[0]...b[7]
*/
unsigned long long enc(unsigned long long x) {
assert(!(x >> 63));
unsigned a = x >> 32, b = x;
if (a > b) {
a = ~a;
b = ~b;
}
unsigned long long y = a;
for (int e = 0; e < 32; ++e) {
y |= (unsigned long long)(b >> e & 1) << ((7 - (e/8)) * 8 + (e%8));
}
return y;
}
unsigned long long dec(unsigned long long y) {
unsigned a = y, b = 0;
for (int e = 0; e < 32; ++e) {
b |= (y >> ((7 - (e/8)) * 8 + (e%8)) & 1) << e;
}
if (a > b) {
swap(a, b);
}
if (a >> 31) {
a = ~a;
b = ~b;
}
return (unsigned long long)a << 32 | b;
}
void encode() {
int ALen;
scanf("%d", &ALen);
vector<unsigned long long> A(ALen);
for (int i = 0; i < ALen; ++i) {
scanf("%llu", &A[i]);
}
auto at = [&](int pos) -> unsigned long long {
const int i = pos >> 6;
return (0 <= i && i < ALen) ? (A[i] >> (pos & 63) & 1) : 0;
};
const int BLen = ALen + D;
vector<unsigned long long> B(BLen, 0);
for (int j = 0; j < (ALen * 64 + 63 - 1) / 63; ++j) {
unsigned long long x = 0;
for (int e = 0; e < 63; ++e) {
x |= at(j * 63 + e) << e;
}
B[j] = enc(x);
}
printf("%d\n", BLen);
for (int j = 0; j < BLen; ++j) {
if (j) printf(" ");
printf("%llu", B[j]);
}
puts("");
}
void decode() {
int BLen;
scanf("%d", &BLen);
vector<unsigned long long> B(BLen);
for (int j = 0; j < BLen; ++j) {
scanf("%llu", &B[j]);
}
const int ALen = BLen - D;
vector<unsigned long long> A(ALen, 0);
auto se = [&](int pos, unsigned long long val) -> void {
const int i = pos >> 6;
if (0 <= i && i < ALen) {
A[i] |= val << (pos & 63);
}
};
for (int j = 0; j < (ALen * 64 + 63 - 1) / 63; ++j) {
const unsigned long long y = dec(B[j]);
for (int e = 0; e < 63; ++e) {
se(j * 63 + e, y >> e & 1);
}
}
for (int i = 0; i < ALen; ++i) {
if (i) printf(" ");
printf("%llu", A[i]);
}
puts("");
}
int main() {
char typ[110];
for (; ~scanf("%s", typ); ) {
if (!strcmp(typ, "encode")) {
encode();
} else if (!strcmp(typ, "decode")) {
decode();
} else {
assert(false);
}
}
return 0;
}
详细
Test #1:
score: 100
Accepted
time: 1ms
memory: 3692kb
First Run Input
encode 3 15 10 2023
First Run Output
19 1080863910568919040 1441151880758558720 11249710394194788352 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Second Run Input
decode 19 15 1441151880758558720 8092 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Second Run Output
15 10 2023
result:
ok correct answer!
Test #2:
score: 100
Accepted
time: 1ms
memory: 3640kb
First Run Input
encode 3 10 15 2023
First Run Output
19 720575940379279360 2161727821137838080 11249710394194788352 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Second Run Input
decode 19 10 2161727821137838080 8092 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Second Run Output
10 15 2023
result:
ok correct answer!
Test #3:
score: 100
Accepted
time: 0ms
memory: 3636kb
First Run Input
encode 2 0 18446744073709551615
First Run Output
18 0 18374686477524140031 216172782113783808 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Second Run Input
decode 18 0 18374686477524140031 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Second Run Output
0 18446744073709551615
result:
ok correct answer!
Test #4:
score: 100
Accepted
time: 1ms
memory: 3732kb
First Run Input
encode 1 15294812614394108628
First Run Output
17 15337606198597916425 72057594037927936 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Second Run Input
decode 17 655065201818720980 72057594037927936 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Second Run Output
15294812614394108628
result:
ok correct answer!
Test #5:
score: 100
Accepted
time: 1ms
memory: 3740kb
First Run Input
encode 1000 3121047760185282603 15342468685041132244 2946084834383553064 16497371564815217380 1737099509116836632 7254740756410367588 6912789008064777823 68696180012282880 17403862934625552113 17981474029810688761 11408678755067367070 6884603394053802847 9415479823797299842 12724980314795317424 4343...
First Run Output
1016 3121240695660097638 12161368648591002614 11783778368184017456 2420552047231467584 10282177296067898572 9497088224229624059 2767669523236897139 3386841642069092327 67983839148974369 16425548742508066921 16607932201817048865 937775441535402927 17880883413033958132 6129424188458771878 280473037418...
Second Run Input
decode 1016 7363473540137308203 12161368648591002614 3486500948734609571 4647876612292319009 14748362998475239822 18124947898598673539 2767669523236897139 3386841642069092327 2387454289607323904 7617854259736212451 16607932201817048865 12647178299146306317 17880883413033958132 12008220614555209813 7...
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: 3676kb
First Run Input
encode 1000 2959543855015858729 1696588383057026327 13887516684624771776 4107504863913902137 2801614046935507238 11387178367909563806 11556129900970532768 5205368401715281224 10357494830429897083 13218483460617328311 17758885595442813174 15522412733037308631 4609285057964209983 6122463529806835958 1...
First Run Output
1016 2959544106165102964 3331069965759872074 66281571743267681 3602536421131923637 11307872268239678946 14173779827536710809 2875714831114549951 5810803109451496886 5222770083678825474 2265220389849880710 15986199427638456076 12952166175416065421 8574136325606042951 18358675899957939341 140450391548...
Second Run Input
decode 1016 8388255751200117289 3331069965759872074 7024464241792576256 13092238684525690417 16333969335970295196 11046463748480021444 2875714831114549951 5810803109451496886 192588522778098504 9680761602389667615 15986199427638456076 10168425737948151731 8574136325606042951 10199672853165426686 583...
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: 3696kb
First Run Input
encode 1000 11680746664093751970 5824248678120130908 17626250863570165236 10045289755533338763 7551074539406281320 679147484887477257 15604658746861719256 14804121544777963213 12775443214601374641 16518531288873472 17672220047006122229 5320248648820184393 9690327126946183814 9082174046062392190 3603...
First Run Output
1016 11680827976304974132 5110803767898945886 3353187121015548136 6864747810999258747 9846817790263878804 3278951869037814081 195523919983713537 1412358861424751103 14821710850162551454 11384690433970993012 59676375872307545 12272214899745073773 11341374854035333871 3472152964995113605 9412306021608...
Second Run Input
decode 1016 3772074896912489122 5110803767898945886 16782817590499706926 8885109877714404447 10728889382475703944 4693201806273904941 195523919983713537 1412358861424751103 11451102765721039309 8428381744923410077 59676375872307545 7902285908583010218 11341374854035333871 9611344287015907120 1037186...
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: 3744kb
First Run Input
encode 1000 3205299181656898348 12976875720891373492 13022766600023544756 11341018420341566428 6524953888141577562 12639723579518314927 388360823860605957 16028102076043194334 17021357338254522604 17358717917010294000 17727251730658821110 1692451494697027607 16668389809546941159 9881415132891652489 ...
First Run Output
1016 3205299119832400543 7507287739175157613 15154303286509085926 16527920345997058387 12237890315655360473 1498241778226416619 7710705413056825125 18235155017199717002 16063276257479119085 2818715472326036672 14112890779725077159 12735969698250577639 8606711580908028028 16878420084909323077 5197858...
Second Run Input
decode 1016 11493884630352952108 7507287739175157613 16619663966152838866 5990099129998991077 15685989297158673833 16990908846351501844 7710705413056825125 18235155017199717002 17100170227455945950 13838687211531673127 14112890779725077159 16669613767557955504 8606711580908028028 5022593556799372522...
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: 3656kb
First Run Input
encode 1000 11745468587528356003 2281514582009817375 8153897824941385841 3537801378424817716 15094875450944541137 2721439207979308907 15182962879679804626 16263387655845753825 10297607884981635726 2839756507535605799 4281233445445231670 17958831294784213241 2533099538757708909 198318855604518914 673...
First Run Output
1016 11745426586554354035 4562748152801862361 14168843918038391675 11763736989474905312 1377263542549107697 8857923703062647118 9886647273107886838 16857071898940699635 16253080488123813876 2111907331451059952 7072744734116246798 2609405798716060393 10655453764708319429 7224899943033362834 574635660...
Second Run Input
decode 1016 8307171139061481635 4562748152801862361 8924904402038858180 16167014502014927267 17389449397020204307 5679478078685506938 9886647273107886838 16857071898940699635 17640445158489755361 17365508878367739677 7072744734116246798 16839610655273661988 10655453764708319429 10545528250434602084 ...
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: 3652kb
First Run Input
encode 1000 12145426503223053736 11223533449112258427 912503477502847244 8194754341178136232 1745167427925456920 16227738722877181921 7835300168023129196 11430255544479756296 4334103216084281862 2068776735956841756 8031840207725033071 6851343563018212447 5341289100182954058 13797007934729844927 1695...
First Run Output
1016 12145426657679587598 644549048304140181 14797572719525792687 4662662384199724350 9764159619785115768 2593019632966192252 4043088853817687893 3892473830294580678 11387046629863582070 8662791090413958660 8267722268630611240 8933913369428450654 17412328078392308273 4965525555223182874 160642632752...
Second Run Input
decode 1016 1025005593984339368 644549048304140181 12649301620128570317 4534504759194465600 8667319334659654023 8956692254471355427 4043088853817687893 3892473830294580678 8568611924414695070 357625415162542200 8267722268630611240 6799842967539612539 17412328078392308273 1927033878113413444 10996147...
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: 3648kb
First Run Input
encode 1000 1319585769567178770 11683773173006280098 1546068050386102206 8237654235626754674 1093085146164964111 4487194325809812542 9572041562208720516 8198339197715138161 8775187665665181561 5453856317584289611 9012706293234275197 6962133233774075488 14416342846420488648 12023115692119218854 87984...
First Run Output
1016 1319754892437363780 4921183536176313240 387766727127928114 8029018700418894064 598782597359291805 13945214282493259490 1126310772904707456 13995045777700620325 8176785797622181985 894423832520369756 3383696045941882180 1728270253576007631 686266990305149202 18241456339303749049 1316222595962461...
Second Run Input
decode 1016 4907885732530901010 4921183536176313240 3606589088127213829 17350240632300203119 11334796709672603400 16352207719552944065 1126310772904707456 13995045777700620325 7039331033242106225 6640000888521976076 3383696045941882180 14965256557108722711 686266990305149202 13354861375188051709 156...
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: 3744kb
First Run Input
encode 1000 5876429571674705233 1160709710205641488 8949179324326013918 3807785702791436084 10358659327093653462 6183776768104649045 9773192299199242631 4768204253843233314 869112494835896076 3850247465723981365 12656644485278573999 9985246442807560600 4674662620886523712 15476787152353297656 199767...
First Run Output
1016 5876429570639218063 2361661744762803881 9750325051432403782 11797617504484837216 11241755103363490711 5680699228487809371 15375756241646561124 4832799361920942271 4759196000457143700 1759461211535529815 15401350568852875269 9062733628920160914 12180254355606089259 1947981798944099339 1285943939...
Second Run Input
decode 1016 10323813102252297553 2361661744762803881 5080966995614912647 6973752720579541411 10908820573815308956 6627567770439898446 15375756241646561124 4832799361920942271 10679641169757932610 6293683024946817560 15401350568852875269 10584238769203627389 12180254355606089259 814303886945749019 35...
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: 3640kb
First Run Input
encode 1000 4630576837261345600 3690007673192079155 10191688028902188685 13161084486177275994 13217699814043128503 16686700503527166951 14187412128529685444 5378307647117501258 381081194099329285 7835019377419533164 10828830188934852045 2418951383875555617 12869415733873449394 3981778763221189175 13...
First Run Output
1016 4630577287128096025 11043344953434762020 3790416533495257358 15276775962082837728 9571388098073641162 685617782298888617 4175160958055090794 7108177310113277855 5333750557056127924 781505143008475486 12841372167340735393 12829780879265742182 1811181081950866501 6050100975364344447 1504594316457...
Second Run Input
decode 1016 1809676569612731200 11043344953434762020 1052083325075954228 16178104370989236948 14609699773111260292 12234483094828974857 4175160958055090794 7108177310113277855 12993974858265724234 6789503507695589386 12841372167340735393 7403279034433998002 1811181081950866501 9154364779195201107 34...
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: 3748kb
First Run Input
encode 1000 14206023085971877050 5972347295337699666 16750030134568776936 31808836880920832 2212713974659790110 5122038573567789141 6021810187059330136 316820231069787396 9743056769613706887 12651574473802879919 10670777542814643481 12865788759884245938 14098797560825948355 1436584720745295635 18209...
First Run Output
1016 13415197300719218362 11939813142810596465 11660731824322133669 542696640059281343 2282978585804129744 11748319037642530364 17215292015282938507 2991008392493476137 326289190373982931 1035590244341639152 13719887211650780754 11570976599603261600 2899065584620334418 8464764940484748856 1808779284...
Second Run Input
decode 1016 13469744517525155002 11939813142810596465 11907183308460381089 13767372135448938503 15043620985456864799 4350095034849757859 17215292015282938507 2991008392493476137 15240825686008956676 17359079850541276942 13719887211650780754 11578954082691159200 2899065584620334418 404613953765995122...
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: 3636kb
First Run Input
encode 1000 9347075476817688449 4650888162489830208 14851788601390554770 16502989544831224549 16381526915592640227 11928081658354305445 16698603634079928807 6636914485074045532 3905297710570680886 4761937183601478210 602043399153080840 13119846281992737718 9982574920216512906 6465339115666258265 388...
First Run Output
1016 9347075392885193631 9301778065020849224 5294634352568736813 3339195360868510831 4498644842325081852 13561729640218878530 16823588488884969999 8299806171242907575 6644554058342831004 7819538217129559806 585864383138963591 4805513701018137551 7037886690348761075 5850504906958796727 79507550521186...
Second Run Input
decode 1016 11491980091445720961 9301778065020849224 3286625217724643913 8010834086177560366 18230128418834705982 4819451046683292860 16823588488884969999 8299806171242907575 11282474958995994204 18322500546458846316 585864383138963591 14948420335196549186 7037886690348761075 13220304814307225937 58...
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: 3644kb
First Run Input
encode 1000 816711338553922827 3136530477208405803 1897023433554023194 17975009636137635621 11452821585868157086 16899731438459979754 4011321460883199543 9514493131970120324 11223671094700651163 16143736757262944992 14578540197992026570 604575309861380872 15340457260098839764 11150070697970285978 17...
First Run Output
1016 816711336017103522 6201003354551641011 10931272867038473459 15530196979054247877 17224456413888743639 6052011742110484108 18054093037109569384 1964279155195546618 9555427242503136547 4017515595882174552 9211190250011605163 12518291643825105853 8772927350451364603 11266514604605779104 1262084174...
Second Run Input
decode 1016 11712267289390372107 6201003354551641011 17558604308263383959 14231198577943086807 15530673690983205359 10090030537844522323 18054093037109569384 1964279155195546618 2550582488337652612 6347865542758875447 9211190250011605163 13667281243512224173 8772927350451364603 11541678149279636124 ...
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: 3748kb
First Run Input
encode 1000 15852042308351668955 11110270273771247747 1952170777025451803 12999077454378198708 10468936890965115281 3740726514366998835 13638413544957402813 10285421796981783950 9488163456704752771 6831060407290809438 9304289497016916865 11999488677836195494 17236300717840440076 16119040203783672287...
First Run Output
1016 15830931012839130237 17928426573441058841 10494512866653240341 11544137481032040596 1952684405907663403 10221379673926443453 5525907686062307077 11617213272199769952 10269241490949170359 557769720780717807 9582131284337491627 591156808446051077 10895702794790836852 16644525228616398680 13713689...
Second Run Input
decode 1016 9062646921247830747 17928426573441058841 1584318825317245841 10664576848253629856 3110459107775355163 13664423207919344013 5525907686062307077 11617213272199769952 13214891907885073294 17257400256905657607 9582131284337491627 361408604402955272 10895702794790836852 6356748730673921510 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: 3632kb
First Run Input
encode 1000 7737460840718732534 8502306463064852341 2130649553756067072 12798637249919425969 17739899473744975204 17861748128772157943 7786375620166094444 11631750721236397217 8433942411902211189 14696106042371974859 3551708439366617649 12548046713943630766 7655435767445585121 17638494868075184116 1...
First Run Output
1016 17729697335528717219 16865693273002116444 18350789687674250771 9866608690330543654 13018123959314642610 126436834313656012 4439357293325244375 13137060140410983327 11634298155664797773 1542961042255173093 3442765318946031624 9975787571012175884 16292561785756865270 5156056970103629573 363834431...
Second Run Input
decode 1016 11816144063412374774 16865693273002116444 1416023135179353086 2749147458788191624 12859733640642996660 14724178698428334337 4439357293325244375 13137060140410983327 5616095437490779553 16561392355319638293 3442765318946031624 867206935363809674 16292561785756865270 371463477241220423 948...
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: 3640kb
First Run Input
encode 1000 5776378122715867472 8860428478679807610 8981547657866880124 3887804736669348917 15875751532079952708 2861245578349082151 8735033493130313593 10531690036554104978 11209368434932931317 2817656194583435815 15283937566914793428 16210594600733767648 7083554101997751650 4895599144183105603 167...
First Run Output
1016 12670365950937542323 17648742149978399107 17406859792358799368 12367183550232006265 13604016305683300740 304857103097006538 5322973053960104866 4344004046056203516 10589469772400636840 3985462083698737858 11263572836776736020 11531114792728082228 1094047486050225869 5290613218911156727 18163292...
Second Run Input
decode 1016 12911493231831602863 17648742149978399107 610399870592127473 8723087854937285035 9512130980675898300 14558266818852633348 5322973053960104866 4344004046056203516 12120221304928007570 14033962133896843063 11263572836776736020 3762703873781728928 1094047486050225869 17832335969761127497 14...
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: 3612kb
First Run Input
encode 1000 13461592460131029434 17866002937817526519 123084316061775105 11639997235077351841 17297265609665146864 4395039646452547132 10238707525074687886 11110873080840760717 4577834621477644863 15099659004708222063 4877517018647736387 5634232609779232846 12480652015292515508 15942940958849847955 ...
First Run Output
1016 4985151527114952954 1161536103318972920 564113378572050978 598280534993182338 792561628087563989 11441394377126717624 10368277878454128591 14395288895390488955 11114860412778861941 9214057326959901194 5048466661476109193 2121901865116739646 16376297021837811468 11994584073047287272 581634898677...
Second Run Input
decode 1016 18072996732153638469 1161536103318972920 2459762568800162823 9412043889877208328 15399710383203614474 13270078538989422494 10368277878454128591 14395288895390488955 8454870616542691226 773078828882386559 5048466661476109193 4515004889428029981 16376297021837811468 16763957017907983782 17...
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: 3628kb
First Run Input
encode 1000 14431283794327455432 13389333092722914233 10532008078511253906 4472767059359175230 13103724614110534069 4836152019432633768 6719842759815348573 1919269018289742362 52784695629691648 15163385683618061098 15620477516589867300 13938605139475525569 10477448247346751377 2179249273432981022 55...
First Run Output
1016 14431430504815671334 10131055004318896379 5379220503919908399 17622973200811143050 6024582277283742146 1636283044236022895 5789254524924025025 3318398425536299119 1873703694609376936 95902257615593824 5301726605823322489 14271483887816028694 16853462361993202565 15216885754892033919 10360462121...
Second Run Input
decode 1016 2754028449700857544 10131055004318896379 3447123196306040394 9993368210648371700 14015655441445264211 8058257376756544790 5789254524924025025 3318398425536299119 12134534935981260826 6980954762178352129 5301726605823322489 1599618439985368774 16853462361993202565 9196080753668795859 1478...
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: 3692kb
First Run Input
encode 1000 8361704202097698447 457512630822197510 9047071582378798263 7521861541655044968 15691318489382327720 9116556133522441342 10776729311315660437 2007356224744446747 15602891128841739224 11582605118888328352 14538672656065746377 9928263521479936137 3198358632421024300 6031000265902699091 1214...
First Run Output
1016 8095523338194338388 915025259159278240 15903020437319622318 4835506729671731649 9681175221338124410 2625756704921325552 11554649634564960893 14595583408173739244 2006524831534338147 12772624070493338121 9378279958305505673 12804221656378077037 7149426861080858531 10116573872483023149 1701126802...
Second Run Input
decode 1016 6071685227499182448 915025259159278240 12582554292925280988 13918682802631154499 8804585772736928390 17334196291664572452 11554649634564960893 14595583408173739244 7192417967091210267 718987678308712881 9378279958305505673 7885741090362077617 7149426861080858531 3258733994074334604 67210...
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: 3676kb
First Run Input
encode 1000 4070799250438564664 605330642058700296 5444589342570549067 8478061516396013685 15697388467035232473 8436336705264620405 10643411232161270675 8544420007176800570 16811631686571990158 7243022960999760996 5840250624485887057 14278601361167230918 12210943273207625129 1176096451434205712 1283...
First Run Output
1016 4047418481656619609 17236364260111736313 3187754960141698212 12268805275577811006 10920434626703211079 13505840480385790245 15988907705641175030 5304612270560533749 8542797237056041588 15188680869222417412 10539885410647277566 9813974987932060462 7105654124435431103 3320633599420512554 14605081...
Second Run Input
decode 1016 6440849198933945144 17236364260111736313 11836651889962663212 4467642493584622506 5132561086807903639 2698074138792324795 15988907705641175030 5304612270560533749 8427054377522204278 289574017059834322 10539885410647277566 3335832784147985032 7105654124435431103 3078684555503342894 14470...
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: 3628kb
First Run Input
encode 1000 12880235316464868018 6079333585974676397 8949594007992873852 17714600270679758581 3687564633781840947 17554383905953148659 10232070266398111373 2112684738820133149 13317391019226530972 9729754318953252743 898027907072357900 3401298529968599855 13130931376755980982 5483140174275811404 168...
First Run Output
1016 5595067068312467000 6599812627943932767 1023016089383247530 12373427492067162296 13852014529479849996 7412500186262824184 9465513773937234813 14307558751209638345 2133726529805390539 8146746812566339930 2031924689663590013 7167647792963776494 908976007308360806 14381692643436265644 473997826785...
Second Run Input
decode 1016 4050496167747495245 6599812627943932767 12294319625591271950 13274561313079474091 880509586727845056 17898631426891177574 9465513773937234813 14307558751209638345 14669033574687349789 6485482590975233905 2031924689663590013 17217181242917222499 908976007308360806 12394150267229673159 162...
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: 3716kb
First Run Input
encode 1000 17393761435229632521 8814882814214296698 3214342078937098028 12239425198494964649 14970362339477012943 3905744559189406518 10423699172450085008 1282661219762752529 2028127423684402460 16606738522249646310 4504076889805065534 17998211395807463161 15073288595893530577 6967295239368126560 3...
First Run Output
1016 664492628697615838 17701645431100506734 12798257787007044700 5322426115654509303 18022452116409717683 2781317757671587978 947140044384815844 14413883377779657393 1233104417186325879 4092824249741960768 11095519840021529927 17638690911786319675 11249989543199366194 2673463442492580729 3213473829...
Second Run Input
decode 1016 16000554390360438793 17701645431100506734 6668826312050449585 17826049205627444553 12939710879261007098 9962103911076174118 947140044384815844 14413883377779657393 8585368483147881489 4640670716769979448 11095519840021529927 4269393978089523700 11249989543199366194 8747049417016351269 31...
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: 3748kb
First Run Input
encode 1000 8115213866885488496 918977475602399244 14587511192000950730 1633431972983327826 15072791127986744785 6837211866643026526 5967645362315710802 17178064812114863342 15413834056879761621 3668122907584560911 10632535574962671251 1167735484387308560 2626489242395991942 8127492241531145328 1574...
First Run Output
1016 10331530205002266619 1765616985154107978 2938319004865200272 7610381799338218034 1287452061160766143 15729941733122047734 10904468781947778483 2987912262232012663 1236827288156215132 6115890384283061465 14649147915833644637 11278315499777811348 243748934019763638 10233461076857732198 3628992722...
Second Run Input
decode 1016 18156086594291327119 1765616985154107978 10376510323778766632 3608130741470338409 13833602382769085713 17797755534397033434 10904468781947778483 2987912262232012663 6671818517896440337 15658008411977670740 14649147915833644637 10728428792677696668 243748934019763638 7367014142610113678 1...
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: 3632kb
First Run Input
encode 1000 8425165299341585524 12943014948951531187 15460229027637464534 14501491637922119625 1419011972619936150 1531930959048819221 4849605402876333379 16923384268274588650 3333033076450189598 609865898516117000 901260326856664844 7789088477532264556 18185090625118449660 1003061006082435853 14479...
First Run Output
1016 8425165668368528179 7367229031730489098 11946063911511977585 5692033146887679615 10657317717413626384 11692163013578613479 14218026546568927962 2446982886310029821 16870169126424800386 11812681949466879132 2391583776480032769 11213748460099101284 13963128664602784359 10069874895565976946 879206...
Second Run Input
decode 1016 3689552505008811124 7367229031730489098 8209719785327544485 9164540785967365710 1189771383398590099 16672976904565310114 14218026546568927962 2446982886310029821 9434002461919616746 11269313117329551267 2391583776480032769 7233566863789957019 13963128664602784359 8247732981916090251 1811...
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: 3664kb
First Run Input
encode 1000 3843638127672474165 4209638564019596090 8198111399318504817 3246997639520013181 16123800028132066271 5198896512401148744 4432422976740316796 10193867358299518861 5227843122247470408 16957438109999387883 5592627905395006797 2028252743007846684 1361506116473767442 6476407042194202713 93856...
First Run Output
1016 3871424684752328835 8419014214342363120 14129436235929103239 16959424594806913330 991376705799853268 1975111792854440616 1341991017482046887 11440897265199361325 8266202054615654636 10508773002409687998 5965170510852142151 7845842907589836077 4458175450599287040 6638881290902603354 868916833464...
Second Run Input
decode 1016 9464410503088486965 8419014214342363120 9739903115025913284 3619061664705043435 15282064302280000013 12113211871302084891 1341991017482046887 11440897265199361325 17032887513149257586 13707787563025684113 5965170510852142151 3313919449975284332 4458175450599287040 6522967194203791964 158...
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: 3632kb
First Run Input
encode 1000 7909617952844924013 9803115229991247890 15704661284805860057 13036955088565103796 8232958449788614175 10411060999027325840 1657707053010583831 1611023628387226902 8825304933328320890 4820495155580036418 2094500400859779357 1933221703835374618 13781614827293459135 5545848500122941004 8816...
First Run Output
1016 10537192755514008672 2612285279626023609 11066545799809160978 11990032967069371556 18113820350085431664 1040982141597424176 1997979657867693558 831769981560601131 1619740647353750545 17619430487828044699 825641579009282524 16776085041183141129 12533846878298221889 16760086357673147518 443699429...
Second Run Input
decode 1016 6945742027784993682 2612285279626023609 1321586144940692633 11856962039591691686 8106784051344925179 3502234873153679886 1997979657867693558 831769981560601131 1230829022502025750 11212746237818864884 825641579009282524 661315705901207784 12533846878298221889 9114435009250957288 11395762...
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: 3676kb
First Run Input
encode 1000 1095323537722389263 1793902084311475480 619603394461238971 825137412916339979 11497053862269885087 9254004377678277760 13265615946525978808 8997700509002342524 101888878420274433 7308714701788376421 4795919705601379906 4357495418564540476 9876480417963144585 358384761466821234 1713960113...
First Run Output
1016 1095238152751374068 3515745476404736225 17013179446529955844 6352357641361805527 1105333531227465425 1409781908008238708 2318804997279308498 11799765037157943178 8935614233437758756 201213421147560089 10739178189723942878 1504977926359611439 14380935578208816124 2472844064335156740 448593181134...
Second Run Input
decode 1016 17608567733858939663 3515745476404736225 295096974744754924 15551100331107231832 15070773369541383695 8394316136854687763 2318804997279308498 11799765037157943178 2622778789853987196 11067748210039245314 10739178189723942878 3456643862775325204 14380935578208816124 312614415496007970 503...
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: 3628kb
First Run Input
encode 1000 8348320487640521587 4087644312273861176 18249601812280121085 4317584370914618171 1371239231248008979 7045133357521290593 8401228777323599732 3237214378156003628 17619700469171521012 5278047533005029193 6814428298653440461 15689881449784655321 2141740473823191837 15362805372002120661 8497...
First Run Output
1016 8348527538936164672 8103230832656020912 17607702925701705889 16093938592305979616 14739753775334298354 2498644886650810056 1791699595899323373 4221641842488420775 3239361091762927929 16830935631999305904 2609105282463808418 807571235566229900 11231187944269795572 13232555122925691636 1293726149...
Second Run Input
decode 1016 4625719581685439347 8103230832656020912 11632813735405444084 16150006532084816351 17443152534504967884 14478697010778647586 1791699595899323373 4221641842488420775 4123538064771773484 12720637594363139049 2609105282463808418 10131339473788679435 11231187944269795572 17645880096792945591 ...
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: 3692kb
First Run Input
encode 1000 13578882033368789436 3973596031039251767 14778499039369405888 6098462778530162260 8938781100678712444 2755428565923624603 11817516716366595315 2335520724594542624 5470249295394133579 8387325725044401524 9074784385410142746 8813556627048910970 10586188031995908626 13312221032665497272 773...
First Run Output
1016 13578882760536351043 10427242653584582380 42575616546904654 11975875363253304496 14251606309975548114 8058046367251559889 14500572175625369053 5913407189874629833 2327049068422545508 10946221581055598129 15089671776515474918 17281300583367078616 11900517619257496905 6706659565117632496 34537978...
Second Run Input
decode 1016 4891315176804020668 10427242653584582380 5627915362575226624 12735071598233203366 15195371918881507269 15129182448668037999 14500572175625369053 5913407189874629833 7259866829690391328 3575445012177676439 15089671776515474918 15596625217945064431 11900517619257496905 17361182295026242141...
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: 3672kb
First Run Input
encode 1000 11790443656552554659 7924050146065503853 3943164586696357942 9482669882038720899 39037787700234752 12219081450744336553 4172653270216846757 10935904117498496151 4140338612291997753 2130699400371309778 17316187340788884577 11499287822828672415 9687009983375530331 274064634849053955 120619...
First Run Output
1016 11790444187493601801 15829092440418009919 2746986851076948684 1859059247183671329 621506416693938835 16134767828877395230 7667778078777508521 11262203721264753998 10896899650505148427 8260755697596604836 8540110605876629695 9439452924610267853 452166265142503379 14803508555055540917 17564084559...
Second Run Input
decode 1016 653760970339033251 15829092440418009919 14718358031427510054 2427661323559291929 10595469127596941320 2181329699055463135 7667778078777508521 11262203721264753998 795008984184535447 11862911480181138546 8540110605876629695 14828781466400128898 452166265142503379 13090427229721096397 1128...
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: 3628kb
First Run Input
encode 1000 16464528558736375268 15833734330726400 2137625671539272221 10578535761341238930 16171384701637651680 342725409902392068 11393957410952954782 5652219120422907629 15348503773490101288 15370915178985967829 14055679937743818691 10086653288626125451 8728772207572459641 429279293627692293 1049...
First Run Output
1016 16464528883454951805 103723649184334181 8406086332747185379 10408969738925642193 706720668053719885 7178616760559247814 9360714718766823792 14949197298936818672 5631958720831741108 12298100487087707480 12317556945023550568 1756074754280639496 13805792947750385242 2643507969910097859 90256061069...
Second Run Input
decode 1016 9061661797081251300 103723649184334181 16392163072211069044 15064949869927363728 5605789694274489865 14312946387171516259 9360714718766823792 14949197298936818672 13032526719854848078 6401280969065737130 12317556945023550568 634142608420265496 13805792947750385242 14107357759907344164 33...
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: 3712kb
First Run Input
encode 1000 2283629854520859126 8791164542106206330 16172199097798848480 5479911485192565324 7334387051300309093 8517643902455133302 5818741755402524198 5117060688873390919 12141870038631481512 4755610447648980801 786955256347676938 14521256560460447783 8009834018971658351 662933001546117897 6434522...
First Run Output
1016 17751274266406491456 17582194354703891237 9349409003236279700 10983466834482400333 6090745071639962271 3706877957212995576 11351610521323614986 12151557546749577959 5163518354523584577 5873818171150238460 516019409212312434 6284774869920857364 11023833674815218474 1932781710072500638 5495120203...
Second Run Input
decode 1016 4617791743485630966 17582194354703891237 10720181204612923265 5588012348689116568 11502914025162573396 17942173488432902451 11351610521323614986 12151557546749577959 4717685538939775047 18159258610276664145 516019409212312434 1458584837098125399 11023833674815218474 11407968161071288858 ...
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: 3708kb
First Run Input
encode 1000 1717786205588128791 1576640117804228885 14155128512240841156 13192476574176510647 835120129773770251 9915507235852778377 8387923390246705780 6201845675540418902 17609497148766839284 685633166199389436 13764475822913947071 207834653924581890 12837372616645945266 13943204184925307073 70342...
First Run Output
1016 1694521038560742771 3081222870463067050 17237675973172495989 13697030017931328609 13501819717071869269 16036967416326084227 2494174740008728695 4227622415102960701 6265740185598712721 16787722950424360651 2809145505151931808 17876212468242719225 15122952160735260023 4915143325067681574 69492919...
Second Run Input
decode 1016 8344561082754761751 3081222870463067050 8468522046857820399 7042688876772595134 6130928760470986939 9463929568365678302 2494174740008728695 4227622415102960701 10474106514634306646 14661106877995809256 2809145505151931808 17951634071592375800 15122952160735260023 2783165225348118084 1810...
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: 3692kb
First Run Input
encode 1000 166900737089163266 10202814870311192205 17161612004701186798 11063970828547951513 10965376692181156248 10534314859004939922 13386144313190565305 14672256134463090891 14132945767778689732 14889658746529751758 17916615180112064248 10583966947778355602 43606244127883066 17628372606263469300...
First Run Output
1016 166900410526790486 1913451133900119074 13450893937642908868 3504904388422863156 9879178341449039890 6040023517543330210 7236917318956668190 2565371616541697069 14682898408408042454 9844100653169998715 4243441763364786671 14237862418078164710 3362486547717447219 1405297854849716113 3007709342435...
Second Run Input
decode 1016 6265439476306366466 1913451133900119074 14135859391700446138 3749712556179825456 1333290899733748105 11741214384359854675 7236917318956668190 2565371616541697069 15441522756145038539 8897814638469946760 4243441763364786671 16638106881638569925 3362486547717447219 10488864917566685203 223...
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: 3644kb
First Run Input
encode 1000 12995392041539623092 16795881029397386985 3744575639523098163 862102261500605963 4638781186002113856 8717314926297605263 1663644116731500055 10120463580791835907 10702428446706345876 2878139692429406503 17137793428385748461 5786710246580178512 17309231859780638448 7120334900288475234 114...
First Run Output
1016 12995392430828742709 15217074478341024157 14985845894490726097 6462788088198753155 23852693684760212 16758382556046686119 16034439323295998112 10052323197217276107 10129906141273651175 2976846820965718586 11507919513042635507 10482284046658143539 289760438586618129 458817792999406512 5433409193...
Second Run Input
decode 1016 3884451661399742644 15217074478341024157 15104753533522278607 9469863162870214745 10677476194229507072 12103216324637659624 16034439323295998112 10052323197217276107 16715014389398738060 4222803472017411881 11507919513042635507 3712599468169590929 289760438586618129 12734872497108573702 ...
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: 3696kb
First Run Input
encode 1000 3093762872593936170 8266889846585409650 44684674286525952 13198951847648149397 983462115216400909 4557333676994543167 5122213258115224903 13524573298856512699 12317653193367024042 832997201996050816 11735177166486887330 11345938099610743965 12429926898941031812 14652127291888391883 53342...
First Run Output
1016 3093762869283471600 16465164628825196807 105837782445523429 12176728388205069873 15789746429676706132 16269226739058399915 14938797787468297332 11771748109841326376 4923858155297287854 6125427365310698855 3353051862854390850 1652158002552419510 2933716652509198536 8109336915527563109 1541645636...
Second Run Input
decode 1016 17312099935310638890 16465164628825196807 16501605762058057729 3586659955277429928 6077994015359377627 12383452462594901985 14938797787468297332 11771748109841326376 12587252609494963524 7428068692319207765 3353051862854390850 13165416058844409110 2933716652509198536 7311589210260408944 ...
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: 3692kb
First Run Input
encode 1000 15265036345800096979 6373227721885190649 12787116445369521154 2278408008021614111 28821713277314560 9854428111595775824 14096648566308446659 5264876691844173638 6113485713246181204 11692030456964792994 2458251253109869602 14609572044763873226 9132467584603241854 17006731584508527852 3787...
First Run Output
1016 15239292503104966061 17515421746862522801 671099906870729377 148543898557071335 99192282693391136 18380804123307096829 16316656440873241539 7035616357560138357 5284085166085954965 12197020879437136340 8535957266407754214 17270743796463503994 12388513874501836272 15532806812931238049 18339993518...
Second Run Input
decode 1016 12487875196165258451 17515421746862522801 11662866481812164617 16699078604402396930 2329317611917434881 18247110042266047999 16316656440873241539 7035616357560138357 10798917599532373065 15312765420042536105 8535957266407754214 8794119961376304879 12388513874501836272 1164870997622794235...
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: 3636kb
First Run Input
encode 1000 5619017349366741581 4053762078733594680 8563976765265664374 4978085664965137733 10557361696048448402 1816731551717281049 12317163971061477290 5726350117382223951 2284281409372467999 4026408032294199351 22042371748404480 12799717861459244877 4482188044214874942 11987312759986281382 940016...
First Run Output
1016 12827727114543644029 10313038614153152955 15592992401611124217 3146521135113155660 2610267697668458607 14797903638365047022 9721859643178145751 3087292267396166704 5701473205452396244 4570802161408641931 16068971324004740712 18273150974365490643 1939701115618882814 14323545419537068751 10856244...
Second Run Input
decode 1016 9024375494010537394 10313038614153152955 17973133133606774232 5527233031304161835 8036730884206377252 17188047188089265357 9721859643178145751 3087292267396166704 15336556853671960399 10055228730248293951 16068971324004740712 15230369041391917053 1939701115618882814 14930187509327775686 ...
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: 3716kb
First Run Input
encode 1000 13373157595011847865 8294755373559972958 14014898252387024578 4637863197217436224 4866315776356812867 9539859265631302660 18141486943745043707 10872118313141592470 3596218685336951983 15897608051647333621 15129883218354174161 12802918012140820881 7337380393190884430 14621875289997110218 ...
First Run Output
1016 13373157099775131642 4825435307694766046 719192080609160915 473446511513436171 3784159388961998502 9836009904493325989 16230651808268193916 9382281800530591650 7588675179797686469 7199718310014654065 8234800665790152844 10344430606780255056 1939719863065475808 13424238581170529866 1341699343517...
Second Run Input
decode 1016 18086339802382177977 4825435307694766046 15253405005686110985 792888630107804166 11963401437205529652 11920619250714574984 16230651808268193916 9382281800530591650 14206792593788063849 8184813209086716515 8234800665790152844 5821976091971849871 1939719863065475808 5361187270180818106 122...
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