QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#295790 | #4827. Message Made of Noise | hos_lyric | AC ✓ | 1ms | 4116kb | C++14 | 5.1kb | 2023-12-31 23:49:34 | 2023-12-31 23:49:35 |
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")
#ifndef LIBRA_OTHER_INT128_H_
#define LIBRA_OTHER_INT128_H_
#include <stdio.h>
#include <iostream>
constexpr unsigned __int128 toUInt128(const char *s) {
unsigned __int128 x = 0;
for (; *s; ++s) x = x * 10 + (*s - '0');
return x;
}
constexpr __int128 toInt128(const char *s) {
if (*s == '-') return -toInt128(s + 1);
__int128 x = 0;
for (; *s; ++s) x = x * 10 + (*s - '0');
return x;
}
unsigned __int128 inUInt128() {
static char buf[41];
scanf("%s", buf);
return toUInt128(buf);
}
__int128 inInt128() {
static char buf[41];
scanf("%s", buf);
return toInt128(buf);
}
void out(unsigned __int128 x) {
static char buf[41];
int len = 0;
do { buf[len++] = '0' + static_cast<int>(x % 10); } while (x /= 10);
for (int i = len; --i >= 0; ) putchar(buf[i]);
}
void out(__int128 x) {
if (x < 0) {
putchar('-');
out(-static_cast<unsigned __int128>(x));
} else {
out(static_cast<unsigned __int128>(x));
}
}
std::ostream &operator<<(std::ostream &os, unsigned __int128 x) {
static char buf[41];
int len = 0;
do { buf[len++] = '0' + static_cast<int>(x % 10); } while (x /= 10);
for (int i = len; --i >= 0; ) os << buf[i];
return os;
}
std::ostream &operator<<(std::ostream &os, __int128 x) {
if (x < 0) {
os << '-' << -static_cast<unsigned __int128>(x);
} else {
os << static_cast<unsigned __int128>(x);
}
return os;
}
#endif // LIBRA_OTHER_INT128_H_
using INT = __int128;
unsigned xrand() {
static unsigned x = 314159265, y = 358979323, z = 846264338, w = 327950288;
unsigned t = x ^ x << 11; x = y; y = z; z = w; return w = w ^ w >> 19 ^ t ^ t >> 8;
}
constexpr int E = 71;
vector<int> encode(const string &S, int N, const vector<int> &A) {
INT key = 0;
for (const char s : S) {
key *= 26;
key += 1;
key += (s - 'a');
}
assert(key < (INT)1 << E);
const int K = N / E;
vector<int> B;
for (int e = 0; e < E; ++e) {
const int want = key >> e & 1;
const int l = K * e;
const int r = K * (e + 1);
vector<int> pre(K + 1, 0), suf(K + 1, 0);
for (int k = 0; k < K; ++k) pre[k + 1] = pre[k] + ((A[l + k] % 3 == want) ? 1 : 0);
for (int k = K; --k >= 0; ) suf[k] = ((A[l + k] % 3 == 2) ? 1 : 0) + suf[k + 1];
int mx = -1;
int km = -1;
for (int k = 0; k <= K; ++k) {
if (chmax(mx, min(pre[k], suf[k]))) {
km = k;
}
}
for (int k = 0; k < km; ++k) if (A[l + k] % 3 == want) B.push_back(A[l + k]);
for (int k = km; k < K; ++k) if (A[l + k] % 3 == 2) B.push_back(A[l + k]);
}
return B;
}
string decode(int M, const vector<int> &B) {
vector<int> xs;
for (int i = 0; i < M; ++i) {
xs.push_back(B[i] % 3);
}
xs.erase(unique(xs.begin(), xs.end()), xs.end());
// cerr<<xs<<endl;
assert((int)xs.size() == 2 * E);
INT key = 0;
for (int e = 0; e < E; ++e) {
key |= (INT)xs[2 * e] << e;
}
string S;
for (; key; ) {
--key;
S += (char)('a' + key % 26);
key /= 26;
}
reverse(S.begin(), S.end());
return S;
}
int main() {
char name[110];
for (; ~scanf("%s", name); ) {
if (!strcmp(name, "Alisa")) {
char S[110];
scanf("%s", S);
int N;
scanf("%d", &N);
vector<int> A(N);
for (int i = 0; i < N; ++i) {
scanf("%d", &A[i]);
}
const auto B = encode(S, N, A);
const int BLen = B.size();
printf("%d\n", BLen);
for (int i = 0; i < BLen; ++i) {
if (i) printf(" ");
printf("%d", B[i]);
}
puts("");
} else if (!strcmp(name, "Eva")) {
int M;
scanf("%d", &M);
vector<int> B(M);
for (int i = 0; i < M; ++i) {
scanf("%d", &B[i]);
}
const string S = decode(M, B);
puts(S.c_str());
} else {
assert(false);
}
#ifndef LOCAL
break;
#endif
}
return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3816kb
input:
Alisa spark 10000 833080662 16249270 933346436 811379468 925271783 359705680 76365900 158342757 877083772 38085457 819965104 408973036 16049452 102494634 585189166 986634959 68282709 745375330 964742302 111199534 259074194 357880009 300942070 891323449 763894642 774838701 270621761 288500028 8289322...
output:
3413 16249270 359705680 877083772 38085457 819965104 408973036 16049452 585189166 745375330 964742302 111199534 357880009 300942070 891323449 763894642 686146291 781853965 165495262 223222498 178687537 562048456 726864707 789163298 603496559 413782673 690562340 416891918 899758457 716916578 86110346...
input:
Eva 1685 16249270 38085457 16049452 585189166 745375330 964742302 111199534 357880009 891323449 686146291 165495262 223222498 178687537 562048456 899758457 861103469 410020424 265316057 82524575 41814329 922168721 648812300 258275276 418538237 790489228 754096978 805937878 339898786 576757312 248438...
output:
spark
result:
ok single line: 'spark'
Test #2:
score: 100
Accepted
time: 1ms
memory: 4112kb
input:
Alisa zoo 10000 956754604 875535727 764768765 403840087 67159452 949712722 115576737 264236473 212511213 562986097 859669991 893717805 838891893 47770507 416355290 159696911 702519086 615482060 179929327 523223494 166469421 452823317 391263419 32353165 631726585 32531344 424699975 294307421 85611161...
output:
3323 956754604 875535727 403840087 949712722 264236473 562986097 47770507 179929327 523223494 32353165 631726585 32531344 424699975 335656240 66827410 341538193 942558913 707598409 152884009 446984179 246631222 236276446 141055273 389311666 423355381 234942580 452431136 218489576 656479310 959067023...
input:
Eva 1605 956754604 875535727 562986097 179929327 523223494 32353165 631726585 32531344 942558913 707598409 446984179 141055273 389311666 234942580 218489576 189216791 150992024 573552947 162569582 631065941 584826779 822730556 329171564 830028845 661323029 729395493 46182630 560321205 966537669 5794...
output:
zoo
result:
ok single line: 'zoo'
Test #3:
score: 100
Accepted
time: 1ms
memory: 3816kb
input:
Alisa at 10000 310982107 539408279 796963309 809203668 523777662 545413064 979220389 847693910 138708955 656945625 74716593 934751180 481326343 167326361 231049220 522995900 37351748 788253568 916125796 387068110 517465221 271899863 460441305 620026841 944960218 415699339 335393844 48690159 42519562...
output:
3298 809203668 523777662 656945625 74716593 517465221 460441305 335393844 48690159 804973866 77632494 282428058 564141447 988694760 112075458 218785710 912925836 219232785 778799424 556183749 636799413 260511429 427600626 752526999 747767571 397896890 74172359 916920953 256115540 361758635 482973767...
input:
Eva 1698 809203668 74716593 335393844 48690159 218785710 636799413 260511429 427600626 752526999 747767571 916920953 256115540 361758635 715349603 129093356 967691897 71318978 161055575 986813558 703492271 187503032 151081180 300126640 797782474 992833 871632379 892922176 525811456 123898324 7070565...
output:
at
result:
ok single line: 'at'
Test #4:
score: 100
Accepted
time: 1ms
memory: 3820kb
input:
Alisa if 10000 503842924 757491266 141782843 236156593 872816374 282494629 8442020 266993146 431387022 916904904 536726783 139144491 897563232 774836180 933098003 649977536 426446349 179675381 976057133 192994215 912014737 649318938 281784409 433754655 579718136 693929967 122871398 670071564 6931916...
output:
3316 431387022 916904904 139144491 897563232 426446349 192994215 649318938 433754655 693929967 670071564 435702840 409317477 319759251 141494535 924790584 32789721 454299048 43222992 522283713 654165369 301190466 180314840 149174285 97764215 773819009 685804415 777258083 919410389 425917373 82728923...
input:
Eva 1697 916904904 139144491 435702840 409317477 319759251 141494535 924790584 454299048 43222992 522283713 654165369 180314840 149174285 97764215 773819009 919410389 827289233 910947719 209928482 98801882 580650212 412417433 767598455 34188326 435772124 589710131 288407711 652512852 577409499 35961...
output:
if
result:
ok single line: 'if'
Test #5:
score: 100
Accepted
time: 1ms
memory: 4108kb
input:
Alisa eel 10000 419034977 506627655 360958666 682067714 313353796 431192689 370972316 850816320 352477330 854979535 29434206 87388648 151667551 275112589 276381040 773593631 79329274 524349772 621505949 536647547 733312990 826490666 279158815 667907864 31822931 739964904 109173174 245982571 49308618...
output:
3356 506627655 850816320 29434206 739964904 109173174 493086186 271278582 884608815 195482874 711399504 950856171 834947829 327413679 918694476 573677367 435762309 582522528 290302134 734689619 352620110 331227422 280436057 916401530 679613390 662304218 348316196 336579140 647978585 322136723 570627...
input:
Eva 1670 850816320 29434206 109173174 834947829 435762309 582522528 290302134 734689619 352620110 280436057 679613390 662304218 348316196 336579140 647978585 570627878 206379068 10429916 184961737 874772131 302322127 871023172 689673982 894237529 608103655 285158785 947010100 631813558 400234759 209...
output:
eel
result:
ok single line: 'eel'
Test #6:
score: 100
Accepted
time: 1ms
memory: 3928kb
input:
Alisa cat 10000 429813780 552131166 455681195 172400210 186885255 914570530 663421268 36309837 82538846 199527239 779087404 945586459 313674436 774210063 266763546 350462343 300825395 764967849 225852148 348059331 687517865 907327558 175393488 120346637 521382066 657709825 513564198 595042659 958293...
output:
3396 429813780 552131166 186885255 36309837 774210063 266763546 350462343 764967849 348059331 175393488 521382066 513564198 595042659 891141024 262302513 79396446 338264253 59266476 557587479 697095270 918906 281526753 769131641 411226532 475118213 188415308 26519921 407792024 586984148 86882303 343...
input:
Eva 1704 350462343 764967849 348059331 513564198 338264253 59266476 697095270 769131641 411226532 407792024 586984148 812171807 318473846 272524412 268620824 674985863 376370012 779600899 966111847 542676304 959270362 786202309 228644137 210759613 271822258 489378653 95003051 692804063 300912506 646...
output:
cat
result:
ok single line: 'cat'
Test #7:
score: 100
Accepted
time: 1ms
memory: 3936kb
input:
Alisa real 10000 293521636 162312678 673316503 632028874 710190218 188928780 96341370 555961165 289029081 884342732 350209747 664696652 979603608 961578721 626304467 295252288 164649292 651680084 873526805 958035183 683416223 968734513 278011061 293645402 432614810 140880339 131416445 264789129 7699...
output:
3348 162312678 188928780 96341370 289029081 979603608 958035183 140880339 264789129 351717078 998089968 556453764 833329791 947991552 423135507 76301382 593443668 36831102 996048432 909184179 46338702 626078477 659180702 575272328 808668977 678963086 162825275 830144819 628527776 107663639 61778549 ...
input:
Eva 1716 162312678 289029081 979603608 958035183 140880339 264789129 351717078 556453764 947991552 423135507 593443668 36831102 996048432 626078477 575272328 107663639 128780303 13975889 599685212 347404364 376048232 471681919 574644577 664276978 647648143 85304614 362696896 321148462 773348587 9315...
output:
real
result:
ok single line: 'real'
Test #8:
score: 100
Accepted
time: 1ms
memory: 3840kb
input:
Alisa queue 10000 728126608 503051601 532065691 649125958 544642619 764381278 99807076 262423745 184581551 580643211 497976687 957044918 859521736 259842796 62623567 113655749 841320664 634874725 723467845 260164633 827046454 235948513 311899723 949510236 35721445 834116947 179412731 28282810 623612...
output:
3315 728126608 532065691 649125958 764381278 99807076 859521736 259842796 62623567 841320664 634874725 723467845 260164633 827046454 235948513 311899723 35721445 834116947 28282810 49945549 79504177 989591872 669998092 675678452 404469464 185306240 123022553 415230938 603491978 912638930 361003574 2...
input:
Eva 1718 649125958 764381278 859521736 259842796 62623567 634874725 723467845 827046454 834116947 49945549 989591872 669998092 675678452 404469464 415230938 603491978 912638930 268844882 123962414 957743591 304533077 32466548 391366724 433281092 424505408 395928944 18076127 385340339 55359037 857805...
output:
queue
result:
ok single line: 'queue'
Test #9:
score: 100
Accepted
time: 1ms
memory: 3800kb
input:
Alisa cotton 10000 767299611 979529394 39913161 316465148 694895023 593011984 513519165 256775663 243632888 431633332 223892604 123184313 731920779 174332419 251563430 741176400 264757675 259841890 770005896 455626677 665021206 586325250 809408942 435300393 279787411 300849439 269112903 624785753 12...
output:
3287 767299611 979529394 39913161 513519165 223892604 731920779 741176400 770005896 455626677 586325250 435300393 269112903 123570885 578557824 229198005 617570340 15593193 85622307 601941102 116236035 764371296 799511259 806845548 340439478 321170253 314268564 662658824 520369877 193443170 25820105...
input:
Eva 1614 767299611 741176400 586325250 269112903 123570885 578557824 617570340 601941102 116236035 764371296 806845548 340439478 321170253 806870099 278915168 457878836 309368561 405027248 25108562 132653489 362184803 651120701 459647312 517337339 552423914 457096133 773886255 786475869 563997399 80...
output:
cotton
result:
ok single line: 'cotton'
Test #10:
score: 100
Accepted
time: 1ms
memory: 3884kb
input:
Alisa zealous 10000 376434163 440125154 36359799 555365557 137615418 418390680 941228977 110954051 329055139 583988117 559131676 132626782 895760470 719530007 512820379 305723222 801475792 62346534 469882058 287661911 705144238 572901668 802362723 837688880 958060440 510581655 720263881 611350316 73...
output:
3358 376434163 555365557 941228977 329055139 559131676 132626782 895760470 512820379 801475792 705144238 720263881 571073749 215498818 925121035 500905399 154351300 183548533 224311552 898343722 30639688 527010676 389094853 984422647 801873643 818435266 922494166 461047469 856067642 581303 820026320...
input:
Eva 1658 376434163 555365557 329055139 801475792 183548533 224311552 898343722 30639688 389094853 801873643 922494166 581303 334028792 339514157 896405510 856043450 750981638 614103419 822617204 118941281 945696656 9982292 272372984 653727125 444455354 245911196 936192876 818784081 623304618 2516680...
output:
zealous
result:
ok single line: 'zealous'
Test #11:
score: 100
Accepted
time: 1ms
memory: 3800kb
input:
Alisa assessee 10000 482462411 406338426 451753105 172617988 400471250 928079398 658730375 743529855 457495918 236775269 240125765 65250594 38143537 418720947 501030902 999438611 564408934 190385769 793443047 278651171 7840279 9961946 894345874 313117394 434989606 163661658 177490635 189003645 42853...
output:
3388 451753105 172617988 928079398 457495918 38143537 564408934 7840279 894345874 434989606 42853702 50019094 771488152 662501575 207965116 394175644 524083618 957478375 160168105 248293279 553941436 172512103 356134762 244460845 698316697 815713729 229005844 741459011 865240799 546036476 335567045 ...
input:
Eva 1690 451753105 928079398 457495918 564408934 7840279 434989606 771488152 207965116 394175644 957478375 160168105 248293279 553941436 356134762 698316697 865240799 335567045 381441836 742193369 198068786 146536673 814317782 711405029 640283081 280115933 216105788 36467192 563773403 982330504 2589...
output:
assessee
result:
ok single line: 'assessee'
Test #12:
score: 100
Accepted
time: 1ms
memory: 4100kb
input:
Alisa impatient 10000 456107448 565954838 600661924 423359702 440626827 441006466 795197649 443478311 770536535 709684383 92634315 850509440 341841933 416749530 775721850 324152699 710732825 975761495 731172339 389979549 818576792 935707276 703119428 671211209 695131944 227403587 89170727 832476447 ...
output:
3342 456107448 440626827 795197649 709684383 92634315 341841933 416749530 775721850 731172339 389979549 695131944 832476447 115940571 606346197 676994322 462906552 832993206 90490632 121739832 764783076 989470812 996856296 403210182 350550500 434316101 451490453 253856300 793106258 744501902 1646311...
input:
Eva 1650 456107448 440626827 795197649 92634315 416749530 389979549 115940571 462906552 832993206 90490632 764783076 989470812 403210182 776489624 7327541 929492825 434750957 163037555 46315223 969106835 470618327 169601909 863272832 40159499 975010710 919702011 181686144 886408155 869107482 4055366...
output:
impatient
result:
ok single line: 'impatient'
Test #13:
score: 100
Accepted
time: 1ms
memory: 3848kb
input:
Alisa bookkeeper 10000 390710414 631530615 963220561 501450406 351277306 602248210 85957489 881562188 450691883 138708871 331455659 745743962 340297641 243932822 682142300 643860072 962255409 429078261 419732560 641785179 681729629 753830142 211789688 516575649 543437870 822918258 88310983 576798802...
output:
3363 631530615 340297641 643860072 962255409 429078261 641785179 753830142 516575649 822918258 575632476 934790601 550197009 781083603 836807787 773857542 654233229 428156490 840448809 783383424 337330761 122791803 916402539 322598352 610250870 249034334 858602912 471812015 513869303 320950361 85962...
input:
Eva 1694 631530615 643860072 429078261 934790601 781083603 836807787 773857542 654233229 840448809 783383424 122791803 916402539 249034334 858602912 859622837 848022386 215492648 141678668 759167657 11089754 792040844 364993487 169828205 114568556 26528651 363294308 998814147 425337861 476576154 535...
output:
bookkeeper
result:
ok single line: 'bookkeeper'
Test #14:
score: 100
Accepted
time: 1ms
memory: 3868kb
input:
Alisa copyrighted 10000 739557444 330252893 964326887 887910648 165070809 903235717 652009792 814643692 630901069 585765565 101206711 559866628 791788710 330613970 309583309 642328357 778635645 120527334 116527570 729858307 563138990 220835202 217041534 894279818 808177617 556013181 774973167 510000...
output:
3322 739557444 887910648 165070809 791788710 778635645 120527334 220835202 217041534 808177617 556013181 774973167 510000102 520463154 554946273 673804365 636946200 130259616 2747070 199634544 979008240 608323224 556512375 457043208 199126224 279935076 914258502 55224965 294486173 714916559 13712234...
input:
Eva 1664 165070809 120527334 808177617 556013181 774973167 520463154 554946273 636946200 130259616 979008240 199126224 279935076 914258502 55224965 294486173 714916559 857292374 816108275 372912932 726241283 942209273 256210862 939972167 447470984 373318418 820338146 773414927 147603953 444510332 67...
output:
copyrighted
result:
ok single line: 'copyrighted'
Test #15:
score: 100
Accepted
time: 1ms
memory: 4116kb
input:
Alisa squeezeboxes 10000 157094287 809151185 885591341 968810165 943658241 456220129 251205115 963575422 527082156 400831284 639279124 478290197 149013822 155506716 389372449 193333788 390911465 699989485 515969381 745192528 146306211 938174688 227793494 161046218 477570505 9894134 499988384 8103411...
output:
3329 157094287 456220129 251205115 963575422 639279124 389372449 699989485 745192528 477570505 533347828 122087182 217736152 457980913 739750405 611145652 774042106 509149021 324276292 332438533 806004442 556159804 681083131 354247660 848146625 412978217 999760049 561227021 685528547 432452201 86555...
input:
Eva 1643 157094287 963575422 389372449 699989485 533347828 122087182 217736152 739750405 324276292 332438533 556159804 681083131 354247660 412978217 999760049 561227021 432452201 865551590 771904751 839524013 127761224 97230971 373771421 503677599 681155376 374229852 78591849 98516538 435317865 1386...
output:
squeezeboxes
result:
ok single line: 'squeezeboxes'
Test #16:
score: 100
Accepted
time: 1ms
memory: 3840kb
input:
Alisa embarrassment 10000 863907095 50900552 940385214 923016987 195384280 149329830 157040498 699365836 728151611 802183368 964476670 766353465 883068628 140698617 576455081 638837097 462505317 428012304 717738800 611701562 107433485 338374166 40322202 553171030 361969314 458428199 482891314 240678...
output:
3394 940385214 923016987 149329830 802183368 766353465 140698617 638837097 462505317 428012304 40322202 361969314 635536407 497452101 701955747 957069609 782283945 10334160 935457093 27962175 850105641 282049389 862668903 753778407 687332892 670056962 995340371 355094606 845272550 773741627 57103508...
input:
Eva 1702 923016987 802183368 766353465 638837097 462505317 40322202 361969314 497452101 782283945 935457093 27962175 862668903 753778407 687332892 995340371 773741627 571035083 737524685 170148671 833396057 274460846 119728202 792986150 350957528 790195452 589233138 790515531 351114948 160465188 799...
output:
embarrassment
result:
ok single line: 'embarrassment'
Test #17:
score: 100
Accepted
time: 1ms
memory: 4108kb
input:
Alisa facelessnesses 10000 358815078 441702436 357306969 876232230 829173472 387236074 319588548 22588795 57315925 261669197 860052977 970248515 700859096 727417383 897121799 236588200 741288488 304680816 973597730 899737234 818651018 844515671 847720011 951605044 907126697 920420424 536760796 74546...
output:
3403 441702436 829173472 387236074 22588795 57315925 236588200 899737234 951605044 536760796 74546605 318785704 26504236 56634124 224206987 983016862 797695435 997394971 764934961 228034270 332120710 816822061 897421507 308303722 847444885 597624478 655945379 391901159 667317467 45599732 900525392 4...
input:
Eva 1647 441702436 22588795 57315925 318785704 224206987 997394971 764934961 228034270 655945379 391901159 667317467 900525392 416507918 897850337 547468298 603039284 238194968 528960929 627350210 858302603 926880932 956305922 522129432 554379105 348813627 154305120 832836996 418061865 915730410 221...
output:
facelessnesses
result:
ok single line: 'facelessnesses'
Test #18:
score: 100
Accepted
time: 1ms
memory: 3936kb
input:
Alisa oxyphenbutazone 10000 798496889 591831196 689866887 718516037 939088236 750029536 32504325 524026335 454108713 535099022 19575145 267787878 714460751 824215363 128955594 411401580 370729264 520608037 586051245 545847182 156497495 298980033 263178383 961267578 735195675 768423754 868450776 3886...
output:
3325 591831196 750029536 19575145 824215363 370729264 520608037 768423754 617425264 714505708 294224812 972151240 650960509 501626122 283734934 701630638 92190619 538045657 742554505 27010837 6692665 679680736 258333682 338167678 187778161 941429983 147347473 518513125 850222799 582497129 445897889 ...
input:
Eva 1685 591831196 19575145 520608037 714505708 294224812 501626122 283734934 701630638 538045657 27010837 679680736 258333682 147347473 850222799 445897889 20395391 37153577 781671608 184501517 535912586 94611308 841599113 896234945 785016479 553994213 633975419 996379808 892133927 829770854 996365...
output:
oxyphenbutazone
result:
ok single line: 'oxyphenbutazone'
Test #19:
score: 100
Accepted
time: 1ms
memory: 3884kb
input:
Alisa uncopyrightable 10000 40150886 763706492 122394813 807704159 536297792 750987557 115171123 810353340 610211761 244154724 969998196 16564183 375564698 574704451 798113067 379418611 35315906 832211290 55151894 916263535 105649044 475634989 856990225 797136254 921316465 143597900 736016212 474798...
output:
3358 115171123 610211761 16564183 574704451 379418611 832211290 916263535 475634989 856990225 921316465 736016212 300976585 620519062 638407957 470797141 155378383 259295185 399761119 849175099 37922164 718393762 709674454 204887371 690917128 34082263 8963657 33810119 912083012 991168295 845903888 9...
input:
Eva 1714 115171123 610211761 379418611 475634989 856990225 921316465 620519062 155378383 849175099 37922164 204887371 8963657 33810119 991168295 845903888 951549071 433938737 288689942 564629627 202633310 446344910 737722958 429512790 116975016 673117860 779485788 419938764 390369186 259823274 10407...
output:
uncopyrightable
result:
ok single line: 'uncopyrightable'
Test #20:
score: 100
Accepted
time: 1ms
memory: 4112kb
input:
Alisa decommissioning 10000 382835686 679002417 815396195 614990250 316953010 510954891 755838644 474793416 636240104 959829812 549408397 315423690 730153926 758389557 768870797 263724012 174045815 452197876 232033487 368630330 17284226 524695595 234115558 27688098 683706858 79961009 751009094 73156...
output:
3331 382835686 316953010 549408397 452197876 234115558 215653354 601535347 166029760 518851423 225040312 440402836 776795449 99462565 80254285 912381775 413492338 823693150 31296145 284492659 626993770 740142308 652243493 659959625 593726018 270614633 363674903 245365751 603807665 878888657 61977593...
input:
Eva 1639 382835686 316953010 549408397 452197876 601535347 166029760 440402836 823693150 626993770 740142308 593726018 603807665 619775939 249913667 952349351 104693851 648139690 947768404 507138616 711354646 145157941 598906639 832567489 53140387 542354206 335935519 385243792 174673034 798899231 49...
output:
decommissioning
result:
ok single line: 'decommissioning'
Test #21:
score: 100
Accepted
time: 1ms
memory: 4060kb
input:
Alisa kindheartedness 10000 184401044 43479672 626522598 125256287 393936792 796090108 623375502 964392055 745191771 685632155 122244894 795113405 154816720 751814796 908762470 986021242 828628967 790557756 662677460 258829873 931275678 435309418 514192615 132684947 462635436 502645052 66049087 6164...
output:
3356 796090108 964392055 154816720 908762470 986021242 258829873 435309418 514192615 66049087 616488013 289705312 250828447 659649178 398910712 766124407 440805136 974346664 897789415 818691457 536768392 541814278 422966785 728078342 375849383 28677599 802964777 74426045 103474280 653905736 50261282...
input:
Eva 1688 964392055 908762470 258829873 435309418 616488013 250828447 766124407 440805136 897789415 818691457 536768392 728078342 375849383 103474280 653905736 121492472 810179555 394584923 411986858 273631169 411529647 516321723 243916254 8220885 898365570 895794555 409416543 80651274 523899417 6335...
output:
kindheartedness
result:
ok single line: 'kindheartedness'
Test #22:
score: 100
Accepted
time: 1ms
memory: 4108kb
input:
Alisa appropriateness 10000 330513032 853761192 471913635 973083553 210304782 192323109 93400951 312902092 218527177 220141550 772849545 474554266 236840727 992261006 242750804 48564115 825470066 137963562 557516732 280829723 624831146 479324406 32347115 449750828 375369355 14352941 431101170 936947...
output:
3233 973083553 93400951 312902092 218527177 474554266 48564115 375369355 790036795 722024683 585431974 926688721 587882443 665389255 999391759 841053982 896422783 168799765 375251467 252659110 111544489 272576695 694348166 467607131 874490486 546537989 113269358 547548140 846231017 521146034 2271109...
input:
Eva 1569 973083553 93400951 218527177 474554266 48564115 790036795 585431974 926688721 587882443 896422783 694348166 467607131 874490486 546537989 227110940 383491388 942477647 827386067 225966701 479956037 924434324 759069471 754189602 640226166 239152611 13909296 906477417 51143856 277880565 18519...
output:
appropriateness
result:
ok single line: 'appropriateness'