QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#324047 | #4827. Message Made of Noise | hotboy2703 | AC ✓ | 1ms | 4152kb | C++14 | 1.8kb | 2024-02-10 15:29:41 | 2024-02-10 15:29:43 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using ld = long double;
#define pll pair <ll,ll>
#define fi first
#define se second
#define sz(a) (ll((a).size()))
#define BIT(mask,i) (((mask) >> (i))&1LL)
#define MASK(i) (1LL << (i))
const ll BLOCK = 1e7;
int main(){
ios_base::sync_with_stdio(0);cin.tie(nullptr);cout.tie(nullptr);
string task;
cin>>task;
if (task=="Alisa"){
ll n;
string s;
cin>>s;
cin>>n;
vector <ll> a(n);
for (auto &x:a)cin>>x;
vector <ll> id[110];
vector <ll> ans;
for (ll i = 0;i < n;i++){
id[a[i]/BLOCK].push_back(i);
}
ll ptr = 0;
auto add = [&](bool x){
if (x==1)ans.push_back(ptr);
ptr++;
};
for (ll i=0;i<4;i++)add(BIT(sz(s),i));
for (auto tmp:s){
ll x = tmp - 'a';
for (ll i = 0;i < 5;i ++)add(BIT(x,i));
}
vector <ll> res;
for (auto x:ans){
for (auto y:id[x])res.push_back(y);
}
sort(res.begin(),res.end());
cout<<sz(res)<<'\n';
for (auto x:res){
cout<<a[x]<<' ';
}
cout<<'\n';
}
else{
ll n;
cin>>n;
vector <ll> a(n);
for (auto &x:a)cin>>x;
vector <bool> mask(110);
for (auto x:a){
mask[x/BLOCK]=1;
}
ll sz = 0;
for (ll i = 0;i < 4;i ++)sz += MASK(i) * mask[i];
ll ptr = 4;
for (ll i = 0;i < sz;i ++,ptr+=5){
ll x = 0;
for (ll j = 0;j < 5;j ++){
x += MASK(j) * mask[ptr+j];
}
cout<<char(x+'a');
}
cout<<'\n';
}
return 0;
}
详细
Test #1:
score: 100
Accepted
time: 1ms
memory: 3884kb
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:
1213 102494634 111199534 259074194 270621761 278824512 54563393 669886 24637497 239325547 256633293 2534511 82524575 27701540 258275276 87409563 92549574 59866724 6368928 88158613 195976091 4398577 6715545 96664890 120288555 7856746 52322892 82072074 117137904 7850591 4130594 54235136 3385791 513127...
input:
Eva 561 102494634 270621761 278824512 54563393 669886 24637497 82524575 27701540 258275276 6368928 195976091 4398577 120288555 52322892 82072074 117137904 4130594 51312728 9000136 29970287 92492296 5225356 110070930 28704076 89351455 102701465 93666444 255770367 195016405 1282195 87366650 237268972 ...
output:
spark
result:
ok single line: 'spark'
Test #2:
score: 100
Accepted
time: 0ms
memory: 3880kb
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:
1145 115576737 47770507 159696911 179929327 166469421 5201616 18820398 100964799 17800139 119092421 152884009 121800135 70052126 118445835 150992024 86907784 162569582 3357567 109700412 41654257 86888478 4005724 169439344 46182630 4036264 83967867 76160295 112959399 155365852 178500590 177607527 126...
input:
Eva 586 47770507 159696911 179929327 100964799 119092421 121800135 70052126 118445835 86907784 162569582 3357567 109700412 41654257 46182630 4036264 76160295 112959399 155365852 178500590 126227344 170464611 161026035 122103144 163257575 7400074 7377913 157876269 2053514 41704599 49910893 112856207 ...
output:
zoo
result:
ok single line: 'zoo'
Test #3:
score: 100
Accepted
time: 1ms
memory: 3868kb
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:
390 138708955 109695239 91282115 90141686 18321048 100535228 13431849 16194434 97468360 134337374 107931186 105133321 137278208 16805796 14201241 130945553 90918520 109442010 107986643 130260677 135852744 99573798 17323577 15540107 103505428 139892361 135995371 134140237 98872751 93455852 15372107 1...
input:
Eva 212 138708955 109695239 91282115 90141686 13431849 107931186 16805796 130945553 90918520 109442010 107986643 130260677 135852744 103505428 139892361 134140237 98872751 105654692 99239132 96715805 132298652 94010935 105166342 106197813 107475773 133594337 93436580 107516214 108114433 91066484 105...
output:
at
result:
ok single line: 'at'
Test #4:
score: 100
Accepted
time: 1ms
memory: 4092kb
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:
366 78881542 97764215 98801882 72738926 75614401 113454638 79914880 75187822 70637148 77524515 74979792 93609677 117404438 114962609 114754886 118616249 73749817 18796805 75202648 116280854 94377621 94282336 73628017 14200124 114094898 77235965 94564930 17850154 90996446 13224027 78779352 110790709 ...
input:
Eva 178 78881542 72738926 75614401 79914880 114754886 118616249 73749817 18796805 75202648 116280854 114094898 77235965 94564930 17850154 90996446 110790709 95846563 15053375 74143217 77079717 98707199 96883771 74127576 94696107 71189767 13763487 19280080 15212522 110419733 119270001 113449942 12428...
output:
if
result:
ok single line: 'if'
Test #5:
score: 100
Accepted
time: 1ms
memory: 4112kb
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:
725 151667551 2543460 173214751 62284933 12244358 14479015 175408665 10429916 16807939 159995991 158053749 155973073 7346859 154859296 18523311 141212311 7885188 170861303 113736729 8825215 157196614 177583885 110345402 117078926 13398834 16581083 5279053 110509097 156087214 151792897 63627887 11460...
input:
Eva 362 2543460 12244358 14479015 10429916 16807939 159995991 154859296 7885188 110345402 13398834 16581083 156087214 151792897 148967369 178003522 110623952 155503069 140519989 175928086 117693425 117740492 151758303 119571712 140224036 62272287 4678295 5929827 118938233 63210744 68500398 143977186...
output:
eel
result:
ok single line: 'eel'
Test #6:
score: 100
Accepted
time: 1ms
memory: 3872kb
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:
628 186885255 149356145 185681111 59266476 918906 188415308 3434543 18742617 50244324 50960760 157008828 142061764 9525660 10615276 150442676 8561344 8679122 183287522 51828664 187830523 8178668 182699396 156248685 150265343 15568283 184014520 1512663 182611764 182782769 56610273 183208739 158086727...
input:
Eva 310 185681111 59266476 188415308 3434543 50244324 50960760 157008828 150442676 8679122 51828664 187830523 8178668 182699396 150265343 15568283 184014520 1512663 182782769 183208739 141718757 6199577 155305658 1030557 55314693 158449894 186811028 149255011 50978917 155436497 153719859 11442880 11...
output:
cat
result:
ok single line: 'cat'
Test #7:
score: 100
Accepted
time: 1ms
memory: 3768kb
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:
674 48936064 47523130 228558413 46338702 116389039 200484141 43456416 89078782 119379425 85304614 115944096 88310015 28690866 113672815 220923559 119320004 85444589 119838937 200432690 24819196 89600602 209718699 204265755 87513146 29612945 201864738 191201153 197277791 192950138 201650397 198984372...
input:
Eva 344 47523130 228558413 46338702 200484141 89078782 85304614 115944096 88310015 113672815 119320004 85444589 119838937 200432690 24819196 89600602 204265755 29612945 201864738 191201153 197277791 192950138 201650397 43379114 24420091 85765251 190056856 221772289 84407981 116432443 20295050 221556...
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:
888 262423745 113655749 260164633 235948513 28282810 138347607 214734663 134570058 268844882 27841632 216355215 119905465 113378557 87813088 87871224 215517880 269163911 212810339 264272620 239491097 138331051 3894061 118045910 5113585 132836245 23075564 131756752 7868405 20511371 116134780 1785896 ...
input:
Eva 449 113655749 28282810 138347607 268844882 216355215 119905465 113378557 215517880 3894061 118045910 7868405 1785896 112917481 264127320 116224572 237326023 86899253 22259088 230891019 264134646 85911661 162968133 214467970 218168044 25303337 20732039 29186853 236789380 133376853 9978137 1195744...
output:
queue
result:
ok single line: 'queue'
Test #9:
score: 100
Accepted
time: 1ms
memory: 4128kb
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:
1804 316465148 256775663 123184313 251563430 264757675 259841890 279787411 269112903 123570885 115798934 15593193 113188430 153160058 116236035 126136453 321170253 314268564 193443170 25820105 278915168 290812771 25108562 293695031 201932851 269446056 125107419 13089651 208349469 20033338 264819972 ...
input:
Eva 879 123184313 251563430 264757675 259841890 279787411 123570885 115798934 113188430 116236035 321170253 314268564 193443170 25820105 25108562 125107419 20033338 264819972 312152684 27027891 198272701 121774263 54312174 310084479 271263644 316162624 290397932 56310463 10744344 181452577 117918000...
output:
cotton
result:
ok single line: 'cotton'
Test #10:
score: 100
Accepted
time: 0ms
memory: 4052kb
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:
1716 110954051 45895518 337556133 224311552 258993375 389094853 2773185 350878329 581303 29641732 252437847 334028792 339514157 261834606 270820374 118941281 9982292 84138621 111342291 251241361 250321425 202706913 1772382 272372984 227853531 110675268 381162046 115279247 251668074 222420665 4532612...
input:
Eva 834 110954051 337556133 29641732 252437847 84138621 251241361 250321425 227853531 110675268 381162046 115279247 222420665 70986718 380764632 225754845 194933947 27996115 18130831 29073683 386536432 278334886 312689979 388943579 319133909 71152611 266611990 413079 330042196 45903097 313766092 279...
output:
zealous
result:
ok single line: 'zealous'
Test #11:
score: 100
Accepted
time: 1ms
memory: 4128kb
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:
1224 38143537 418720947 189003645 287235143 411058199 410590529 159178109 138588621 309413744 418793439 335567045 132092985 287581566 34192160 303058317 218450652 280115933 216105788 217706864 36467192 364343882 258908086 138137586 255605291 182368614 213229607 250316994 304311904 363498443 13231456...
input:
Eva 608 189003645 287235143 411058199 309413744 335567045 287581566 280115933 216105788 36467192 138137586 182368614 250316994 304311904 363498443 132314565 217969022 33802815 419638253 215293849 156229523 360294891 307637804 102310159 365672934 257391244 259238888 105182299 419363052 36812718 33465...
output:
assessee
result:
ok single line: 'assessee'
Test #12:
score: 100
Accepted
time: 1ms
memory: 3864kb
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:
1920 456107448 423359702 440626827 441006466 443478311 416749530 324152699 115940571 155303726 426143945 121739832 455552008 451490453 459359344 253856300 164631128 7327541 160427166 447110177 159092053 254264024 243413150 163037555 443447060 249696607 280539843 451923907 410324181 487725484 4516481...
input:
Eva 928 423359702 441006466 443478311 426143945 451490453 459359344 164631128 160427166 163037555 249696607 280539843 148082980 169601909 446318620 412089817 457615652 450974675 288602933 285794325 165230755 444701015 159972097 149861970 114661288 30530631 427136159 75010040 327888220 248327522 2483...
output:
impatient
result:
ok single line: 'impatient'
Test #13:
score: 100
Accepted
time: 1ms
memory: 3876kb
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:
2200 390710414 429078261 419732560 207098164 311048788 428156490 34950233 122791803 413623236 273152656 273182854 313986411 530396280 396695205 397566717 11089754 411636286 311526170 40387453 364993487 169828205 466187684 114568556 120062753 253681074 363294308 104258339 44285363 151567941 151340761...
input:
Eva 1141 390710414 207098164 311048788 122791803 273152656 273182854 313986411 396695205 411636286 311526170 169828205 120062753 253681074 363294308 104258339 151567941 13739071 425337861 468026631 123521972 393060828 425649184 311251974 535747326 46235534 207284772 498057610 462646629 204522854 493...
output:
bookkeeper
result:
ok single line: 'bookkeeper'
Test #14:
score: 100
Accepted
time: 1ms
memory: 3860kb
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:
2652 165070809 101206711 559866628 120527334 116527570 220835202 556013181 510000102 451456324 554946273 541388348 164506556 2747070 457779397 408988247 556512375 457043208 55224965 148391295 129252090 546133264 13712234 285557856 551921740 31152000 31895469 172571733 519391961 444802122 447470984 2...
input:
Eva 1293 101206711 559866628 120527334 116527570 510000102 541388348 164506556 55224965 148391295 129252090 285557856 551921740 447470984 289346702 151829442 147603953 516771279 353751440 144359584 283519957 555541953 32163254 107246199 111714123 229192963 55618740 248714093 117971925 540797234 1578...
output:
copyrighted
result:
ok single line: 'copyrighted'
Test #15:
score: 100
Accepted
time: 1ms
memory: 4152kb
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:
2438 456220129 639279124 478290197 390911465 515969381 161046218 477570505 499988384 533347828 217736152 457980913 509149021 324276292 332438533 82344198 393973728 471320517 561227021 467364990 269957316 493142946 606168714 321482101 363543193 511733197 504701020 20416641 503677599 569996869 4991928...
input:
Eva 1280 639279124 161046218 477570505 499988384 533347828 509149021 324276292 82344198 393973728 493142946 606168714 321482101 511733197 504701020 569996869 393491042 219079085 168255860 89091888 265710239 495529236 138629037 471220790 183661850 539862812 292761054 164833760 517852605 133541656 568...
output:
squeezeboxes
result:
ok single line: 'squeezeboxes'
Test #16:
score: 100
Accepted
time: 1ms
memory: 3888kb
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:
2365 149329830 140698617 611701562 338374166 458428199 482891314 240678148 25977263 625716526 452968378 27962175 282049389 528544460 687332892 248792193 514148013 617792120 642923319 337755784 566456759 612755773 8029109 247217205 612546943 526096826 435847599 116076873 119728202 435738370 403547806...
input:
Eva 1178 140698617 338374166 240678148 25977263 687332892 514148013 612755773 435847599 116076873 289084829 245509912 483552845 8319632 409993604 623485356 488445195 281895149 647957685 627788292 437880395 140030262 332276533 512093945 564167149 680331400 115485473 658464029 439422287 511292292 5273...
output:
embarrassment
result:
ok single line: 'embarrassment'
Test #17:
score: 100
Accepted
time: 1ms
memory: 3788kb
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:
2660 358815078 441702436 357306969 387236074 319588548 22588795 700859096 19605240 318785704 26504236 510798663 733487378 430305377 214887554 210219047 277525644 10468443 667317467 45599732 11984355 310625938 468101175 248221788 660477267 16753234 603039284 477190124 277835009 68655846 448762201 557...
input:
Eva 1352 357306969 387236074 22588795 318785704 26504236 733487378 430305377 214887554 10468443 667317467 45599732 11984355 248221788 16753234 603039284 68655846 448762201 557306188 554379105 18759073 408628000 661759206 405648334 662703560 277462168 158529196 214079701 358223509 401340032 702801343...
output:
facelessnesses
result:
ok single line: 'facelessnesses'
Test #18:
score: 100
Accepted
time: 1ms
memory: 3860kb
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:
4013 591831196 718516037 32504325 535099022 19575145 267787878 714460751 370729264 263178383 768423754 107990211 250927728 95025777 714505708 483303351 650960509 501626122 92190619 538045657 390756734 497124585 27010837 17891156 6692665 679680736 202748037 258333682 95030744 591652418 187778161 6365...
input:
Eva 2024 591831196 32504325 19575145 267787878 714460751 370729264 263178383 250927728 483303351 650960509 538045657 27010837 6692665 679680736 95030744 636585308 240442857 535912586 94611308 769709306 633975419 200262840 728689333 480273453 263642486 637527969 372775676 487458524 251933495 76887474...
output:
oxyphenbutazone
result:
ok single line: 'oxyphenbutazone'
Test #19:
score: 100
Accepted
time: 1ms
memory: 3928kb
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:
3450 763706492 122394813 115171123 244154724 16564183 35315906 155378383 386884791 259295185 221022920 95155839 769439891 1709262 500435895 37922164 456458163 383710682 62583692 709674454 422010627 326495862 204887371 690917128 205179962 34082263 339071434 8963657 588381142 33810119 208684161 700093...
input:
Eva 1754 763706492 122394813 115171123 244154724 16564183 259295185 95155839 1709262 37922164 383710682 422010627 204887371 34082263 8963657 33810119 500345742 542849316 14111751 764197326 27283396 504839851 222344414 727421069 202633310 243205493 87925623 3786675 547590908 116975016 649689530 38965...
output:
uncopyrightable
result:
ok single line: 'uncopyrightable'
Test #20:
score: 100
Accepted
time: 0ms
memory: 3920kb
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:
3361 679002417 614990250 316953010 755838644 315423690 758389557 768870797 263724012 452197876 17284226 524695595 27688098 751009094 215653354 726559025 201790745 204982757 55195623 521887406 327187430 720696693 225040312 482572263 570353693 671528414 312228713 699435986 320779898 155417828 31296145...
input:
Eva 1709 316953010 315423690 768870797 263724012 524695595 27688098 751009094 201790745 55195623 521887406 720696693 225040312 570353693 671528414 312228713 626993770 7755855 402045835 593726018 400439766 229230087 118462583 10133422 552888541 430297772 769786137 675440236 400995387 11238224 7531824...
output:
decommissioning
result:
ok single line: 'decommissioning'
Test #21:
score: 100
Accepted
time: 0ms
memory: 3852kb
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:
3232 626522598 125256287 393936792 623375502 122244894 751814796 662677460 258829873 435309418 514192615 616488013 267474921 73015482 250828447 408192 204085661 398910712 240257259 546216740 457007072 33711611 241612176 440805136 196931571 545821175 541814278 28677599 74426045 452389219 37895186 736...
input:
Eva 1621 626522598 393936792 623375502 122244894 662677460 258829873 514192615 267474921 73015482 250828447 204085661 457007072 33711611 541814278 28677599 74426045 736746947 738081165 76764865 398812381 394584923 148031466 758837834 516321723 438886271 197318480 734855386 23948568 8220885 398617058...
output:
kindheartedness
result:
ok single line: 'kindheartedness'
Test #22:
score: 100
Accepted
time: 1ms
memory: 3860kb
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:
3587 192323109 93400951 312902092 236840727 624831146 32347115 14352941 25735227 194748920 27073407 160966254 381122786 627589871 665389255 168696677 667713849 163330548 381076200 153633660 319481831 168799765 387567438 161563571 252659110 7057526 111544489 301532391 347201102 384296549 26802186 272...
input:
Eva 1771 192323109 93400951 312902092 14352941 25735227 194748920 160966254 381122786 168696677 667713849 381076200 111544489 347201102 384296549 26802186 756311313 127897135 619208986 114815958 110175018 736081118 759069471 754189602 759925330 173013323 268896460 611625131 141466748 739043272 92853...
output:
appropriateness
result:
ok single line: 'appropriateness'