QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#294160 | #4827. Message Made of Noise | ucup-team896# | AC ✓ | 2ms | 3692kb | C++14 | 1.7kb | 2023-12-30 08:50:46 | 2023-12-30 08:50:47 |
Judging History
answer
#include <bits/stdc++.h>
#ifdef dbg
#define D(...) fprintf(stderr, __VA_ARGS__)
#define DD(...) D("[Debug] "#__VA_ARGS__ " = "), \
debug_helper::debug(__VA_ARGS__), D("\n")
#include "C:\Users\wsyear\Desktop\OI\templates\debug.hpp"
#else
#define D(...) ((void)0)
#define DD(...) ((void)0)
#endif
#define rep(i, j, k) for (int i = (j); i <= (k); ++i)
#define per(i, j, k) for (int i = (j); i >= (k); --i)
#define SZ(v) int((v).size())
#define ALL(v) (v).begin(),(v).end()
#define fi first
#define se second
using ll = long long;
using pii = std::pair<int, int>;
using pll = std::pair<ll, ll>;
template<class T> void chkmn(T &x, T y) { if (y < x) x = y; }
template<class T> void chkmx(T &x, T y) { if (y > x) x = y; }
using namespace std;
void A() {
string str;
vector<int> vec;
cin >> str;
int len = SZ(str);
rep (i, 0, len - 1) {
if (i && str[i] == str[i - 1]) vec.emplace_back(0);
vec.emplace_back(str[i] - 'a' + 1);
}
int n;
vector<int> a(n, 0);
cin >> n;
for (int &x : a) cin >> x;
int block = n / SZ(vec);
int l = 0, r = -1;
vector<int> res(0);
for (int x : vec) {
l = r + 1;
r = min(n - 1, l + block - 1);
rep (i, l, r) if (a[i] % 27 == x) res.emplace_back(a[i]);
}
cout << SZ(res) << '\n';
for (int x : res) cout << x << ' ';
cout << '\n';
}
void E() {
int n;
cin >> n;
vector<int> a(n, 0);
for (int &x : a) cin >> x, x %= 27;
for (int l = 0, r; l < n; l = r + 1) {
r = l;
while (r + 1 < n && a[r + 1] == a[r]) r++;
if (a[l] != 0) cout << char('a' + a[l] - 1);
}
cout << '\n';
}
int main() {
cin.tie(nullptr) -> ios::sync_with_stdio(false);
string name;
cin >> name;
if (name == "Alisa") A();
else E();
}
详细
Test #1:
score: 100
Accepted
time: 1ms
memory: 3632kb
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:
397 745375330 460835344 480683665 754096978 216703396 480158812 823447450 766716076 771292360 510402187 592364953 916966000 248760496 935118721 943941889 5225356 396852850 514175302 615313036 1282195 413365915 237268972 548388406 157000645 526229884 702553600 128889136 148913173 702192691 542310112 ...
input:
Eva 203 745375330 766716076 771292360 510402187 916966000 943941889 5225356 396852850 514175302 1282195 157000645 526229884 702553600 148913173 702192691 804109294 101486863 555378760 245994967 861636223 239165263 450981640 987416128 346595806 481521880 369983341 167294773 242001208 842782501 411522...
output:
spark
result:
ok single line: 'spark'
Test #2:
score: 100
Accepted
time: 0ms
memory: 3572kb
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:
394 452823317 144917315 266229449 833855039 251439848 354298076 178500590 448719560 913722902 197449757 926411849 748626704 807465725 512366660 911515517 732656069 371684699 769883912 839240162 642914981 826896707 65554730 187692443 860962337 323162999 921330881 209755790 157637690 399627404 2934775...
input:
Eva 191 452823317 266229449 251439848 354298076 178500590 448719560 926411849 748626704 807465725 512366660 911515517 732656069 371684699 839240162 826896707 921330881 209755790 157637690 325432538 114099866 500139305 981677933 763763390 479434706 885429899 907046531 617773121 511669520 571276151 67...
output:
zoo
result:
ok single line: 'zoo'
Test #3:
score: 100
Accepted
time: 1ms
memory: 3612kb
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:
385 916125796 353511622 330613057 64863235 260569252 797782474 828261910 305542828 360963136 497593207 170586244 922347973 250296535 937136062 723440674 583903756 863894269 39209320 607879999 249241888 445865527 502400098 668048716 474638941 720990478 120283462 295857280 341160904 197886916 29527513...
input:
Eva 198 916125796 353511622 330613057 260569252 797782474 170586244 250296535 723440674 39209320 607879999 502400098 668048716 474638941 120283462 295857280 341160904 197886916 295275133 316646470 711126838 848832697 989058682 340336567 261072127 705311065 226782316 218791531 420215797 737133697 375...
output:
at
result:
ok single line: 'at'
Test #4:
score: 100
Accepted
time: 1ms
memory: 3580kb
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:
396 670071564 141494535 913185639 904555116 453044511 235418274 241634457 455928813 688995729 371704851 346262778 428113359 77524515 74979792 162670176 545378031 467326782 426595257 457804854 942547275 577863702 806520627 631245753 774820575 561949632 562916340 37707237 121337334 312580899 147238839...
input:
Eva 193 670071564 371704851 428113359 77524515 942547275 577863702 631245753 562916340 37707237 121337334 351185391 962332281 192002625 231102837 360152550 782398557 946053522 171561627 879688035 609553629 129047643 829264590 668520873 503695593 517211199 169656075 367398648 301735809 134951328 5846...
output:
if
result:
ok single line: 'if'
Test #5:
score: 100
Accepted
time: 1ms
memory: 3692kb
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:
350 682067714 466608200 206379068 10429916 382135028 461229719 358333286 553522172 564864116 418792307 314950037 706868645 81974840 312407420 921489512 207990860 788565542 27606614 570050303 787658477 194258579 600743984 952783700 16581083 811257287 221368820 276225692 119446034 477384305 422597363 ...
input:
Eva 178 466608200 206379068 10429916 382135028 358333286 564864116 314950037 81974840 312407420 921489512 788565542 811257287 221368820 276225692 119446034 477384305 422597363 126504374 60976481 35794175 790639898 926463587 168470339 974491538 904014491 684599288 497525900 881685950 817708127 325856...
output:
eel
result:
ok single line: 'eel'
Test #6:
score: 100
Accepted
time: 1ms
memory: 3612kb
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:
351 186885255 175393488 891141024 79396446 557587479 751257156 391000962 198972318 714016704 630386877 583841874 505439652 632213427 546498120 327018360 706908657 972237522 332847660 776083710 707380023 87022677 525873603 806192274 630281010 153719859 290005437 801904485 186363156 322976757 95773433...
input:
Eva 174 186885255 751257156 391000962 630386877 583841874 546498120 327018360 706908657 153719859 186363156 369779934 357147957 224014251 438641544 795766926 713954172 825179295 875854650 84389016 175238211 603692436 815857059 572448036 611924385 560977626 974737371 412671 31293786 964057116 1033622...
output:
cat
result:
ok single line: 'cat'
Test #7:
score: 100
Accepted
time: 0ms
memory: 3588kb
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:
344 162312678 556453764 996048432 186429969 28690866 515526300 969140043 986526882 849705246 315365742 453246750 899730387 291506760 759551274 594424998 124376436 27582381 986479038 367126821 241658361 75023001 535776489 175305240 582942438 639231282 100072440 463588695 219493332 10279404 590713902 ...
input:
Eva 167 162312678 996048432 969140043 315365742 453246750 899730387 291506760 759551274 594424998 124376436 27582381 986479038 75023001 535776489 582942438 100072440 463588695 219493332 590713902 21363498 588865860 442913175 156175686 175770828 120886821 872827884 450179901 734357601 953096724 68666...
output:
real
result:
ok single line: 'real'
Test #8:
score: 100
Accepted
time: 1ms
memory: 3576kb
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:
353 951896600 546448292 415230938 801499148 618336656 239491097 372105566 446137055 932928587 308059136 531324296 762312671 252645821 405331010 285764291 438703064 607825934 245250494 780373187 391991093 25303337 226001735 946255463 753023024 9978137 657640826 977699798 252637964 966410369 851568137...
input:
Eva 186 951896600 546448292 372105566 932928587 308059136 762312671 252645821 285764291 780373187 391991093 25303337 753023024 977699798 966410369 851568137 787821515 87641882 744576641 836770571 712440242 95112944 627656651 434844980 674851193 365058593 681970688 88854479 943879355 708540173 662129...
output:
queue
result:
ok single line: 'queue'
Test #9:
score: 100
Accepted
time: 1ms
memory: 3564kb
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:
389 767299611 455626677 799511259 60527280 825175758 862380138 452305380 125107419 37568775 806949786 264819972 711330663 102853398 186262392 463787832 914969739 463201257 846682986 263058870 845491584 920147232 957721296 689515635 873521499 993351144 410267676 59920131 133886361 940354977 401685429...
input:
Eva 192 767299611 862380138 806949786 264819972 186262392 463201257 263058870 845491584 920147232 993351144 410267676 59920131 401685429 748340319 582306897 654403377 732986877 790082076 336767223 669123885 253453458 990718131 129484659 254260191 882003225 374223810 892419312 112067310 459551316 130...
output:
cotton
result:
ok single line: 'cotton'
Test #10:
score: 100
Accepted
time: 1ms
memory: 3588kb
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:
372 734759558 563183063 856067642 856043450 989631593 777897512 236425229 417623849 451179017 213801524 139681961 957278951 346497263 177558344 748198889 847068974 91167659 367657973 831242924 108944756 463541237 456913142 208936313 683622800 361393811 791140391 943138160 194284763 777850370 5248331...
input:
Eva 185 734759558 989631593 777897512 236425229 957278951 346497263 177558344 748198889 847068974 91167659 367657973 208936313 361393811 791140391 943138160 524833100 705313763 319534685 821548790 6660035 676017845 700982909 900543932 375084134 116586269 830273570 507914954 20256560 60117044 2299595...
output:
zealous
result:
ok single line: 'zealous'
Test #11:
score: 100
Accepted
time: 1ms
memory: 3616kb
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:
421 928079398 50019094 957478375 160168105 984496600 722543977 942523345 120159289 822986488 654404968 58901338 863593273 25459705 764022322 408969730 627314491 241831873 447318478 597368791 507606805 464138560 136939843 257391244 817947019 889769098 30783538 211162735 358100920 936384652 978502735 ...
input:
Eva 202 928079398 160168105 722543977 120159289 654404968 863593273 25459705 408969730 627314491 241831873 507606805 136939843 817947019 889769098 30783538 211162735 358100920 381390445 138328858 813534004 262345744 694604080 830590822 351152569 545288887 927206803 969606658 962325298 814689379 6961...
output:
assessee
result:
ok single line: 'assessee'
Test #12:
score: 100
Accepted
time: 0ms
memory: 3620kb
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:
375 341841933 628133220 715355127 488206665 149861970 731555937 88371738 44286408 490508550 739944837 717322887 723322476 332904393 970792677 404548731 159283809 78229755 452427453 418330827 798330366 924323787 923313393 38357262 422519364 536918445 954753705 678655350 96793929 766825173 55973412 25...
input:
Eva 193 341841933 628133220 488206665 739944837 332904393 970792677 404548731 159283809 78229755 452427453 418330827 924323787 422519364 536918445 678655350 96793929 55973412 244533987 500166180 48107205 338361471 691385688 119284929 561939777 269965368 292938237 839735082 391011070 533833969 516855...
output:
impatient
result:
ok single line: 'impatient'
Test #13:
score: 100
Accepted
time: 1ms
memory: 3628kb
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:
366 390710414 4787669 828016589 34950233 610250870 471812015 141678668 792040844 938569196 139248506 726823613 735310631 502191794 692612480 513911441 504468839 824500325 420782852 543838484 630489125 868275830 350020469 880383575 508950191 377490242 155478341 706866239 289970309 470740736 586395560...
input:
Eva 175 4787669 610250870 471812015 141678668 938569196 139248506 726823613 502191794 420782852 630489125 868275830 350020469 155478341 706866239 470740736 555353093 607576412 176986919 475534680 868975440 273110253 374076834 398743899 241666647 110317101 586710906 160859481 933071766 623925384 5745...
output:
bookkeeper
result:
ok single line: 'bookkeeper'
Test #14:
score: 100
Accepted
time: 0ms
memory: 3580kb
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:
360 520463154 461690256 785544591 527853729 111714123 892113105 742026099 852642885 32292435 323395851 873522066 701454090 901746489 848019297 491089989 17487471 364549656 839324811 782586687 302620134 357280392 318278136 621844428 687205731 703959663 166343817 527588886 581197953 147454698 38225315...
input:
Eva 180 461690256 785544591 111714123 892113105 901746489 848019297 17487471 364549656 839324811 782586687 687205731 581197953 147454698 119365788 704164848 359298627 178366821 929428521 164169735 443557662 836193687 388692987 419236872 627952407 763733949 75470793 881303883 140282835 156692166 8376...
output:
copyrighted
result:
ok single line: 'copyrighted'
Test #15:
score: 100
Accepted
time: 1ms
memory: 3628kb
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:
392 354247660 913790287 363543193 386484310 625320451 621773110 473417101 662703598 364659211 530324569 116779825 82610353 773863570 474500314 910279639 16833520 566194177 718912117 99625078 595838044 179646328 653560561 988660180 526177720 670633579 434293399 325514017 308764135 762419377 839377205...
input:
Eva 192 363543193 625320451 621773110 364659211 116779825 16833520 718912117 595838044 179646328 653560561 526177720 670633579 325514017 497375441 670701104 627702740 925942067 750430565 725937974 338857739 342067175 247830992 497320982 560791151 169117001 293486480 786338108 558200474 909896129 278...
output:
squeezeboxes
result:
ok single line: 'squeezeboxes'
Test #16:
score: 100
Accepted
time: 0ms
memory: 3612kb
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:
387 728151611 576455081 458428199 953763800 916288016 698108279 995340371 702503717 416070248 324983372 808021796 254205356 819835268 596445341 367155968 800716055 827044079 301249535 690857186 369103991 551677802 932207513 816447416 516308288 930878681 140125604 517837171 699865663 467094046 926809...
input:
Eva 202 728151611 576455081 458428199 698108279 702503717 416070248 596445341 367155968 800716055 690857186 551677802 932207513 516308288 930878681 140125604 699865663 467094046 926809600 714122905 39940006 591062845 135183478 356603539 612752188 131921516 787801925 825029120 493727294 748888283 656...
output:
embarrassment
result:
ok single line: 'embarrassment'
Test #17:
score: 100
Accepted
time: 1ms
memory: 3616kb
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:
404 299859603 149469711 348813627 661759206 753980676 295641420 500097624 580820604 24820512 893584311 504109851 659893641 484536795 183645717 919840326 582738954 939555591 196507923 99212910 335389443 343394646 455217198 101812578 976453845 111723657 877972884 225352077 312138766 809746930 11477143...
input:
Eva 215 299859603 149469711 661759206 753980676 295641420 500097624 580820604 24820512 893584311 504109851 919840326 939555591 196507923 99212910 111723657 225352077 88514803 100474993 649025569 43710517 573673645 238263256 828405064 488324890 344189899 464492665 30296701 64637758 599177251 27390673...
output:
facelessnesses
result:
ok single line: 'facelessnesses'
Test #18:
score: 100
Accepted
time: 1ms
memory: 3624kb
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:
387 267787878 411401580 298980033 868450776 250927728 748000104 202748037 756030795 426873066 501056592 496510818 558748491 696579954 554403138 276661698 204030618 306212766 679652061 211318863 323961486 410727768 319149114 147275187 722218560 558639096 229831719 910395069 875278896 790768923 781489...
input:
Eva 164 267787878 298980033 756030795 501056592 496510818 558748491 696579954 319149114 722218560 229831719 910395069 781489401 697518834 759866829 13756011 949453674 142033470 692516463 229588909 686300497 599068195 36781963 887838055 710107963 365591365 461841748 574169740 212181388 336427369 1917...
output:
oxyphenbutazone
result:
ok single line: 'oxyphenbutazone'
Test #19:
score: 100
Accepted
time: 1ms
memory: 3588kb
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:
383 42629106 888924720 500435895 859955637 891488613 500345742 13175643 539892075 104071116 200060382 385130289 25316166 881263011 53836293 181586415 59752722 319712934 94470672 373145853 366703059 405517503 596964486 827330565 26682123 621385446 896796867 67049958 57105561 975178245 52168071 350931...
input:
Eva 193 42629106 888924720 859955637 891488613 13175643 104071116 200060382 385130289 25316166 881263011 181586415 59752722 405517503 621385446 57105561 104379179 528240380 663082376 905098361 268491362 739200101 936911219 800526092 792767399 752816228 772870478 545220977 328634321 809893769 3499633...
output:
uncopyrightable
result:
ok single line: 'uncopyrightable'
Test #20:
score: 100
Accepted
time: 0ms
memory: 3684kb
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:
380 549408397 440402836 284492659 873962734 708410992 97150243 425368318 612003766 136807870 981464071 459545188 391563373 745527379 526959247 950582659 727809196 371663806 967692910 130161091 853094920 993132202 985972154 145165478 28880933 505912964 139378865 626562572 755235122 809799071 22560317...
input:
Eva 179 708410992 612003766 981464071 459545188 391563373 526959247 727809196 985972154 145165478 139378865 809799071 225603176 22866170 47045669 454320851 533035571 758402222 853586049 298438131 89640381 26036805 498616320 855256782 117121197 592364667 232919769 860538954 373651221 800973552 452101...
output:
decommissioning
result:
ok single line: 'decommissioning'
Test #21:
score: 100
Accepted
time: 1ms
memory: 3692kb
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:
377 502645052 772534109 402780935 37895186 276463973 394584923 903860273 152864696 908247422 862259132 822951938 984694061 265778750 594241013 561036575 734696552 373643129 448367276 33772772 622506827 808487201 960335795 504799787 700762439 757738703 743501549 536587452 501751458 176489613 22970142...
input:
Eva 186 772534109 37895186 276463973 394584923 903860273 152864696 908247422 822951938 734696552 33772772 622506827 808487201 960335795 700762439 757738703 743501549 536587452 501751458 229701429 489707136 161356842 529446708 5744205 870747066 358359858 685975320 533239155 932435127 284063715 494541...
output:
kindheartedness
result:
ok single line: 'kindheartedness'
Test #22:
score: 100
Accepted
time: 2ms
memory: 3652kb
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:
357 790036795 408923479 739043272 858797695 790641514 900860941 393759199 627575716 780022198 818081371 102838735 762510403 930212695 680812696 678916000 743424913 485228881 802442485 378172720 434988496 451427122 275680909 141976855 424006732 380875462 432782017 410864497 318214321 356133769 430672...
input:
Eva 181 790036795 408923479 739043272 858797695 678916000 141976855 424006732 380875462 432782017 410864497 318214321 356133769 945448756 411044992 776999698 242503 541973824 24807238 545310322 795808368 665626788 966494268 377508249 113641137 249709689 280270935 277653663 207017035 380136256 556341...
output:
appropriateness
result:
ok single line: 'appropriateness'