QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#140245 | #4827. Message Made of Noise | Williams | AC ✓ | 2ms | 3684kb | C++14 | 2.7kb | 2023-08-15 15:57:26 | 2023-08-15 15:57:28 |
Judging History
answer
#include <bits/stdc++.h>
#define for_(i,a,b) for (int i = (a); i < (b); i++)
#define rep_(i,a,b) for (int i = (a); i <= (b); i++)
#define per_(i,a,b) for (int i = (a); i >= (b); i--)
#define pii pair<int, int>
#define pll pair<ll, ll>
#define fi first
#define se second
#define ll long long
#define sz(a) (int)a.size()
#define all(v) v.begin(), v.end()
#define clr(x) memset(x, 0, sizeof(x))
#define wls(v) sort(all(v)); v.erase(unique(all(v)), v.end());
#define ull unsigned long long
#define pb push_back
#define D(x) cerr << #x << '=' << x << endl
#define outarr(a,L,R) cerr<<#a"["<<L<<".."<<R<<"]=";rep_(_x,(L),(R))cerr<<a[_x]<<" "; cerr<<endl;
#ifdef LOCAL
#define line cout << "--------------------------------" << endl;
#define CE cout << endl;
#define CO cout << "OK" << endl;
#endif
#define endl '\n'
using namespace std;
bool be;clock_t startTime;
double getCurrentTime() {
return (double)(clock() - startTime) / CLOCKS_PER_SEC;
}
const int maxn = 2e5 + 10, mod = 998244353;// mod = 1949777;
const double EPS = 1e-3;
template <typename Type>
void add(Type &x, Type y, Type Md) {
x += y; while(x >= Md) x -= Md;
while(x < 0) x += Md;
}
int n, m;
int a[maxn];
bool ed;
void solve() {
}
string s, t;
vector<int> v;
void solve1() {
cin >> t;
cin >> n;
int bar = n / (sz(t) + sz(t) - 1);
int cnt = 1, now = 0;
rep_(i, 1, n) {
cin >> a[i];
}
rep_(i, 1, (sz(t) + sz(t) - 1)) {
rep_(j, (i - 1) * bar + 1, i * bar) {
if (i & 1) {
if (a[j] % 27 == t[i / 2] - 'a') v.pb(a[j]);
} else if (a[j] % 27 == 26) v.pb(a[j]);
}
}
// cout << "Bob" << endl;
cout << sz(v) << endl;
for (auto i : v) {
cout << i << ' ';
}
cout << endl;
}
void solve2() {
cin >> n;
rep_(i, 1, n) {
cin >> a[i];
}
int now = 0;
rep_(i, 1, n) {
if (a[i] % 27 < 26) {
if (now == 0) {
t.pb((a[i] % 27 + 'a'));
now = 1;
}
} else now = 0;
}
cout << t << endl;
}
signed main() {
#ifdef LOCAL
freopen("w.in", "r", stdin);
freopen("w.out", "w", stdout);
startTime = clock();
// time_t now_time = time(NULL); tm* TuT = localtime(&now_time); cout << asctime(TuT); cout << "CodeBegin:_______________________" << endl;
// cout << "Memory footprint:" << ((&be - &ed) >> 20) <<"MB"<< endl;
// line;
#endif
ios::sync_with_stdio(false);
cin.tie(nullptr);
//int tt; cin >> tt; while(tt--) solve();
cin >> s;
if (s[0] == 'A') {
solve1();
}
else {
solve2();
}
#ifdef LOCAL
cerr<<"\n\n-----------------------\nProgram done in "<<clock()-startTime<<" ms";
#endif
return 0;
}
//by whc
// check if over int , and open long long !!!
/*
Alice
aab
10
0 0 26 26 0 0 26 26 1 1
Bob
10
0 0 26 26 0 0 26 26 1 1
*/
详细
Test #1:
score: 100
Accepted
time: 1ms
memory: 3504kb
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:
369 76365900 774838701 220543227 964868778 539813691 153415449 955107603 675395271 120288555 3385791 887100165 717590628 180893565 463899330 781616052 451134810 675013896 249663726 890635977 686444130 50040171 165308166 997308711 25781670 651891582 534262923 529412481 365695362 915641595 190316592 6...
input:
Eva 196 964868778 539813691 955107603 3385791 717590628 463899330 451134810 675013896 249663726 890635977 686444130 651891582 534262923 646736040 885077082 890819523 113210910 311546781 40092696 387201618 631766916 658789137 154833165 304709139 738137169 173018861 315704708 209586095 899758313 38416...
output:
spark
result:
ok single line: 'spark'
Test #2:
score: 100
Accepted
time: 2ms
memory: 3612kb
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:
396 562986097 523223494 631726585 423355381 405570886 397922731 761583652 659042782 574674991 536156980 495980197 750621247 709124083 984815899 362411953 896969887 735139501 31235272 236835925 175352038 592582444 698386075 769255054 906273655 296153953 546810262 611167840 475186390 231901270 6329951...
input:
Eva 181 562986097 423355381 405570886 397922731 659042782 574674991 735139501 31235272 175352038 592582444 698386075 769255054 296153953 632995153 723948784 344290417 903761548 335865256 723905395 42969040 236107006 891561976 965951377 57552631 345880771 490156405 377993599 788430076 392935831 52442...
output:
zoo
result:
ok single line: 'zoo'
Test #3:
score: 100
Accepted
time: 1ms
memory: 3680kb
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:
402 912925836 341679249 264617901 744405525 615429576 141387012 955640241 373749363 861298137 600099975 819508401 29075895 923321133 921211326 527251221 447483690 563938065 310444866 819374238 416862504 982205406 296216298 41095512 363875922 192696300 80415153 272663118 757772226 336406473 358879626...
input:
Eva 218 912925836 341679249 615429576 141387012 819508401 527251221 563938065 310444866 819374238 982205406 41095512 363875922 192696300 80415153 272663118 757772226 940027869 956951307 239742180 395008920 118399023 527950602 862345332 216362853 901171710 539896320 968800068 605563803 126411381 3844...
output:
at
result:
ok single line: 'at'
Test #4:
score: 100
Accepted
time: 2ms
memory: 3516kb
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:
374 774836180 933098003 488034647 785795102 892199483 773819009 34188326 435772124 72738926 214487711 518360021 866241008 530962595 478246742 533495816 237068243 596965121 792230849 417477707 749851298 649282346 116280854 140860061 552564593 896299649 964236941 846772793 771437393 445141421 53283693...
input:
Eva 176 933098003 488034647 785795102 773819009 518360021 478246742 533495816 749851298 649282346 140860061 552564593 896299649 771437393 408670091 301685426 455424209 284546447 434161736 254879792 352430090 161388404 303607043 212193116 29191706 61998677 99225710 667653524 245460032 12539159 789427...
output:
if
result:
ok single line: 'if'
Test #5:
score: 100
Accepted
time: 2ms
memory: 3584kb
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:
354 313353796 275112589 979390822 981574825 173214751 71674366 752102743 955994674 260550679 947010100 631813558 326781652 87633337 429835684 459558796 45484231 883690267 227831593 220893484 406542325 151792897 295325005 867375463 981570748 676089319 273743257 979271590 368296177 879561805 350846374...
input:
Eva 189 981574825 71674366 752102743 955994674 260550679 429835684 459558796 227831593 220893484 406542325 295325005 867375463 981570748 979271590 350846374 93688357 867119935 238453663 833626003 186811411 377897323 714172360 646952080 790775626 275247400 485244355 535762543 498298099 260590801 5876...
output:
eel
result:
ok single line: 'eel'
Test #6:
score: 100
Accepted
time: 2ms
memory: 3584kb
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:
360 663421268 149356145 769131641 86882303 614349443 376370012 254059337 372796670 515367497 24484223 973652591 875584838 211565252 548009849 117107831 150265343 15568283 706316222 279790472 929793143 281230922 408570455 815004074 203612429 905132612 310617290 588622115 663141467 511765346 898586705...
input:
Eva 174 663421268 149356145 86882303 376370012 254059337 24484223 973652591 117107831 706316222 279790472 929793143 815004074 588622115 663141467 551829647 946661609 480618362 665232212 275237003 608358953 539969195 14133827 977248208 369614882 465665168 59485511 638902298 795898766 406940303 376924...
output:
cat
result:
ok single line: 'cat'
Test #7:
score: 100
Accepted
time: 1ms
memory: 3676kb
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:
368 873526805 293645402 296052263 78636977 950791490 456412094 357099506 328981301 429627473 296003960 87513146 943025453 695644811 167288291 643264919 163893554 968774867 216011978 761433173 361145159 294059501 864848357 495449666 174575834 451926638 541880675 429949394 671384690 835562402 24716841...
input:
Eva 178 873526805 296052263 78636977 950791490 456412094 357099506 328981301 296003960 943025453 695644811 643264919 163893554 216011978 761433173 671384690 835562402 94567139 751630094 699501149 481683347 671112809 193232195 48940928 931644476 421910612 682472114 978196202 753873290 118045970 32253...
output:
real
result:
ok single line: 'real'
Test #8:
score: 100
Accepted
time: 2ms
memory: 3680kb
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:
375 841320664 311899723 472733053 601092052 87813088 895758307 756362383 332394748 496359187 386793862 251180395 982471615 728792548 680992099 713604481 492898597 122181550 76256197 888536860 279150262 635086537 698655175 703220173 415118347 78108613 418434919 154267432 367308907 887629066 348118063...
input:
Eva 200 841320664 87813088 895758307 332394748 386793862 728792548 492898597 888536860 635086537 703220173 154267432 887629066 75889132 325211614 428259409 563439040 303755173 672393797 703141127 132375221 753487190 414283463 828900431 660587210 998066042 175980140 587220002 117029690 46209932 78293...
output:
queue
result:
ok single line: 'queue'
Test #9:
score: 100
Accepted
time: 1ms
memory: 3604kb
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:
354 251563430 624785753 113188430 781043501 709623344 409578554 794232002 671563901 761479760 392284109 626918726 378912440 588618470 200979740 758860652 623662283 320656268 368191739 460789940 27476039 315874001 284691863 611861690 813378404 959389544 121765223 929853704 564796613 856942580 9282205...
input:
Eva 160 624785753 781043501 409578554 794232002 588618470 200979740 758860652 623662283 320656268 27476039 813378404 959389544 121765223 953741816 297054998 208963772 189938249 144254087 605672666 735167420 722465 742944446 540545615 725616764 598125884 263934545 100488371 570205427 661792262 934397...
output:
cotton
result:
ok single line: 'cotton'
Test #10:
score: 100
Accepted
time: 2ms
memory: 3584kb
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:
369 527010676 69651412 29641732 561148288 544494850 432483487 156756976 544195906 225527218 176784253 644764642 856530016 926456047 950491339 891174796 267479224 347053381 901441492 267433459 358032499 791140391 943138160 194284763 777850370 524833100 672023573 537514001 764383094 705313763 31953468...
input:
Eva 188 69651412 561148288 432483487 156756976 950491339 267479224 901441492 267433459 943138160 194284763 777850370 764383094 319534685 821548790 133052030 676017845 700982909 900543932 375084134 116586269 602992052 700061183 830273570 20256560 261907748 973658155 21518059 732862543 371030521 30391...
output:
zealous
result:
ok single line: 'zealous'
Test #11:
score: 100
Accepted
time: 2ms
memory: 3508kb
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:
362 189003645 901303578 291423501 626403807 598987656 933934617 342043884 808848774 944446203 121506669 775381437 904752936 57261195 295844400 568796175 286666641 365672934 461714634 682609761 656780265 984366000 68637834 36812718 640868517 105913305 325816668 580800861 611023445 915856685 942230285...
input:
Eva 164 189003645 626403807 933934617 775381437 295844400 286666641 365672934 461714634 984366000 36812718 640868517 325816668 942230285 761959088 816608924 18486710 850564232 558052037 898759151 136895885 980286029 914945211 813149271 946631520 263091609 302935860 512034120 403961004 192602250 9939...
output:
assessee
result:
ok single line: 'assessee'
Test #12:
score: 100
Accepted
time: 2ms
memory: 3600kb
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:
406 565954838 703119428 434750957 947418209 500451893 432816758 983834675 516443561 107769320 461896784 691397675 710799875 189457550 875717549 516522293 694236320 375345746 230124518 587803292 759923918 66949856 270472157 962488205 788774093 34807625 303588242 71123237 915579638 91745081 736054883 ...
input:
Eva 206 565954838 703119428 434750957 107769320 461896784 691397675 710799875 694236320 375345746 587803292 759923918 962488205 788774093 736054883 805626701 811327022 167491259 691842626 94979816 204819623 591405893 938380787 144605384 683031405 362119098 999830316 247561014 325950843 879782187 250...
output:
impatient
result:
ok single line: 'impatient'
Test #13:
score: 100
Accepted
time: 1ms
memory: 3684kb
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:
356 971377381 273152656 188051545 193947589 801862039 626584789 338020534 411790177 433048708 964502695 743038786 956536480 848372077 799099615 243263629 657882053 792702368 570404483 743864768 132848990 978881381 242700542 637216415 59016005 963593441 602005175 71464058 469842416 704317976 27617238...
input:
Eva 182 971377381 188051545 193947589 411790177 433048708 956536480 657882053 570404483 132848990 637216415 59016005 963593441 602005175 71464058 704317976 538076519 371338505 305891126 769926248 565840958 389013881 94354619 217149026 702291533 572614259 388997600 27081095 530891942 108882725 351277...
output:
bookkeeper
result:
ok single line: 'bookkeeper'
Test #14:
score: 100
Accepted
time: 0ms
memory: 3644kb
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:
377 663145652 55224965 714916559 372912932 373318418 147603953 29296622 748177535 248714093 157870001 86049380 272181656 860442266 651932525 763025537 556979519 427653002 502988969 345660212 497541041 897292025 601516799 12835772 444751640 546798275 10798244 294453305 830060297 606417569 544411097 2...
input:
Eva 187 55224965 714916559 373318418 29296622 748177535 157870001 556979519 502988969 345660212 830060297 606417569 544411097 996777818 808243703 345967199 486756851 983505362 361188032 232024055 241091546 892716161 393546965 383876213 189918107 217345085 553518845 761787098 157265576 405683909 6200...
output:
copyrighted
result:
ok single line: 'copyrighted'
Test #15:
score: 100
Accepted
time: 2ms
memory: 3508kb
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:
347 193333788 938174688 19472364 98516538 495529236 106681851 12079845 499079115 931127499 317126871 595068173 227714921 675041444 720501857 624845771 339824915 120888557 24102737 153013481 494957654 575871470 594878417 6593507 187325719 152435131 593850787 840264991 307309129 753234676 982656025 21...
input:
Eva 165 193333788 19472364 98516538 495529236 106681851 317126871 595068173 227714921 675041444 153013481 6593507 152435131 593850787 982656025 21222907 394045549 562668497 880198271 401366609 431196371 918406808 712350827 312608186 895832513 356740712 68097179 457594778 181398413 172084088 76379127...
output:
squeezeboxes
result:
ok single line: 'squeezeboxes'
Test #16:
score: 100
Accepted
time: 2ms
memory: 3524kb
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:
372 964476670 747463522 762511270 625716526 435738370 97991401 636860965 153310243 889027573 437326402 397200892 647655430 861063106 998652811 879131339 98740430 815312708 425363993 769267394 561620114 18550727 26476874 338846921 244885085 391060236 478078212 218406576 65033238 429328335 284857221 3...
input:
Eva 182 964476670 625716526 435738370 153310243 889027573 437326402 647655430 998652811 815312708 769267394 561620114 18550727 26476874 478078212 218406576 65033238 31448694 594250140 88982805 807417705 801660077 814503842 292635773 233066267 269675432 655880543 343723067 537947405 519037550 9402552...
output:
embarrassment
result:
ok single line: 'embarrassment'
Test #17:
score: 100
Accepted
time: 2ms
memory: 3684kb
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:
377 970248515 741288488 973597730 844515671 971606966 230292941 760005644 733487378 430305377 416507918 897850337 78976301 423888044 755748041 323341232 842309825 891737159 428550128 292554044 326479625 249920504 82555172 216353888 232725581 562133357 160470287 71231993 989792783 141050348 653511158...
input:
Eva 184 741288488 973597730 844515671 760005644 430305377 416507918 897850337 423888044 323341232 842309825 891737159 428550128 292554044 249920504 232725581 562133357 19067751 747089622 905362271 695722040 581706413 821648177 320720228 850268177 24293468 610312997 455166677 857044262 442589537 7591...
output:
facelessnesses
result:
ok single line: 'facelessnesses'
Test #18:
score: 100
Accepted
time: 2ms
memory: 3476kb
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:
362 156497495 263178383 154300235 591652418 184501517 94611308 841599113 263642486 738284531 372775676 556674377 398428457 623432552 309472730 321799283 904194521 362442059 539238896 840468446 327285953 858647141 586841435 829764131 590710856 512484323 732305336 515991569 243485267 786193529 5704428...
input:
Eva 182 156497495 184501517 841599113 263642486 556674377 398428457 623432552 309472730 904194521 362442059 327285953 858647141 586841435 590710856 732305336 570442847 74553989 615790859 604427315 389457014 546329066 360593828 861536951 275095979 61553438 46284209 759941187 283613640 973817502 67882...
output:
oxyphenbutazone
result:
ok single line: 'oxyphenbutazone'
Test #19:
score: 100
Accepted
time: 1ms
memory: 3600kb
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:
361 55151894 143597900 893791172 769439891 383710682 547590908 672084128 172095914 7606217 825346415 916885703 207536087 584857280 827380190 693226748 307703441 40009538 154446128 105748334 853570358 793031012 162470150 332041976 256559804 454456952 153507527 489836186 79807490 210822965 943475390 2...
input:
Eva 187 55151894 143597900 893791172 383710682 547590908 672084128 916885703 207536087 584857280 693226748 40009538 154446128 105748334 853570358 332041976 454456952 153507527 489836186 227343995 33188305 356880046 558468634 908745142 9699358 785707816 488626681 40033034 922795631 642380759 85750174...
output:
uncopyrightable
result:
ok single line: 'uncopyrightable'
Test #20:
score: 100
Accepted
time: 2ms
memory: 3476kb
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:
335 758389557 27688098 720696693 125473161 447485286 900471171 217523046 258176568 753182418 725063133 926205816 474854484 933135636 794217234 684980580 773616365 599447411 399855905 944901935 371297114 756049598 142671860 262915712 300551984 41987024 325858571 230916208 647700196 651711937 80053272...
input:
Eva 162 125473161 217523046 258176568 753182418 725063133 926205816 794217234 684980580 371297114 756049598 262915712 300551984 230916208 800532724 691704931 471264565 396267286 465874285 612611558 872714168 990729791 379911707 514542914 599157026 142427243 278077862 274512998 984946934 586796807 50...
output:
decommissioning
result:
ok single line: 'decommissioning'
Test #21:
score: 100
Accepted
time: 2ms
memory: 3644kb
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:
378 616488013 289705312 335356291 205670269 872214922 397616671 533774782 866186281 12634012 886425670 485996257 116988715 377748089 320264873 819103643 223591508 191482757 487639871 944484488 505741778 700544051 453187790 285054713 823560830 57070493 833675759 295885601 590288255 668641265 91346611...
input:
Eva 198 616488013 289705312 335356291 872214922 533774782 866186281 12634012 886425670 116988715 377748089 223591508 191482757 487639871 505741778 700544051 453187790 285054713 823560830 295885601 590288255 668641265 956478194 585692189 896785910 346537304 345519890 42316181 74846888 148371479 21336...
output:
kindheartedness
result:
ok single line: 'kindheartedness'
Test #22:
score: 100
Accepted
time: 0ms
memory: 3528kb
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:
379 210304782 431101170 469278711 411274044 979976934 289861632 54920322 790481349 119220687 683397404 19750769 652594319 519584840 836486297 758358314 501333488 65353202 411646670 630311003 779933339 976045706 734620886 319467687 362694957 140172540 459668400 422137131 316787856 298894443 208871691...
input:
Eva 196 210304782 469278711 979976934 54920322 790481349 119220687 683397404 19750769 519584840 836486297 65353202 630311003 734620886 362694957 459668400 422137131 316787856 298894443 208871691 331122102 879253476 633805089 102264918 399697080 329029208 567097631 617149961 222909002 779901128 37721...
output:
appropriateness
result:
ok single line: 'appropriateness'