QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#674584 | #4090. 원숭이 | Matutino | 150 ✓ | 482ms | 94768kb | C++17 | 1.0kb | 2024-10-25 16:41:26 | 2024-10-25 16:41:27 |
Judging History
answer
#include"monkey.h"
#include<bits/stdc++.h>
#define reg register
#define int long long
inline bool cmax(reg int &x,reg int y){return x<y?x=y,1:0;}
const int N=5e5+10;
int n,m;
std::vector<int> pl[N],pr[N];
std::map<std::pair<int,int>,int> f;
#undef int
long long max_bananas(std::vector<int> A,std::vector<int> B,std::vector<std::pair<int,int>> P){
#define int long long
n=A.size(),m=B.size();
for (auto [x,y]:P) pl[x].push_back(y),pr[y].push_back(x);
for (reg int i=1;i<=n;i++) std::sort(pl[i].begin(),pl[i].end());
for (reg int i=1;i<=m;i++) std::sort(pr[i].begin(),pr[i].end());
for (reg int i=1;i<=n;i++){
reg int lst=0;
for (auto it:pl[i]){
cmax(f[{i,it}],(lst?f[{i,lst}]:A[i-1])+B[it-1]);
reg int pos=std::upper_bound(pr[it].begin(),pr[it].end(),i)-pr[it].begin();
if (pos<pr[it].size()) pos=pr[it][pos],cmax(f[{pos,it}],f[{i,it}]+A[pos-1]);
lst=it;
}
}
reg int ans=0;
for (auto [x,y]:f) cmax(ans,y); return ans;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 11
Accepted
Test #1:
score: 11
Accepted
time: 6ms
memory: 27512kb
input:
3 4 2 3 1 3 2 4 3 2 1 1 2 1 1 3
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 9
result:
ok 2 lines
Test #2:
score: 11
Accepted
time: 2ms
memory: 27232kb
input:
1 1 1000000000 0 1 1
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1000000000
result:
ok 2 lines
Test #3:
score: 11
Accepted
time: 69ms
memory: 34608kb
input:
500000 1 125289968 712934702 753583806 201695466 626248958 263495385 838181461 53749797 782678270 362750065 272158147 474820952 514888136 423023025 708848859 193106117 910529954 254655484 865410533 910304907 697650308 685550814 414243535 728874977 553922176 663972062 504555539 957224333 370414047 27...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 478205060
result:
ok 2 lines
Test #4:
score: 11
Accepted
time: 74ms
memory: 34552kb
input:
499923 3 399929742 47511247 493651062 620978369 976221430 316621172 694886023 455258075 270418361 670871422 123088532 406929313 405218006 289206790 991013461 336878111 652208550 400260717 784851957 748350381 140353520 489483918 278831634 421123900 517751378 260589799 194494710 105890821 402770842 91...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1604508402
result:
ok 2 lines
Test #5:
score: 11
Accepted
time: 67ms
memory: 34764kb
input:
499912 13 851329976 170626690 889065766 807820852 380742162 827102882 145255866 289139732 115334236 406313102 191256862 518239861 71856355 565051819 940462100 564410753 35012194 953636547 465628491 620984862 325925262 175934112 246536263 942967771 548506696 344912631 665490068 964709584 239310287 16...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1737620162
result:
ok 2 lines
Test #6:
score: 11
Accepted
time: 72ms
memory: 34592kb
input:
499991 14 693682572 169696718 906583040 201760412 908244753 37963884 778640856 842410226 64236990 207857426 600642189 521108505 848803047 477409103 229028046 746965933 237633248 231471871 888534740 745040308 879058625 372867956 826313959 994124941 919752116 643221500 678677898 75857292 255488684 492...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 3111436127
result:
ok 2 lines
Test #7:
score: 11
Accepted
time: 70ms
memory: 34656kb
input:
499936 15 125969750 800170528 924100314 227103754 99310854 880228668 706993137 690648010 308107037 640805531 378623736 818944441 962186226 431235584 517593993 3150039 776690791 99241779 385069916 164063045 768628475 274834508 111124363 340249402 922401315 236497660 355429239 187005000 271667081 9841...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 2708474409
result:
ok 2 lines
Test #8:
score: 11
Accepted
time: 65ms
memory: 34548kb
input:
499982 16 263289637 504273265 646650295 916010607 626813445 722493452 635345418 170289575 551977083 147382562 451572575 116780377 739132916 343592868 879788869 890737927 905682917 967011689 176572383 583085782 321761837 808204842 690902059 686373864 588614025 534806530 958551652 929556490 582812771 ...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 2550132560
result:
ok 2 lines
Test #9:
score: 11
Accepted
time: 66ms
memory: 34624kb
input:
499962 1 806882458 559800059 832469053 72904901 226268813 322390953 999626050 25026173 656910538 497783474 418447853 421900914 489665069 163264468 432542806 278014325 11765469 508116702 987192074 695278396 643326021 292553127 930672347 908351939 343331870 305872654 981775153 636770961 753348806 9854...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1236615731
result:
ok 2 lines
Test #10:
score: 11
Accepted
time: 71ms
memory: 34552kb
input:
499953 3 712926013 189343896 236099819 155751315 944837505 6920520 856330612 721501743 849683339 805904830 900782019 722605495 379994939 29448233 378270919 716753612 48411357 948689227 611666207 606952798 749592746 801518940 795260446 600600862 307161072 607523100 303118104 490470158 80672891 744672...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1783762248
result:
ok 2 lines
Test #11:
score: 11
Accepted
time: 72ms
memory: 34628kb
input:
499932 13 373043181 548471476 854298543 486632884 230068463 21980 440969738 508140552 744307317 289983103 840964362 658173174 847684232 943069136 72606272 513098716 284060695 804328704 592882735 418626227 550860243 207520700 206854883 631876278 979576554 26985613 968122924 905168771 356528946 414771...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1463068724
result:
ok 2 lines
Test #12:
score: 11
Accepted
time: 73ms
memory: 34568kb
input:
499945 14 510363068 178945284 576848525 511976226 126167272 210882983 74354727 356378337 693210072 796560136 250349689 661041818 961067411 560459128 361172219 769282823 823118238 82164028 15788983 837648965 103993605 404454545 155228798 683033448 350821972 325294483 349906973 352752967 372707343 274...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1851167235
result:
ok 2 lines
Test #13:
score: 11
Accepted
time: 68ms
memory: 34648kb
input:
499923 15 647682955 514451802 889333090 905915787 653669863 53147767 2707008 909648830 937080118 598104459 28331235 958877754 738014102 809252901 18334385 951838003 952110364 949933937 512324160 625267922 288530747 306421097 440039202 29157909 17034683 623603352 658062095 758867968 388885740 7659283...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1743881234
result:
ok 2 lines
Test #14:
score: 11
Accepted
time: 72ms
memory: 34704kb
input:
499901 16 416406623 513521831 611883072 931259129 181172453 264008770 931059290 389290394 475917455 31052563 101280074 551680981 556429989 58046673 601867624 502989401 859764127 817703846 303826628 749323367 841664110 839791430 19816897 80315079 314651174 921912221 966217217 501419456 405064138 6258...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1943255452
result:
ok 2 lines
Test #15:
score: 11
Accepted
time: 66ms
memory: 34768kb
input:
499959 1 959999444 864015916 797701830 751716935 149224041 200342761 295339921 538994285 285883619 455082403 363122644 856801519 601929434 541281785 228250490 226702288 260813970 358808859 819479027 861515981 163228293 324139715 259587186 892227738 69369019 398011053 284408008 208633927 239163683 88...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1172846433
result:
ok 2 lines
Test #16:
score: 11
Accepted
time: 66ms
memory: 34760kb
input:
499950 3 234639217 198592462 496299888 170999837 499196514 548435840 152044483 940502563 773623711 394607539 550489518 157506098 860855524 407465550 805382384 665441574 2492567 799381384 738920451 699561455 974527727 464509309 124175285 584476661 401794441 289596083 974347180 62333124 197891550 5264...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 790669771
result:
ok 2 lines
Test #17:
score: 11
Accepted
time: 69ms
memory: 34604kb
input:
499997 13 514875829 922324014 725507979 791685448 993996740 825030081 780842335 382372821 247936945 436272809 83011615 632950106 587925675 625293886 452481772 982930452 832489206 557514026 82888932 27865452 862895265 18916803 681299137 421285973 621477146 840641716 57734967 288103528 182308146 28050...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1656076825
result:
ok 2 lines
Test #18:
score: 11
Accepted
time: 74ms
memory: 34624kb
input:
499942 14 283599497 552797823 111621471 185625009 521499330 372327572 709194616 567047094 196839699 869220914 566025871 930786043 69905074 579120367 741047719 165485630 371546748 835349351 579424109 446888189 416028627 920883357 629673052 767410435 287689856 138950584 29453600 30655016 198486543 771...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1897914418
result:
ok 2 lines
Test #19:
score: 11
Accepted
time: 63ms
memory: 34708kb
input:
499920 15 420919384 961933269 834171454 210968350 712565432 214592356 637546897 415284879 440709745 670765237 270378489 228621978 478255545 491477651 29613665 421669738 574167802 71715478 370926577 865910927 600565769 454253689 914483456 818567605 658935276 732226745 337608722 436770017 214664940 26...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1500936589
result:
ok 2 lines
Test #20:
score: 11
Accepted
time: 72ms
memory: 34648kb
input:
499933 16 558239271 592407077 146656018 604907912 240068021 720420651 270931886 968555372 979547083 177342269 48360036 231490622 960234944 445304132 318179613 604224917 113225344 644518095 498865534 358562591 448666423 356220241 494261152 869724775 956551767 30535613 719392772 179321505 525810629 12...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1833076201
result:
ok 2 lines
Test #21:
score: 11
Accepted
time: 66ms
memory: 34700kb
input:
499913 1 101832091 311497382 332474776 56769498 839523390 656754642 561583590 118259262 789513247 232775888 310202606 536611160 710767097 928539244 944562479 696534024 809242481 185623109 309485223 102158985 475263315 840568528 439064148 681637432 711269612 875230667 374020053 591568685 64942883 377...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 758088854
result:
ok 2 lines
Test #22:
score: 11
Accepted
time: 62ms
memory: 34652kb
input:
499937 3 376471866 277477709 72542032 844648621 558092082 709880429 123320860 519767540 982286047 835864537 866165700 132283031 601096967 426126789 890290592 430240602 255953785 921162926 228926648 308800679 286562748 275905412 303652247 78919063 748727742 471848404 653893807 740235174 392266970 235...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1298550772
result:
ok 2 lines
Test #23:
score: 11
Accepted
time: 65ms
memory: 34588kb
input:
499986 13 524124395 887556791 404320011 641011749 166915838 120743952 294810446 642749682 836639655 85980308 222944928 113810690 965942992 757438059 401169735 231978952 683181363 463429906 544093809 252800433 894481854 347831643 370207644 220952049 8582836 511870791 998194155 405322187 669100084 714...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1758342436
result:
ok 2 lines
Test #24:
score: 11
Accepted
time: 69ms
memory: 34700kb
input:
499964 14 661444283 591659528 421837285 34951309 989385721 668041445 928195436 490987467 80509700 518928413 926474 43050407 79326170 6231831 689735682 119566840 222238905 331199814 967000058 671823170 79018995 249798195 318581560 567076511 674795548 810179660 306349276 516469895 980245773 869790574 ...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1774663350
result:
ok 2 lines
Test #25:
score: 11
Accepted
time: 61ms
memory: 34748kb
input:
499977 15 798764170 927166046 439354558 428890871 885484531 878902448 856547717 339225251 324379746 25505445 410311802 45919051 561305569 623621824 346897848 302122019 424859959 904002431 463535234 90845907 632152358 783168529 603391964 618233681 46040966 403455821 909471690 259021384 996424170 3610...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1924534592
result:
ok 2 lines
Test #26:
score: 11
Accepted
time: 66ms
memory: 34604kb
input:
499955 16 862455129 557639854 530500760 454234212 412987121 721167231 784899998 892495745 568249792 827049769 483260641 343754987 674688749 872415597 635463795 853273418 963917502 771772339 960070411 583497572 480253012 685135081 183169659 964358143 343657457 406797398 291255739 665136384 12602567 5...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1840031305
result:
ok 2 lines
Test #27:
score: 11
Accepted
time: 70ms
memory: 34592kb
input:
500000 1 75609589 814306345 466559958 558491203 394826230 345556441 767287804 318753644 734407378 714792263 62796029 657852625 789522563 685188211 343305535 13590471 318076544 500421142 566084722 757763331 566834795 622943793 986801370 838040273 811142058 260528471 614484716 469238085 618199492 6673...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1445665115
result:
ok 2 lines
Test #28:
score: 11
Accepted
time: 65ms
memory: 34656kb
input:
500000 3 645216655 485319379 870190725 682806814 744798703 398682228 623992366 425294630 517114761 22913618 913726415 589960986 384885141 182775756 920437430 747297050 59755141 940993667 485526146 300841513 673101519 721844190 219985688 235321904 480003968 152113500 230794959 27969990 650556286 6499...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1125444946
result:
ok 2 lines
Test #29:
score: 11
Accepted
time: 65ms
memory: 34532kb
input:
500000 13 656135429 984067009 110880852 892680117 931449076 647983423 806183784 36709179 480516906 610192165 636461148 595730731 425176755 761787692 709046945 518077967 240299789 481587714 255647374 528664656 597462986 512215068 676880047 821580509 173396029 995726260 860027128 588796034 100905340 1...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1809728336
result:
ok 2 lines
Test #30:
score: 11
Accepted
time: 66ms
memory: 34656kb
input:
500000 14 793455316 319573525 496994346 286619678 753918957 785215499 29503356 884946964 724386952 411736488 709409986 893566667 907156155 305548756 366209111 774262075 147953551 54390331 678553622 947687394 487032837 45585400 961690452 536301190 839608740 589002420 831745761 699943743 412051029 602...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1900905518
result:
ok 2 lines
Test #31:
score: 11
Accepted
time: 66ms
memory: 34828kb
input:
500000 15 225742494 318643554 219544327 311963019 650017767 701109210 662888346 438217457 263224289 213280812 823828022 191402603 389135553 627971457 654775058 661849962 981978386 922160240 470056090 440339058 40166199 947551954 541468147 587458360 505821451 887311289 139900882 737462523 428229426 7...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1728001646
result:
ok 2 lines
Test #32:
score: 11
Accepted
time: 69ms
memory: 34652kb
input:
500000 16 363062382 949117364 237061601 869872 177520357 543373993 591240627 991487950 212127043 719857845 896776861 120642319 502518732 171732521 648373713 213001361 184599439 199995564 966591267 859361796 593299561 849518506 826278551 638615530 172034161 185620157 153088712 848610231 444407824 248...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1736399144
result:
ok 2 lines
Test #33:
score: 11
Accepted
time: 5ms
memory: 27496kb
input:
56 13 419274271 315120017 555256990 994083666 897338662 558658084 749367133 335186017 114461686 957620985 740949747 156453902 419398152 213598349 749726946 268334790 327838000 933580780 669077132 733982526 684323716 657368504 234494003 697379376 657299370 883005199 71622952 983830334 608311857 90212...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 4158603973
result:
ok 2 lines
Test #34:
score: 11
Accepted
time: 0ms
memory: 27216kb
input:
57 14 414974063 462385402 33686533 117819050 250099256 473169527 52301708 388109651 312435842 913698243 491754584 92247002 856978585 536831481 486381694 864201636 82128236 890590690 829355410 147998734 322359549 135734864 991646788 645522798 855089195 752576407 855506915 113197005 664115773 83750820...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 6381783605
result:
ok 2 lines
Test #35:
score: 11
Accepted
time: 0ms
memory: 27208kb
input:
57 15 410673856 683279715 512116077 167925506 939296341 724117460 765301702 146065992 920475416 164742792 873963202 364476591 630995506 860064613 518003735 796504970 836418473 511164111 399699103 267047652 550329965 950537714 748799573 593666220 979250092 580678417 302954389 316192605 424952397 1414...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 7732606075
result:
ok 2 lines
Test #36:
score: 11
Accepted
time: 0ms
memory: 27236kb
input:
58 16 37777428 125512392 990545622 291660890 292056936 343661611 141865205 493956918 897111209 120820050 256171819 300269691 68575938 183297743 549625775 392371815 590708708 468174022 928573601 49660080 483333090 60307854 210985065 246842350 177039915 450249624 455434572 109122788 112160093 78191064...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 5970502655
result:
ok 2 lines
Test #37:
score: 11
Accepted
time: 0ms
memory: 27492kb
input:
54 13 596531452 747407196 554327019 11600939 291278222 381127966 886599208 263538298 962699471 201491031 247526779 229402741 422266796 695577748 72149646 556900737 215425888 472638322 536847041 525484994 103346452 505469158 136460555 277157072 708456540 254250617 74964529 291985455 424492273 9182998...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 2948244405
result:
ok 2 lines
Test #38:
score: 11
Accepted
time: 0ms
memory: 27196kb
input:
54 14 297263952 599705290 32756562 135336323 644038818 672117 599599201 316461932 570739044 452535580 293298908 501632330 859847229 723843588 103771686 152767582 969716124 429648233 107190734 644533911 741382286 320272007 188580632 930333202 201213656 418789117 153815784 494981055 111699970 85368659...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 4399600213
result:
ok 2 lines
Test #39:
score: 11
Accepted
time: 3ms
memory: 27212kb
input:
55 15 587931037 115566894 511186106 554038999 333235902 915183561 976162705 369385565 473745908 408612838 380540234 437425430 928831442 678480500 135393727 85070916 387569871 345188946 636065231 58550120 674385411 503671076 650766125 878476624 399003481 288360324 601263258 919315019 167503886 157669...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 3575981785
result:
ok 2 lines
Test #40:
score: 11
Accepted
time: 0ms
memory: 27440kb
input:
55 16 215034609 967864988 399681066 14210872 685996497 871164202 689162698 422309199 745348993 364690096 57716143 709655019 71444583 1713630 93386839 680937762 846892816 302198856 501376217 177599037 270952047 613441217 744355399 826620046 523164377 116462335 48710732 122310617 223307802 93056328 68...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 5443081200
result:
ok 2 lines
Test #41:
score: 11
Accepted
time: 3ms
memory: 27308kb
input:
53 13 478821341 884727084 889833536 734150922 685217784 277226776 433896700 191890579 810937256 445361077 49071102 7384288 720102732 808960928 615910711 845466684 103013775 306663157 109649657 948391242 890965410 58602519 38427107 561967476 759613710 920463329 373273398 968736797 462011054 934478241...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 4054450654
result:
ok 2 lines
Test #42:
score: 11
Accepted
time: 0ms
memory: 27236kb
input:
53 14 474521134 31992468 368263079 857886306 669382159 528174708 810460204 244814213 418976828 696405627 431279720 279613877 789086945 132194058 352565459 441333529 225900231 632269287 974960643 67440159 529001243 873405369 795579893 215143606 957403535 85001827 452124653 98103468 517814970 86986499...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 3011150175
result:
ok 2 lines
Test #43:
score: 11
Accepted
time: 0ms
memory: 27164kb
input:
53 15 470220926 884290562 551725332 276588981 727175463 147718859 818427489 297737846 27016401 652482884 477051849 215406976 226667378 455427190 384187500 742233083 980190467 884246489 208867848 555085296 462004367 983175510 184136457 458254319 745127943 954573035 899572128 301099068 573618886 17384...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 6804748988
result:
ok 2 lines
Test #44:
score: 11
Accepted
time: 6ms
memory: 27304kb
input:
54 16 97324498 400152167 30154875 400324365 711339839 767263012 531427481 719257700 298619486 903527434 564293175 782603857 369280519 778660322 415809540 969503710 734480703 209852618 369146125 969101506 395007492 166574578 941289243 111430449 574321547 119111534 347019601 430465739 965859291 109234...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 5382796791
result:
ok 2 lines
Test #45:
score: 11
Accepted
time: 5ms
memory: 27212kb
input:
52 13 656078522 317014262 520307345 120264414 710561125 804729367 644757703 825275569 364207748 689231123 555648135 80333126 722971376 585907618 938333412 502628850 654165175 214316919 977419566 444926418 309988146 948172371 235360952 141745171 105738171 218079819 966549559 981924627 573158762 95065...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 4678941830
result:
ok 2 lines
Test #46:
score: 11
Accepted
time: 5ms
memory: 27216kb
input:
52 14 651778315 169312355 72365816 170370870 768354429 719240810 652724987 173166494 267214613 645308381 232824044 352562715 86922881 614173458 969955452 434932184 408455410 466294121 547763259 858942628 948023980 131571439 328950225 794921302 303527996 87651026 45400813 774854810 628962678 88604339...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 4675376789
result:
ok 2 lines
Test #47:
score: 11
Accepted
time: 4ms
memory: 27508kb
input:
53 15 647478107 316577741 550795360 294106255 752518805 675221450 365724980 226090127 875254186 896352931 983628882 624792304 524503314 568810369 632981273 30799029 162745646 791900251 76637756 977991545 881027105 536308872 86103010 743064723 796285113 620785746 492848288 609254189 21203082 82143014...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 4428051216
result:
ok 2 lines
Test #48:
score: 11
Accepted
time: 0ms
memory: 27212kb
input:
53 16 569548971 537472054 29224904 417841639 105279399 589732893 742288484 647609981 851889979 147397480 365837499 560585404 962083747 892043501 959570605 963102365 285632102 43877452 941948742 465636681 814030230 351111721 843255795 59804364 920446009 490356953 645328471 107217080 77006999 12541312...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 3269701108
result:
ok 2 lines
Test #49:
score: 11
Accepted
time: 3ms
memory: 27164kb
input:
52 13 833335703 790770638 224410081 842814397 104500686 627199248 781989778 48595141 212445533 933101169 652159751 194751162 652211093 67887016 482094476 791194797 836720354 48341753 550222182 572865375 434043592 501305733 768731285 795151795 156895341 589325238 264858427 585047040 610677542 8932061...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 5236796236
result:
ok 2 lines
Test #50:
score: 11
Accepted
time: 5ms
memory: 27236kb
input:
52 14 829035496 306632243 702839626 261517072 793697771 246743400 863585991 806551484 820485106 184145718 34368368 130544262 89791525 22523928 513716516 723498131 959606810 668915175 415533167 355477803 72079425 316108582 230916778 448327925 649652458 753863738 343709682 788042639 76546875 197189082...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 4171774801
result:
ok 2 lines
Test #51:
score: 11
Accepted
time: 3ms
memory: 27508kb
input:
52 15 529767996 453897628 181269169 16656236 146458365 866287552 871553275 154442408 723491971 140222976 785173205 697741143 527371958 345757059 250371265 319364977 713897045 625925085 944407665 769494013 300049841 794474943 988069563 691438639 847442283 918402237 791157157 212376602 132350791 13257...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 4134913162
result:
ok 2 lines
Test #52:
score: 11
Accepted
time: 0ms
memory: 27212kb
input:
52 16 451838860 306195721 659698713 140391620 499218961 117235483 584553268 280994970 331531544 96300234 167381822 633534243 596356172 668990191 281993306 620264531 468187281 246498506 514751358 888542930 233052966 609277792 745222348 344614768 971603179 156569663 238604631 415372202 188154707 43655...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 2348425552
result:
ok 2 lines
Subtask #2:
score: 42
Accepted
Dependency #1:
100%
Accepted
Test #53:
score: 42
Accepted
time: 66ms
memory: 34808kb
input:
499951 4996 63996851 715923567 329549308 346616941 324027301 518930627 421510032 821991541 790980387 150325766 758193140 764484711 757455772 948651254 356209783 504166621 434012155 70988315 602264316 703132670 493784897 948441110 25635917 712068190 500392872 833415909 925043959 310233003 622560440 8...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 85278072986
result:
ok 2 lines
Test #54:
score: 42
Accepted
time: 65ms
memory: 34792kb
input:
499997 4997 496284030 714993596 52099290 371960282 851529892 66228119 349862313 375262034 329817724 951870091 536174687 62320646 944467879 566041246 13371949 760350729 931600501 643790932 393766784 122155407 46918259 850407662 679042541 58192651 166605582 131724777 938231789 421380711 638738837 3600...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 85416289440
result:
ok 2 lines
Test #55:
score: 42
Accepted
time: 74ms
memory: 34892kb
input:
499942 4998 633603918 345467405 69616564 765899844 673999774 572056414 278214594 928532527 278720478 753414414 609123526 360156582 352818349 814835019 301937896 647938616 470658044 511560841 816673033 246210852 600051622 383777994 258820237 404317113 832818294 725000938 909950422 458899491 949884527...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 97203251500
result:
ok 2 lines
Test #56:
score: 42
Accepted
time: 68ms
memory: 34868kb
input:
499920 4999 770923805 680973922 792166546 86210476 570098584 119353905 575163095 776770312 522590524 554958738 723541561 363025227 834797748 432225011 590503843 199090015 304682878 379330749 18240917 33829809 784588764 580711839 543630641 160506991 835467493 728342515 218105543 570047200 966062924 7...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 89140300870
result:
ok 2 lines
Test #57:
score: 42
Accepted
time: 75ms
memory: 35016kb
input:
499943 5000 389230510 696490459 551758670 593573018 283808369 472061048 384507217 58070198 895844959 47150479 598356909 600310591 264514029 719583031 782907241 597937614 590363436 989725839 535593317 102653189 958545446 89302216 42970722 544775943 459433105 967940529 700695971 69165742 69251991 6556...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 83756297335
result:
ok 2 lines
Test #58:
score: 42
Accepted
time: 70ms
memory: 34912kb
input:
499961 4996 12816045 636600845 56962962 538008090 854701567 622299130 686773824 343249089 795873969 647550002 611923606 772024658 404878855 738622832 69454919 456561502 704969791 883950203 314649239 408378927 768548154 891439327 893804058 46944970 44254857 496351353 424053269 243801005 620090451 388...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 22145237068
result:
ok 2 lines
Test #59:
score: 42
Accepted
time: 76ms
memory: 34828kb
input:
499906 4997 150135933 972107363 779512945 931947652 382204157 538192841 910093397 191486874 334711306 154127033 389905152 774893302 518262034 282383896 358020866 639116681 612623553 751720111 737555488 827401664 26714223 793405879 178614461 803134849 710467568 794660223 437241099 354948713 636268849...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 22600678496
result:
ok 2 lines
Test #60:
score: 42
Accepted
time: 77ms
memory: 35100kb
input:
499985 4998 582423112 971177391 165626437 325887212 204674039 675424916 543478386 39724658 578581352 955671358 462853991 72729238 295208724 236210377 941554105 190268080 446648387 324522727 529057956 615020621 579847586 695372432 126988376 149259310 8084059 387936383 113992440 392467493 652447246 66...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 20497375313
result:
ok 2 lines
Test #61:
score: 42
Accepted
time: 73ms
memory: 34896kb
input:
499930 4999 719742999 601651200 888176420 351230554 100772849 591318628 471830667 298027859 527484107 462248389 872239319 370565174 408591904 148567661 230120051 77855967 354302149 192292635 25593131 739076067 132980948 597338984 411798780 863979992 379329478 686245252 422147562 503615202 963592935 ...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 21382637856
result:
ok 2 lines
Test #62:
score: 42
Accepted
time: 87ms
memory: 35100kb
input:
499986 5000 338049705 248571517 279172324 153560386 445886416 944025771 649771009 874295039 827109613 249407422 452087374 312883246 838308185 140958389 422523449 550332494 861321072 97655016 542945532 512932154 938341410 32300434 616171570 289718140 3295090 630875974 199705281 2733744 771814712 1757...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 21445477612
result:
ok 2 lines
Test #63:
score: 42
Accepted
time: 74ms
memory: 35292kb
input:
499919 4996 788565716 53280780 23998356 889912469 770481576 74123159 634864767 466090246 69390942 46922388 522546376 896015130 353090757 820260637 719944728 386782257 153646059 119381265 96131070 48842535 945653012 632796656 116803639 753640701 320412564 867484976 628315622 243161283 165878266 68990...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 5245667733
result:
ok 2 lines
Test #64:
score: 42
Accepted
time: 82ms
memory: 35160kb
input:
499998 4997 630918312 683754590 746548338 283852029 592951458 916387944 268249756 19360739 313260988 553499421 595495215 193851065 130037448 437650629 713543383 937933656 987670894 987151174 592666247 467865272 498786374 534763208 696581335 99765162 986625275 165793844 936470744 649276283 182056664 ...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 5453222826
result:
ok 2 lines
Test #65:
score: 42
Accepted
time: 72ms
memory: 35296kb
input:
499943 4998 63205490 19261106 132661831 309195371 825486756 463685435 491569329 867598524 262163742 355043744 373476761 196719709 243420627 981411694 2109329 825521543 895324656 854921082 384168715 960516938 51919736 436729760 981391740 150922332 284241765 759070005 613222085 96860480 198235061 3360...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 5513975164
result:
ok 2 lines
Test #66:
score: 42
Accepted
time: 71ms
memory: 35064kb
input:
499989 4999 200525378 18331135 855211814 998102224 16552857 969513730 419921610 420869017 506033789 861620777 77829380 125959426 20367317 935238175 659271496 81705650 729349491 427723698 512107671 379539674 236456878 633663605 561169435 497046794 655487185 57378873 921377207 502975480 214413458 8273...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 5919433901
result:
ok 2 lines
Test #67:
score: 42
Accepted
time: 71ms
memory: 35076kb
input:
499944 5000 818832084 665251453 246207717 505464765 435295352 27253580 934298440 997136196 510692003 17376029 657677436 363244790 155116306 886159705 778045966 480553249 941401121 333086079 29460071 153395762 705380852 773657763 470574933 291381162 279452796 2009595 698934926 2094023 317602527 84538...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 4964436970
result:
ok 2 lines
Test #68:
score: 42
Accepted
time: 70ms
memory: 35160kb
input:
500000 4996 127684826 583710990 559465909 668233226 207114629 867167184 231749345 129722430 130944380 778131427 308410808 424583263 276912477 283225649 147680617 970638810 64380364 216264034 212730075 516841267 858464155 503330481 516394010 631220649 476867564 692886937 277272919 520092846 90818454 ...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 2659524600
result:
ok 2 lines
Test #69:
score: 42
Accepted
time: 66ms
memory: 35048kb
input:
500000 4997 265004714 214184798 576983183 357140079 103213439 414464675 865134335 977960216 669781719 284708459 791425064 353822979 758891876 532019422 436246564 153193989 898405199 789066651 4232542 9492931 411597517 110329741 801204414 977345111 848112983 991195806 585428041 557611627 106996851 63...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 2696591797
result:
ok 2 lines
Test #70:
score: 42
Accepted
time: 69ms
memory: 35296kb
input:
500000 4998 697291893 213254827 299533165 751079640 925683321 551696751 793486616 236263416 618684473 86252782 495777682 356691623 167242346 780813195 93408731 335749168 806058962 361869268 500767719 428515669 964730880 12296293 380982109 323469572 514325694 994537383 188550454 668759335 713109833 8...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 2793198479
result:
ok 2 lines
Test #71:
score: 42
Accepted
time: 75ms
memory: 35116kb
input:
500000 4999 171048268 843728637 685646658 776422982 158218619 762557754 721838897 84501201 862554519 182764398 273759229 654527559 649221745 693170479 381974678 591933276 640083796 229639176 923673968 847538406 149268022 914262846 665792513 669594034 180538404 587813544 570334504 411310824 729288230...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 2701950165
result:
ok 2 lines
Test #72:
score: 42
Accepted
time: 71ms
memory: 35132kb
input:
500000 5000 157951194 490648954 76642562 283785522 576961114 820297605 899779239 365801088 867212734 379988848 853607285 891812924 710341807 685561207 574378075 695813583 852135426 135001557 441026367 621394494 323224703 349224296 165132594 463928402 140940505 827411557 347892223 279025586 832477299...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1969702269
result:
ok 2 lines
Test #73:
score: 42
Accepted
time: 0ms
memory: 27976kb
input:
5046 4996 225007768 865436096 529226989 997731029 861793161 269547233 47030438 994393857 113342969 758504467 217502810 320200629 334385161 220695922 40631790 257040928 149467450 872812608 639746272 456793900 151253389 47946482 729587866 271862571 215810368 490427993 845138099 223088981 469958700 560...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 2495253634076
result:
ok 2 lines
Test #74:
score: 42
Accepted
time: 4ms
memory: 27848kb
input:
5047 4997 353825908 41072279 445770416 35729430 395249814 21192525 704321810 339726443 92983004 620858695 969152448 622370468 249249899 989732511 985028982 346182310 256373728 110603324 288248075 40963835 509583459 38752501 62675746 837556238 370502614 503479100 69474081 730161931 531285935 51738274...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 2484171542971
result:
ok 2 lines
Test #75:
score: 42
Accepted
time: 4ms
memory: 28172kb
input:
5048 4998 819080538 216708464 67346551 705131613 928706469 109274306 66645890 53655250 777655747 146776434 130867501 219507599 532710856 127365318 560829952 361694764 953214591 643361333 641782587 625133770 941542457 29558520 764359848 34653684 525194861 852966697 293810064 310863809 592613170 97868...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 2498715173471
result:
ok 2 lines
Test #76:
score: 42
Accepted
time: 0ms
memory: 28140kb
input:
5049 4999 947898678 23748428 688922687 38097306 462163123 197356088 723937263 104020545 757295782 9130663 218953627 858113928 111139105 264998126 505227143 450836146 650055452 217588537 921688172 209303704 78534162 725397247 392415020 231751130 679887107 866017804 223178755 228002175 653940405 51361...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 2504987720883
result:
ok 2 lines
Test #77:
score: 42
Accepted
time: 6ms
memory: 28172kb
input:
5050 5000 172115859 34804694 775608587 639359473 720660564 297996612 907466842 577262605 439458839 183956656 172823631 398334709 817458911 742196295 776661912 408688518 506652428 919560274 925297910 374037719 3668907 851472756 454343706 430320756 498200662 154374603 543475444 406027796 140976463 641...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 2514488210930
result:
ok 2 lines
Test #78:
score: 42
Accepted
time: 3ms
memory: 27912kb
input:
4996 4996 402264949 2755982 159700798 88877229 887136502 92017115 184262513 217713429 961580754 2374512 19047134 393149468 263624877 334079101 952989075 840574167 110684265 706837443 507516180 879700149 570276126 601079845 336587126 925269195 635563758 156640703 438414259 899840323 212510188 7226195...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1660044412919
result:
ok 2 lines
Test #79:
score: 42
Accepted
time: 5ms
memory: 27904kb
input:
4997 4997 236115797 178392167 781276934 758279413 420593156 548695116 546586594 973111433 646253497 159696032 475729479 695319307 252118543 766679201 233822754 634748257 438928908 649660867 156017983 463870083 2235123 591885864 964642299 122366641 790256004 506128300 367782950 111945980 273837423 53...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1697554480434
result:
ok 2 lines
Test #80:
score: 42
Accepted
time: 4ms
memory: 28140kb
input:
4998 4998 996337719 280399423 697820361 722648887 617613322 636776897 203877965 687040240 625893532 390646481 563815605 628892927 830546793 904312009 178219944 18856930 135769769 182418875 214585203 753072727 434194122 287724590 592697472 319464088 576352031 519179407 592118933 324051639 703760878 9...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 2045591453893
result:
ok 2 lines
Test #81:
score: 42
Accepted
time: 4ms
memory: 27892kb
input:
4999 4999 125155858 456035607 319396496 760647289 856102684 93454897 566202046 32372826 605533567 547968001 20497950 931062766 114007749 673348597 459053624 739402093 832610632 420209592 863087008 337242661 497556900 204901681 294381572 516561535 731044277 868667004 816454916 536157297 765088113 824...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1659125295321
result:
ok 2 lines
Test #82:
score: 42
Accepted
time: 2ms
memory: 27888kb
input:
5000 5000 349373040 467091874 111115104 656876747 114600125 489062714 823360553 210647594 992729332 427826702 974367956 471283547 746698627 224175693 99084612 402287173 689207608 827214037 793067818 870572895 422691645 741042606 61342967 715131160 549357832 820587314 136751604 714182918 178495244 95...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1908774494647
result:
ok 2 lines
Test #83:
score: 42
Accepted
time: 3ms
memory: 28128kb
input:
4996 4996 756779311 277395757 494277344 123911777 675015624 810585808 942421009 779450700 68121739 490114605 253539562 949112562 564329458 224408970 819172840 786302281 475794624 743483331 948088705 167737793 113354308 633717641 771924012 789857295 327812681 825502614 35031996 516150566 66209385 736...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 856396757064
result:
ok 2 lines
Test #84:
score: 42
Accepted
time: 7ms
memory: 28156kb
input:
4997 4997 590630159 379403013 115853479 793313960 503439570 267263808 599712380 493379506 47761774 352468833 415254616 177653472 142757707 362041778 100006519 211880150 172635486 686306756 301623216 456940436 545313306 329556368 399979184 986954742 482504927 838553721 259367979 96852443 496132840 86...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1255988282191
result:
ok 2 lines
Test #85:
score: 42
Accepted
time: 4ms
memory: 27972kb
input:
4998 4998 55884788 555039198 737429615 831312362 36896224 355345589 962036461 543744802 27401809 878386573 166904252 184856020 131251372 794641879 44403709 301021532 574509056 924097473 950125021 41110370 272239596 320362387 101663284 552648407 637197174 188041317 483703962 603925394 557460075 32218...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1531813692072
result:
ok 2 lines
Test #86:
score: 42
Accepted
time: 4ms
memory: 27904kb
input:
4999 4999 184702928 730675382 653973042 500714544 570352878 148460078 619327833 889077389 7041843 740740802 623586598 781993151 709679622 563678467 325237389 685130206 271349918 161888188 8692240 625280305 704198594 16201114 729718458 749745854 791889420 906125133 413072653 521063760 618787310 78348...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 1107523764527
result:
ok 2 lines
Test #87:
score: 42
Accepted
time: 3ms
memory: 28132kb
input:
5000 5000 408920110 446764356 740658942 60507513 533883028 544067895 171453631 67352156 394237609 915566795 282489311 322213933 47403207 819538272 965268378 979419068 127946893 568892633 938673051 790014320 629333339 142276622 791647144 948315479 315235683 858045444 438402050 404122089 105823368 985...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 998891331501
result:
ok 2 lines
Test #88:
score: 42
Accepted
time: 4ms
memory: 27820kb
input:
4996 4996 170840742 753046379 163430436 267609799 808548722 584159680 48672581 492859824 797509367 465594789 164749565 282377113 755673202 710101418 182944151 645598776 353273197 226840524 829233754 6620642 231670404 182687578 306161293 887629714 827408653 531822653 818202056 485963492 437171290 957...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 820186246456
result:
ok 2 lines
Test #89:
score: 42
Accepted
time: 4ms
memory: 27892kb
input:
4997 4997 4691591 928682563 79973863 937011982 342005375 40837680 410996662 911821339 482182110 327949017 621431911 215950732 375570648 142701517 127341341 439772866 50114058 169663949 182768266 295823285 663629403 173493597 639249174 84727159 982100899 544873760 747570747 698069150 203531233 851969...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 888289325989
result:
ok 2 lines
Test #90:
score: 42
Accepted
time: 4ms
memory: 27900kb
input:
4998 4998 469946220 735722527 701549999 680043092 875462030 833952170 68288033 257153926 461822145 853866757 783146965 223153280 953998897 280334326 408175020 823881539 746954921 407454665 536302778 879993220 21959472 869332325 635900567 281824606 136793145 189328648 971906730 910174808 559825760 68...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 602764738450
result:
ok 2 lines
Test #91:
score: 42
Accepted
time: 10ms
memory: 27868kb
input:
4999 4999 598764360 206326003 323126133 349445275 408918683 585597462 430612114 307519221 441462179 11188277 239829310 820290411 237459854 344338206 647539503 544426701 148828490 940212674 184804581 464163154 453918470 860138344 968988448 552550981 291485391 907412464 269871640 827313175 621152995 1...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 701619461587
result:
ok 2 lines
Test #92:
score: 42
Accepted
time: 8ms
memory: 28176kb
input:
5000 5000 822981542 217382269 409812034 909238245 36012344 981205279 614141693 780761281 197254164 891046979 825103095 360511192 238746951 600198011 329039688 207311782 300392758 347217118 819818100 292460680 379053215 691246560 30917133 382524386 404766238 195769263 221572109 300306087 108189054 97...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 776471916153
result:
ok 2 lines
Test #93:
score: 42
Accepted
time: 4ms
memory: 27892kb
input:
4996 4996 282285505 874051457 893986161 12125542 438302601 469867361 498799613 232275296 522565739 892792587 885546523 274287515 728096151 607990667 639232289 853370270 699358955 228502969 922500503 646531614 628147166 460196080 176367278 200749941 282995605 451265479 301312011 601935650 123104952 7...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 490226541586
result:
ok 2 lines
Test #94:
score: 42
Accepted
time: 5ms
memory: 27820kb
input:
4997 4997 700433778 514522289 738853709 385743700 324336908 770452774 643567850 36850345 299685231 285379412 243193171 360036988 753867669 558339544 952074395 72574596 450392369 570122676 155145291 141815277 667711575 702862977 318551559 746920784 185304363 762099658 403427611 621086485 21102278 653...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 920836034728
result:
ok 2 lines
Test #95:
score: 42
Accepted
time: 4ms
memory: 28172kb
input:
4998 4998 823614760 81364192 583721258 759361858 284000142 776070895 83303378 136392687 3175795 751595167 232243599 372157534 977549 213721130 191287572 291778924 832829563 543146163 387790081 563470014 412308692 240497164 460735840 588058918 87613122 482999253 579172139 8833540 140437968 801756079 ...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 449890670956
result:
ok 2 lines
Test #96:
score: 42
Accepted
time: 6ms
memory: 27864kb
input:
4999 4999 873166813 721835025 133621514 132980015 875067157 445252528 523038906 235935028 485327996 554247409 884857539 47841590 26749067 795473788 504129677 805950543 805201341 221202358 989031091 763786386 820469321 483164061 602920121 134229760 284889173 498866140 681287738 691547888 333402587 95...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 454741569053
result:
ok 2 lines
Test #97:
score: 42
Accepted
time: 4ms
memory: 27900kb
input:
5000 5000 735971055 18489571 128073365 83531313 282286552 235827722 942843943 276474316 358949709 943847790 457321691 859929953 232122094 29410828 388490266 325240081 82280833 593129610 160569981 338986593 654752087 785442722 461412217 285366976 929696280 925524449 950515278 742641536 919297229 2337...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 741096198582
result:
ok 2 lines
Subtask #3:
score: 97
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Test #98:
score: 97
Accepted
time: 401ms
memory: 86340kb
input:
499964 499996 306284246 607683942 23718956 411548366 784500254 677901979 904115219 618862578 368555817 955715592 94231368 618551291 491134679 635839251 100978457 509481230 912946223 992895350 761453830 82286006 389931616 757117797 203620637 69318375 802999982 337287463 1426653 750826705 226159118 47...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 792840744969
result:
ok 2 lines
Test #99:
score: 97
Accepted
time: 382ms
memory: 86396kb
input:
499909 499997 738571426 311786679 409832450 436891707 312002844 225199470 832467500 467100362 612425863 52227206 167180207 916387227 899485150 179600315 389544404 60632628 746971057 565697966 889392787 869904964 943064979 659084349 488431042 415442837 174245400 340629040 309581775 156941704 24233751...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 803146204874
result:
ok 2 lines
Test #100:
score: 97
Accepted
time: 382ms
memory: 86608kb
input:
499955 499998 580924021 942260489 132382431 830831269 134472726 731027765 834448709 20370855 856295909 558804239 945161754 214223163 381464548 133426796 678110351 948220517 654624819 433467874 680895254 288927700 496198341 561050901 68208737 761567299 471861891 638937910 986333117 268089413 25851591...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 799200331000
result:
ok 2 lines
Test #101:
score: 97
Accepted
time: 373ms
memory: 86176kb
input:
499900 499999 718243908 572734297 149899705 224770829 30571535 278325257 57768281 573641348 100165954 360348562 723143301 217091807 494847728 45784080 335272517 204404623 488649653 301237782 177430430 707950438 680735484 463017453 721615361 812724469 138074601 232214070 999520946 10640901 569661602 ...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 799908819811
result:
ok 2 lines
Test #102:
score: 97
Accepted
time: 370ms
memory: 86304kb
input:
499921 500000 334898237 982106923 786263070 390745380 108735608 346572113 460783594 731834213 987621814 772878130 128647069 790765816 841078180 37421537 338812690 949972109 460685739 505007647 205613788 404136562 928904607 426856797 550908007 706255865 570357016 551656553 861191552 787072586 8083062...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 796530752401
result:
ok 2 lines
Test #103:
score: 97
Accepted
time: 335ms
memory: 83248kb
input:
499984 499996 119677570 709481847 516780252 251137393 32569817 542598219 862844417 639893744 915884527 66117410 581776596 129092741 853492304 859171407 225636729 124200046 348392275 384584633 807218932 983538635 971585648 619611227 168050221 208431301 628142719 85899629 342617046 85156144 811747698 ...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 922452616636
result:
ok 2 lines
Test #104:
score: 97
Accepted
time: 360ms
memory: 83380kb
input:
499962 499997 183368529 339955655 902893746 276480734 560072408 89895710 86163989 193164236 159754573 499065514 696194632 426928677 335471702 476561399 514202676 306755225 256046037 957387250 935157889 771157591 524719010 152981559 747827918 259588471 294355429 384208498 19368387 532740341 122893386...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 948205295084
result:
ok 2 lines
Test #105:
score: 97
Accepted
time: 337ms
memory: 83340kb
input:
499907 499998 320688417 970429465 920411019 670420296 87574998 595724005 719548979 746434730 403624619 5642546 769143471 724764614 448854882 725355172 507801331 194343113 90070871 825157158 726660356 895213037 77852371 54948112 401234541 605712933 665600848 387550075 327523509 938855342 65442856 799...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 938647206148
result:
ok 2 lines
Test #106:
score: 97
Accepted
time: 331ms
memory: 83492kb
input:
499953 499999 458008304 379564910 937928293 64359857 910044881 437988788 647901260 594672514 647494665 807186870 547125017 727633258 930834281 974148946 796367278 450527220 292691925 397959774 223195532 314235773 262389514 251881956 981012237 320433614 963217340 980826237 340711339 681406830 8162125...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 928036097876
result:
ok 2 lines
Test #107:
score: 97
Accepted
time: 356ms
memory: 83356kb
input:
499952 500000 779695342 378872118 279324365 230334407 61837880 211268353 755949280 457898088 239983232 219716437 616192297 301307266 203435804 629349913 799907451 491061997 896131791 896696930 251378891 305389190 805525930 510688591 883933811 845368791 764095973 300268719 202381944 457838514 3938948...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 910902045805
result:
ok 2 lines
Test #108:
score: 97
Accepted
time: 482ms
memory: 84084kb
input:
499969 499996 462728578 676517240 458619214 166917401 115797628 490689161 985685574 323476134 315256914 608143961 337170848 445900864 303726327 583290144 860890193 204280095 583823338 871099173 447682540 455610785 712942976 768981882 169713243 484589007 999276341 290161982 341977324 967380449 407788...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 212789374920
result:
ok 2 lines
Test #109:
score: 97
Accepted
time: 482ms
memory: 84368kb
input:
499982 499997 895015757 306991049 181169195 265889671 938267511 37986653 619070563 171713918 559126960 409688284 115152395 375140580 122142215 832083917 518052359 386835274 712815464 443901789 575621496 243229741 561043630 670948434 749490940 535746177 665489051 588470851 18728665 78528156 718933903...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 221659999067
result:
ok 2 lines
Test #110:
score: 97
Accepted
time: 476ms
memory: 84068kb
input:
499960 499998 32335644 306061078 567282689 586200304 465770100 543814948 842390136 19951703 97964297 211232608 188101233 672976516 899088906 449473909 806618306 643019382 620469226 311671697 367123964 662252479 114176992 204318766 34301343 881870639 36734469 181747011 326883787 189675865 735112300 1...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 215088650362
result:
ok 2 lines
Test #111:
score: 97
Accepted
time: 472ms
memory: 84064kb
input:
499905 499999 874688240 641567595 289832671 980139866 361868910 91112439 770742417 573222196 46867052 12776932 671115489 970812452 307439376 698267682 95184252 825574561 454494060 253070533 158626432 81275215 298714135 106285318 982675259 301624028 39383669 480055881 635038909 932227354 751290697 25...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 212940962857
result:
ok 2 lines
Test #112:
score: 97
Accepted
time: 465ms
memory: 84040kb
input:
499937 500000 491342569 345907512 926196036 441081708 440032983 159359296 878790437 731415062 302919130 425306499 666553841 544486460 653669829 58501357 98724425 939738266 426530145 751807689 186809790 777461340 546883258 70124662 811967905 121526497 135229594 799498364 906774931 708659038 694968040...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 211575191495
result:
ok 2 lines
Test #113:
score: 97
Accepted
time: 420ms
memory: 94572kb
input:
500000 499996 361755007 138355865 236939971 972146675 203808944 497639157 649317758 48593084 46465952 394008393 865738982 1126363 103127829 11026033 739714037 409981692 680706107 651261688 915681272 368421928 583476801 168572251 342260483 9640227 529711010 939119280 618908888 187287928 202968328 235...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 9862851041
result:
ok 2 lines
Test #114:
score: 97
Accepted
time: 414ms
memory: 94768kb
input:
500000 499997 130478674 842458602 328086173 997490017 731311534 634871232 577670039 601863577 290335998 900585426 643720529 298962299 880074520 554787098 733312692 666165800 219763649 519031596 707183739 156040884 136610163 70538803 627070887 60797397 195923721 532395440 222031301 298435636 21914672...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 10351174389
result:
ok 2 lines
Test #115:
score: 97
Accepted
time: 418ms
memory: 94760kb
input:
500000 499998 562765853 177965119 345603447 96462285 258814124 550764944 506022320 155134070 829173337 702129749 348073147 301830943 288424990 877209799 21878639 553753687 422384704 796866921 835122696 280096330 394776234 603909137 575444803 111954567 567169140 830704309 235219130 409583344 23532512...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 8531159729
result:
ok 2 lines
Test #116:
score: 97
Accepted
time: 426ms
memory: 94608kb
input:
500000 499999 700085741 177035148 68153428 121805627 449880226 393029727 434374601 634775635 778076091 503674073 831087403 599666880 770404389 420970863 310444586 736308867 961442247 664636830 626625164 699119067 579313376 505875689 860255207 458079029 864785631 129013177 911970472 152134833 5464708...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 9228381769
result:
ok 2 lines
Test #117:
score: 97
Accepted
time: 442ms
memory: 94636kb
input:
500000 500000 726805487 881375065 704516793 951343690 233077007 756243876 542422622 792968500 34128169 916203641 900154683 173340887 453071330 781204540 313984758 850472572 933478332 868406694 359841230 690272483 122449791 764682324 689547853 983014206 665664264 448455661 773641078 928566518 1537116...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 8975001896
result:
ok 2 lines
Test #118:
score: 97
Accepted
time: 341ms
memory: 93164kb
input:
500000 499996 925793861 269351602 169217776 523666002 842423308 909653161 836836883 209907379 659522091 795183264 901516417 745794645 360308282 578995942 64832583 380454845 849348566 533422978 365220648 727500211 395597609 955313172 188877676 114268967 82810713 296381602 828639642 982043819 54854312...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 249721777159154
result:
ok 2 lines
Test #119:
score: 97
Accepted
time: 353ms
memory: 92956kb
input:
500000 499997 640757653 883101670 41493418 37327754 213013810 647059029 860166136 926840428 250471804 732011220 724575502 188812300 753136208 555774972 797471602 748583342 163406722 259437220 815279958 810626019 634963557 890650507 434483094 268268836 717419348 791353926 135714610 568269015 13578278...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 250074936241321
result:
ok 2 lines
Test #120:
score: 97
Accepted
time: 362ms
memory: 93116kb
input:
500000 499998 724317664 128255517 577332572 256022215 920040803 89497606 514899170 348806184 431356101 300242957 842601878 336862663 145964133 942619419 235143328 780275349 477464879 616855244 338968195 893751826 652991141 752358913 680088511 495897633 352027983 949889762 147822287 154494211 7230224...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 250109373609267
result:
ok 2 lines
Test #121:
score: 97
Accepted
time: 357ms
memory: 92996kb
input:
500000 499999 512910383 447038293 113171725 769683969 290631305 195499694 169632203 770771942 685869327 532038205 960628255 779880319 243824767 993027378 304218835 443371137 160119255 269240558 789027505 976877634 892357089 687696248 557097708 18493720 691669327 444862085 749864549 372123188 3102621...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 250197366917717
result:
ok 2 lines
Test #122:
score: 97
Accepted
time: 373ms
memory: 93108kb
input:
500000 500000 722914063 657132609 229315485 105274644 199614118 957835285 45480563 756946339 951991270 49512683 549924079 721887388 250225991 252533947 306493687 536543080 474598978 15521637 101350907 69943333 356172455 922483352 566620527 390375748 822260794 401917748 385322702 582152127 769135435 ...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 249875229468451
result:
ok 2 lines
Test #123:
score: 97
Accepted
time: 410ms
memory: 93064kb
input:
499996 499996 398018333 406671489 504724294 246215984 867766649 437155751 47697885 433226952 844196364 744086018 703060741 818743483 953111510 987346414 682222576 669020792 400499965 736044032 938023265 224035387 814620347 508446534 90844228 694046663 428935175 667627021 421915802 363827868 65969083...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 196499915237928
result:
ok 2 lines
Test #124:
score: 97
Accepted
time: 365ms
memory: 94428kb
input:
499997 499997 523047542 20421556 40563446 759877737 238357152 469528911 702430920 855192709 98709589 680913975 526119825 966793847 50972143 374190860 751298083 37149288 419590830 798494764 388082574 307161195 759019003 443783869 336449646 553079240 768576518 457566637 434023479 876424137 541897786 3...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 139666884463201
result:
ok 2 lines
Test #125:
score: 97
Accepted
time: 384ms
memory: 93252kb
input:
499998 499998 606607553 970608113 576402600 978572198 313980363 280563708 357163953 277158465 984626595 544113003 644146202 409811502 443800069 424598818 483937101 68841295 28616278 450880078 206738103 390287002 72013877 305492275 213458843 75675328 403185153 952538961 741098448 462649333 834170157 ...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 240192979034761
result:
ok 2 lines
Test #126:
score: 97
Accepted
time: 369ms
memory: 93376kb
input:
499999 499999 395200272 879325472 743645534 492233950 684570866 17969576 11896987 699124223 239139819 480940959 467205287 557861866 173064484 401377848 921608828 731937084 47707143 176894321 656797413 104816590 16412533 240829610 164096969 303304125 37793788 742478577 753206126 48874529 421409820 10...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 237706946985511
result:
ok 2 lines
Test #127:
score: 97
Accepted
time: 384ms
memory: 93144kb
input:
500000 500000 900171244 794452497 228385514 827824627 888520971 853934095 256341566 685298620 505261762 998415438 56501111 499868935 253094635 660884418 555287460 825109027 657154158 849546472 969120816 566478510 480227900 475616714 394958151 338749663 873417964 773163167 683631572 890307249 5853158...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 225435540736103
result:
ok 2 lines
Test #128:
score: 97
Accepted
time: 415ms
memory: 92568kb
input:
499996 499996 280308222 838958669 503794322 263733258 261706210 259625633 594995377 361579233 397466857 987956065 209637773 596725030 250947445 469325812 931016349 957586739 583055144 275101574 805793173 15537855 233643083 766612605 992810782 978857068 480092345 333839731 720224671 671982990 6972096...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 169623106163325
result:
ok 2 lines
Test #129:
score: 97
Accepted
time: 393ms
memory: 94092kb
input:
499997 499997 995272015 84112516 671037256 777395011 632296713 365627721 544695703 488577698 946947374 219751312 327664149 39742685 53840788 151137550 663655367 694311455 602146009 1115817 960885191 730067443 251670667 628321011 869819979 501453155 114700979 123779347 27299639 553175478 989481983 38...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 190411928085543
result:
ok 2 lines
Test #130:
score: 97
Accepted
time: 290ms
memory: 90704kb
input:
499998 499998 488897442 402895292 206876409 996089472 707919925 808066298 568024956 205510746 537897087 787983049 445690526 892825758 78072494 832949289 732730874 357407242 916204166 653501132 779540720 813193251 491036615 563658346 115425396 360485732 749309615 618751671 39407317 770804455 57672164...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 115992925608294
result:
ok 2 lines
Test #131:
score: 97
Accepted
time: 330ms
memory: 93064kb
input:
499999 499999 572457453 16645359 742715563 509751224 78510427 545472167 222757990 627476504 718781385 724811005 268749610 335843413 470900420 883357247 170402600 20503030 230262322 10919155 934632738 896319059 804031491 425366753 66063521 588114529 383918250 113723995 51514994 651996943 532557528 42...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 155531918009221
result:
ok 2 lines
Test #132:
score: 97
Accepted
time: 308ms
memory: 92252kb
input:
500000 500000 77428424 226739675 563892031 213938119 913864313 676403977 98606350 613650901 984903328 242285484 858045435 204221554 550930572 142863817 172677452 187303902 913338265 388604014 541923432 989384759 267846857 28750076 296924703 623560067 219542425 144408585 276907732 903495079 991430852...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 169561529965101
result:
ok 2 lines
Test #133:
score: 97
Accepted
time: 308ms
memory: 90336kb
input:
499996 499996 158007242 591557807 621283808 197387201 505657795 729926713 531020643 523956550 485347854 604930037 176877656 254176560 66142099 848084312 635395996 624351509 375258435 156620460 257425141 805347466 465774659 837706625 844099293 963734644 442700747 844771891 841025438 554943391 6138586...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 56442729691381
result:
ok 2 lines
Test #134:
score: 97
Accepted
time: 326ms
memory: 90860kb
input:
499997 499997 588614086 488350630 861783618 128679637 663096616 623995442 786303414 463942193 7272228 670167732 185993959 5074887 942017250 425953458 8719798 560985246 509135701 895990714 810158180 932727289 588814248 809737181 891314263 353603744 587665246 697933465 198241143 899395401 985663889 78...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 72835209940809
result:
ok 2 lines
Test #135:
score: 97
Accepted
time: 329ms
memory: 90628kb
input:
499998 499998 429286345 680110746 397250719 396408561 525568146 149467952 410182405 403927837 455567675 661776498 121481334 345907798 817892399 3822604 87076309 423990055 937980258 635360967 657858509 60107110 638224910 486800444 12158160 374876625 659000817 256127748 924053068 538814702 693905618 5...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 64210680230258
result:
ok 2 lines
Test #136:
score: 97
Accepted
time: 306ms
memory: 90888kb
input:
499999 499999 638554824 945499790 637750529 327700996 93072383 379973170 739094104 638880772 567426633 727014193 130597638 465402345 398800257 655320679 460400112 992027573 998228596 79763928 210591547 187486933 761264500 163863707 354340422 764745726 435369096 814322031 281268773 956895640 65710857...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 91477261027966
result:
ok 2 lines
Test #137:
score: 97
Accepted
time: 324ms
memory: 90456kb
input:
500000 500000 727429612 926189495 214752364 432757284 36399645 895974350 666897547 256541051 116735470 200498176 115256509 694261821 649172210 389848586 19158343 846610825 842285009 229261722 899581328 701694203 438677672 879731476 209122334 436034182 858590740 705284663 43355808 922541409 949839163...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 84670455072098
result:
ok 2 lines
Test #138:
score: 97
Accepted
time: 317ms
memory: 90292kb
input:
499996 499996 44293147 204528314 920910709 358602497 33130453 694566687 184569707 165717955 841634902 824280267 521035764 365422658 891758269 742127230 985153519 140810171 98855699 474002488 6340098 509361711 3113491 571213705 985335836 51350174 657017400 848708421 922504366 537944146 727372042 2378...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 50943580339241
result:
ok 2 lines
Test #139:
score: 97
Accepted
time: 301ms
memory: 90820kb
input:
499997 499997 884965407 101321138 456377810 994927642 190569274 925071905 439852479 105703598 584897640 184485253 530152067 116320985 767633418 688592596 63510029 372411200 864136745 213372741 559073137 931708825 757556862 543244260 32550805 736186567 728352971 406902703 648316290 882396157 80420999...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 68824107274874
result:
ok 2 lines
Test #140:
score: 97
Accepted
time: 314ms
memory: 90340kb
input:
499998 499998 725637666 661677474 696877620 926220077 758073512 819140635 63731469 45689242 106822014 881126729 539268370 867219313 12104786 971494451 363204904 940448718 292981301 952742995 406773467 395525136 880596452 515274815 79765774 757459448 504721250 260064278 710564704 521815458 807419012 ...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 78164011238469
result:
ok 2 lines
Test #141:
score: 97
Accepted
time: 311ms
memory: 90384kb
input:
499999 499999 229873436 558470298 937377430 562545220 989141262 344613145 687610461 649238397 555117461 241331714 843351966 576648444 887979937 844330890 736528707 508486235 353229639 60709467 959506506 817872251 930007114 192338078 495576964 147328548 281089529 186854780 436376629 161234759 1792242...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 59741962076541
result:
ok 2 lines
Test #142:
score: 97
Accepted
time: 303ms
memory: 90520kb
input:
500000 500000 23780932 539160003 219411973 593972580 563872304 492018104 320446611 898302457 767989810 419848406 459414617 510540627 769755671 988924213 319646 363069486 975947689 546643751 648496286 332079519 607420285 908205848 350358876 113584296 72907392 77817412 903496373 495476747 768385265 97...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 78699735197991
result:
ok 2 lines
Test #143:
score: 97
Accepted
time: 351ms
memory: 90420kb
input:
499996 499996 808872926 110571869 255487254 98669753 747380648 118168086 237695494 22422517 243143179 312020359 829157120 216353043 487430140 632457100 777708356 86538284 874031475 215681085 151945331 428803135 546191674 308884210 420672720 284534494 349266323 181133841 519122103 227883317 581071239...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 65336090774584
result:
ok 2 lines
Test #144:
score: 97
Accepted
time: 322ms
memory: 90588kb
input:
499997 499997 944512477 670928205 495987064 734994897 314884885 643640597 198010973 667440869 691438626 672225346 838273423 967251372 363305290 578922466 856064867 654575802 302876031 250018630 999645662 851150250 964198556 280914765 836483910 600774667 125634602 739328125 244934028 867302619 952876...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 46656679130397
result:
ok 2 lines
Test #145:
score: 97
Accepted
time: 327ms
memory: 89876kb
input:
499998 499998 80152027 862688321 31454165 666287332 545952634 169113107 821889965 270990024 803297584 663834112 142357018 718149699 944213148 861824321 229388669 517580611 731720588 694421592 552378700 683562781 718641926 621541540 883698880 990643768 196970173 297522407 602149734 506721921 95608550...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 80813476753412
result:
ok 2 lines
Test #146:
score: 97
Accepted
time: 357ms
memory: 90200kb
input:
499999 499999 289420506 128077364 271953976 597579768 408424164 63181836 740736248 505942959 956625739 729071807 782877102 764015318 820088297 439693467 602712472 454214348 791968926 802388065 105111738 105909894 841681516 298604803 930913850 11916648 973338453 855716691 327961658 851173931 32923448...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 30485465169625
result:
ok 2 lines
Test #147:
score: 97
Accepted
time: 315ms
memory: 89692kb
input:
500000 500000 378295294 108767068 848955812 334039835 278122498 210586796 373572398 755007019 800901868 202555790 767535974 361471012 70460250 879254082 866503412 308797599 709654267 288322347 89068810 251520944 519094687 350909060 80663053 978172396 765156316 41646614 795081402 185415918 917051753 ...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 43873058940609
result:
ok 2 lines
Test #148:
score: 97
Accepted
time: 333ms
memory: 90236kb
input:
499996 499996 986130107 247891757 885961064 821219735 141320208 645670677 784992986 655807507 722784744 555890405 630701444 330771079 490298784 114436498 100131056 375104231 425182873 49705919 19715239 925338312 965214412 862017572 322639273 864312190 400423493 183783041 112398263 831005731 98718623...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 55584422038604
result:
ok 2 lines
Test #149:
score: 97
Accepted
time: 342ms
memory: 90148kb
input:
499997 499997 121769657 808248092 126460873 752512171 708824447 171143187 703839269 890760442 539676411 916095392 639817747 745232918 366173934 692305645 473454859 943141749 485431210 157672392 572448278 684121915 88254001 834048127 369854242 885585071 176791772 36944615 543242897 175457740 99039526...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 54976595902190
result:
ok 2 lines
Test #150:
score: 97
Accepted
time: 332ms
memory: 90372kb
input:
499998 499998 962441917 8207 661927975 683804606 571295976 65211916 959122040 199342305 356568077 612736867 575305122 791098537 242049083 270174791 551811370 879775486 914275768 897042646 125181316 106469028 137664662 511111391 785665432 275454171 248127343 963735119 900458603 814877043 67233208 916...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 52451390379841
result:
ok 2 lines
Test #151:
score: 97
Accepted
time: 314ms
memory: 90200kb
input:
499999 499999 171710395 191768323 271024004 615097041 802363725 590684427 583001031 139327948 804863524 972941853 584421425 541996865 117924233 921672866 925135173 742780295 48153032 341445607 972881647 528816143 260704252 483141946 127847693 296727052 24495622 521929401 626270528 232957980 77547493...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 49480756911596
result:
ok 2 lines
Test #152:
score: 97
Accepted
time: 337ms
memory: 90580kb
input:
500000 500000 260585183 951119665 553058548 351557109 672062060 738089387 215837181 756988228 649139653 151458544 274113005 434419851 999699968 656200773 483893404 302396254 892209446 827379890 661871427 43023412 938117425 904042423 982629606 631579019 816313486 412892033 93390270 493571040 36463595...
output:
y0vhwgpzdn-MONKEY-gofktu7ohp 58639980374995
result:
ok 2 lines