QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#130959 | #2556. Yet Another Interval Graph Problem | waifuSenpai# | RE | 1ms | 3708kb | C++17 | 2.0kb | 2023-07-25 20:53:08 | 2023-07-25 20:53:09 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3620kb
input:
5 2 1 4 1 3 6 2 5 8 5 7 10 2 9 12 1
output:
3
result:
ok single line: '3'
Test #2:
score: 0
Accepted
time: 1ms
memory: 3644kb
input:
5 1 2 6 5 4 6 2 8 8 5 1 3 4 6 8 7
output:
12
result:
ok single line: '12'
Test #3:
score: 0
Accepted
time: 1ms
memory: 3572kb
input:
1 1 260947663 693934985 986106006
output:
0
result:
ok single line: '0'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
2 2 148610427 148610427 611594176 148610427 148610427 241979785
output:
0
result:
ok single line: '0'
Test #5:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
2 2 189944467 208945642 113891402 208945642 235053342 250664551
output:
0
result:
ok single line: '0'
Test #6:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
2 2 259102823 862504466 73871288 91533165 259102823 447104717
output:
0
result:
ok single line: '0'
Test #7:
score: 0
Accepted
time: 1ms
memory: 3572kb
input:
2 2 634621570 811155007 87507743 299710238 563644023 98163867
output:
0
result:
ok single line: '0'
Test #8:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
13 5 385168347 385168347 99054846 385168347 385168347 350748474 385168347 385168347 354902398 385168347 385168347 585042031 385168347 385168347 292548257 385168347 385168347 440215041 385168347 385168347 672336022 385168347 385168347 47484008 385168347 385168347 169165503 385168347 385168347 7956210...
output:
1929854426
result:
ok single line: '1929854426'
Test #9:
score: 0
Accepted
time: 1ms
memory: 3540kb
input:
13 6 249108165 750799499 699592153 249108165 457151813 987869795 134537888 782870665 390805464 134537888 782870665 649518079 204359052 634307327 182450369 204359052 774773106 730624930 249108165 774773106 537210767 204359052 774773106 97138905 204359052 457151813 416638849 134537888 524514128 250590...
output:
1237015857
result:
ok single line: '1237015857'
Test #10:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
13 7 465368572 465924358 199562084 608564649 997082675 730929009 674709819 678581286 182758027 836643137 882107460 644654785 486136406 758292265 676143876 201512809 479098771 863674394 47616205 381197381 378671320 394857231 595748338 113052048 212725647 465368572 82608327 196452515 409999283 8763323...
output:
1099952673
result:
ok single line: '1099952673'
Test #11:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
13 2 31872098 871680392 682839350 61764730 487476526 831566242 381374440 997221351 669699198 107368862 640403153 740367257 569214208 652115395 148284098 519532336 743844154 95873458 118903321 512516605 142755369 419658872 669010905 189660758 199540065 249254316 625038715 181930274 228478402 51457966...
output:
3609049933
result:
ok single line: '3609049933'
Test #12:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
14 5 728352335 728352335 381359028 728352335 728352335 112308217 728352335 728352335 674696127 728352335 728352335 807714141 728352335 728352335 446795815 728352335 728352335 734255090 728352335 728352335 587451095 728352335 728352335 269358391 728352335 728352335 39475712 728352335 728352335 810785...
output:
2424971387
result:
ok single line: '2424971387'
Test #13:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
14 12 191793304 552864388 80949254 104805491 219644066 69701295 186898587 431239708 24064180 186898587 655934651 814445303 431239708 459349784 928677053 178946842 552864388 859560577 328428262 459349784 654624260 104805491 552864388 950062504 219644066 552864388 250581246 104805491 191793304 2348381...
output:
50607767
result:
ok single line: '50607767'
Test #14:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
14 14 300455461 658411147 118564055 74775444 249650757 803408069 664445103 893656382 599127386 249650757 281129734 530905142 58928870 615333424 353022736 642734658 660816046 173630646 4495104 715536786 916711506 170445688 656301801 252422382 292382181 656301801 895698233 74065627 479191864 293882251...
output:
0
result:
ok single line: '0'
Test #15:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
14 8 432046489 978881069 231142550 497322386 878782752 362048483 256198933 792937733 372555775 66506431 895129946 809601646 298840475 627033669 515057457 99457507 609186096 816771967 361334042 978881069 853460916 114590942 448110575 935917705 13145092 508015426 651654 90350442 227603751 34457268 292...
output:
1215869240
result:
ok single line: '1215869240'
Test #16:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
15 7 71536323 71536323 663663210 71536323 71536323 168835257 71536323 71536323 554298368 71536323 71536323 885162058 71536323 71536323 451300269 71536323 71536323 583584739 71536323 71536323 912631577 71536323 71536323 786200071 71536323 71536323 764561728 71536323 71536323 956470730 71536323 715363...
output:
2670135491
result:
ok single line: '2670135491'
Test #17:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
15 10 389002390 832393214 312563251 313520949 389002390 591724283 187656255 313520949 657322896 313520949 632787109 534662126 75456701 832063493 410062522 187656255 281053094 843272031 75456701 313520949 772037754 286247352 389002390 362794615 281053094 758595444 674458236 832393214 832393214 738615...
output:
921225063
result:
ok single line: '921225063'
Test #18:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
15 14 502982426 695256104 37566026 360811734 970630492 580919834 12460198 468757302 720529449 47607915 523380702 827220907 239024704 559272374 175125789 12460198 78664236 188619602 605867309 680213266 454751691 525329146 911823294 686760012 4261798 468757302 443946923 360811734 925969063 151623658 5...
output:
37566026
result:
ok single line: '37566026'
Test #19:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
15 8 98164859 808676227 779445750 128386421 716816201 597563428 234209607 784220068 485477760 40281846 145198031 878836035 30897339 313983968 176798112 37301494 462024528 537670476 249351686 446325020 709390656 797601962 856372121 536950461 110181370 781175898 376264592 254323552 576269929 849302167...
output:
1853900270
result:
ok single line: '1853900270'
Test #20:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
16 6 414720311 414720311 945967393 414720311 414720311 930395001 414720311 414720311 874092097 414720311 414720311 962609975 414720311 414720311 605547827 414720311 414720311 22848980 414720311 414720311 387555163 414720311 414720311 153298646 414720311 414720311 339904640 414720311 414720311 682119...
output:
4190876180
result:
ok single line: '4190876180'
Test #21:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
16 3 8192334 296138897 693920352 296138897 940726987 968523078 298351952 298351952 585548907 298351952 298351952 404622054 298351952 940726987 596480694 8192334 46107911 972207678 46107911 102756404 184418543 73780914 164854509 70494022 46107911 298351952 508400633 594885466 940726987 58109036 81923...
output:
2562185596
result:
ok single line: '2562185596'
Test #22:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
16 12 275641614 801841335 811343806 95577059 866885529 63464303 394724161 626550634 987155703 429903353 880742943 123536672 85500274 511098550 997228841 416685349 663054530 763417069 728990898 729020007 992791877 17966150 626550634 826130345 728990898 811529667 697228317 191798932 882247362 41943047...
output:
690675139
result:
ok single line: '690675139'
Test #23:
score: 0
Accepted
time: 1ms
memory: 3640kb
input:
16 15 207378409 565152608 327748949 130338029 545690944 978302564 35248203 682729898 333558529 211875096 842599418 93294615 85063237 966649821 133506062 490343758 827886043 258568985 243659596 492931571 565320396 158053532 655699310 578174704 74296171 863518101 161942938 278000331 424880475 51892287...
output:
93294615
result:
ok single line: '93294615'
Test #24:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
15 8 311276485 886531075 542687345 303889791 886531075 231384714 320479222 886531075 468740692 721363813 886531075 77232377 228450314 886531075 827150033 527057547 886531075 116793316 311276485 886531075 785494700 273376721 886531075 232872222 311276485 886531075 275418603 724304477 886531075 514598...
output:
1486331062
result:
ok single line: '1486331062'
Test #25:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
15 2 741431866 959250144 688474833 826599694 959250144 589285705 3084690 652474523 131543181 3084690 818625976 252986613 667409877 959250144 294214085 741431866 959250144 333822660 789305564 959250144 307175183 652474523 959250144 178282282 689642919 959250144 640147543 3084690 826599694 393036587 9...
output:
3977226216
result:
ok single line: '3977226216'
Test #26:
score: 0
Accepted
time: 1ms
memory: 3648kb
input:
15 10 281053094 834779585 362794615 75456701 657322896 674458236 832063493 834779585 73861509 591724283 834779585 125024719 354953290 834779585 706013306 75456701 286247352 46980969 75456701 313520949 646003564 75456701 281053094 546712737 75456701 354953290 667713302 75456701 632787109 109150131 31...
output:
408707615
result:
ok single line: '408707615'
Test #27:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
15 4 141497923 548025160 785806426 141497923 527660509 720655899 141497923 771371793 828385845 141497923 843779781 99422560 141497923 352758161 38982198 141497923 155346807 243766753 141497923 828257135 241640981 141497923 921180816 402088000 141497923 353850883 834255872 141497923 826704874 6473136...
output:
3328733790
result:
ok single line: '3328733790'
Test #28:
score: 0
Accepted
time: 1ms
memory: 3644kb
input:
16 16 66022690 978150230 354759825 602783405 978150230 563217474 212301933 978150230 214922773 628180783 978150230 273946374 659163903 978150230 527604785 817565058 978150230 760025478 602783405 978150230 791570876 823067206 978150230 411882374 823067206 978150230 92521476 640571236 978150230 952104...
output:
0
result:
ok single line: '0'
Test #29:
score: 0
Accepted
time: 1ms
memory: 3664kb
input:
16 12 590274613 889380200 452952399 327794203 889380200 251229138 5330990 744933187 929170485 5330990 314614327 377216688 409453342 889380200 536747299 5330990 54904376 32440775 361401916 889380200 321742341 5330990 70074176 974876069 327794203 889380200 437471787 361401916 889380200 989756541 54904...
output:
756715795
result:
ok single line: '756715795'
Test #30:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
16 3 585548907 968523078 744856771 46107911 968523078 333993896 8192334 606692761 424145644 8192334 398644849 805825024 8192334 693920352 790872411 8192334 542551430 496441740 298351952 968523078 277150098 164854509 968523078 963199595 8192334 298351952 834534890 298351952 968523078 267503821 819233...
output:
6399014605
result:
ok single line: '6399014605'
Test #31:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
16 15 725916 57874638 27947927 725916 324502093 574757183 725916 248536551 239572123 725916 652533338 100510176 714583077 995185465 11406295 725916 372473799 491363244 725916 925611281 139579909 725916 248536551 858441046 725916 810672756 751074163 725916 129902704 747194470 725916 281408124 8552275...
output:
11406295
result:
ok single line: '11406295'
Test #32:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
14 1 623816097 623816097 68434400 623816097 623816097 725559682 623816097 623816097 678758318 623816097 623816097 368499632 623816097 623816097 495567409 623816097 623816097 236794280 623816097 623816097 779885584 623816097 623816097 879061467 623816097 623816097 537101862 623816097 623816097 465992...
output:
5864098008
result:
ok single line: '5864098008'
Test #33:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
14 1 474097486 930251201 788591065 2688701 471061191 845510022 2688701 203686122 275418775 203686122 601081080 31535815 474097486 474097486 228315825 161901890 474097486 85031827 203686122 601081080 337856340 471061191 601081080 604276423 161332531 471061191 357335089 262608550 474097486 82141704 26...
output:
3746923312
result:
ok single line: '3746923312'
Test #34:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
14 1 494186620 531108277 961242307 620452125 623567580 364091773 23975216 357841107 512604788 59502148 793676488 729004547 293504000 748896401 598615542 398747973 967374174 642479347 31019655 476793418 584205112 376644841 543109385 320093318 874414082 884558783 925710684 327711462 354634260 92343656...
output:
4831774383
result:
ok single line: '4831774383'
Test #35:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
14 1 75174224 119784548 640235191 56979455 517584689 581193450 497947002 769774984 246540162 466114327 730965896 881923182 172607550 997207262 13580762 5487679 223191218 16441814 514455732 804556479 420528181 791494 889547290 132020407 57805993 72102775 395810666 24721884 570779130 309337420 2039556...
output:
4024725163
result:
ok single line: '4024725163'
Test #36:
score: 0
Accepted
time: 1ms
memory: 3656kb
input:
15 1 58620784 58620784 849177067 58620784 58620784 399820121 58620784 58620784 321591112 58620784 58620784 590469955 58620784 58620784 778815132 58620784 58620784 110225002 58620784 58620784 72173525 58620784 58620784 248944784 58620784 58620784 264448423 58620784 58620784 179086970 58620784 5862078...
output:
5517385453
result:
ok single line: '5517385453'
Test #37:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
15 1 120499167 737960258 289831217 188517125 861916695 432401208 314969249 489257625 134251335 314969249 479688236 934063647 737960258 915091291 728675035 479688236 915091291 112232840 188517125 489257625 381850362 737960258 737960258 600105949 479688236 915091291 755144458 314969249 811412746 19830...
output:
5223006777
result:
ok single line: '5223006777'
Test #38:
score: 0
Accepted
time: 1ms
memory: 3648kb
input:
15 1 266400374 703528681 36393824 594193361 976071354 322705157 154888493 979288360 146631352 322216381 884826148 118504871 105920740 250676363 218705399 46771526 407348616 919508420 65145206 796279271 881762405 105920740 913855482 438273012 250676363 886197297 601198860 413043368 866845047 44053716...
output:
4626188352
result:
ok single line: '4626188352'
Test #39:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
15 1 602765744 659388029 446747353 886778 924974969 66140536 63864811 894375873 887218253 151320987 886529554 545427866 232494922 677832640 227099350 464766957 668586498 66843806 486612493 881877055 922418153 465012711 690832285 819906688 165877800 755783659 60853420 24794931 997302251 802237488 268...
output:
7200638172
result:
ok single line: '7200638172'
Test #40:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
16 1 933616960 933616960 70111222 933616960 933616960 779113265 933616960 933616960 259391202 933616960 933616960 252631766 933616960 933616960 207287046 933616960 933616960 278623020 933616960 933616960 219237273 933616960 933616960 764052293 933616960 933616960 991794984 933616960 933616960 892181...
output:
6225784753
result:
ok single line: '6225784753'
Test #41:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
16 1 651052392 671389169 936295560 280953201 517073052 724325098 942202477 987541587 698116600 280953201 733156640 981815671 280953201 651052392 524001540 280953201 517073052 549499261 213071201 280953201 720811681 280953201 733156640 741159666 517073052 517073052 152953826 213071201 733156640 46420...
output:
7254321392
result:
ok single line: '7254321392'
Test #42:
score: 0
Accepted
time: 1ms
memory: 3644kb
input:
16 1 524883191 962211170 966321148 667341153 858112365 131575437 446096717 525047220 930401020 638356526 964764497 213037899 525047220 724960895 573954041 348268484 667341153 931696276 175922688 648075314 739128210 206072260 570755227 261485409 58976272 175922688 276687037 915307492 915307492 290731...
output:
5658331734
result:
ok single line: '5658331734'
Test #43:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
16 1 181038948 762840677 253259515 134123759 799291629 846054918 10628886 29338960 937961751 39703970 878299059 913965255 358211613 365812014 290874835 55652279 677909046 266988902 166567935 907544528 424308126 502938667 597999829 67601480 331641871 448929982 20863470 41853618 433958813 149913364 21...
output:
3646373294
result:
ok single line: '3646373294'
Test #44:
score: 0
Accepted
time: 1ms
memory: 3644kb
input:
14 11 596868476 596868476 1 596868476 596868476 1 596868476 596868476 1 596868476 596868476 1 596868476 596868476 1 596868476 596868476 1 596868476 596868476 1 596868476 596868476 1 596868476 596868476 1 596868476 596868476 1 596868476 596868476 1 596868476 596868476 1 596868476 596868476 1 59686847...
output:
3
result:
ok single line: '3'
Test #45:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
14 8 299755849 335236157 1 549362417 916670570 1 335236157 947600061 1 249715205 598937209 1 249715205 598937209 1 549362417 549362417 1 335236157 534977292 1 534977292 598937209 1 534977292 916670570 1 249715205 387109674 1 249715205 947600061 1 534977292 947600061 1 534977292 598937209 1 534977292...
output:
5
result:
ok single line: '5'
Test #46:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
14 14 147077273 719770043 1 249885468 453139504 1 289057660 904925065 1 468494784 501341613 1 470093219 615748838 1 95634637 468494784 1 196514909 441683724 1 126680367 514163748 1 93396333 851469378 1 93396333 758192196 1 679314973 780706964 1 273889708 464038211 1 472588578 861023617 1 275820318 6...
output:
0
result:
ok single line: '0'
Test #47:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
14 9 32194836 867511040 1 24929426 600929236 1 645179903 761449596 1 272098490 403964909 1 162554009 761001282 1 86735752 758283025 1 31569697 888406642 1 227882500 787874983 1 139365753 600929236 1 661812069 779073277 1 53830370 91705473 1 22000363 80904211 1 166028140 221764108 1 239136240 6436796...
output:
4
result:
ok single line: '4'
Test #48:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
15 6 645085168 645085168 1 645085168 645085168 1 645085168 645085168 1 645085168 645085168 1 645085168 645085168 1 645085168 645085168 1 645085168 645085168 1 645085168 645085168 1 645085168 645085168 1 645085168 645085168 1 645085168 645085168 1 645085168 645085168 1 645085168 645085168 1 645085168...
output:
9
result:
ok single line: '9'
Test #49:
score: 0
Accepted
time: 1ms
memory: 3648kb
input:
15 8 823807077 975971097 1 113623115 975950321 1 292870203 361429461 1 113623115 823807077 1 481887392 975950321 1 823807077 823807077 1 292870203 361429461 1 481887392 823807077 1 292870203 975971097 1 357760883 975950321 1 481887392 571068238 1 361429461 823807077 1 571068238 823807077 1 357760883...
output:
7
result:
ok single line: '7'
Test #50:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
15 12 296964699 369458229 1 369458229 735814213 1 42306146 588034934 1 770769000 799591226 1 565667645 627319603 1 565667645 791917364 1 369458229 779718230 1 47755733 195318995 1 55515122 408914018 1 225730264 887019018 1 80253904 839300530 1 33370637 245227584 1 291545577 779718230 1 166233725 839...
output:
3
result:
ok single line: '3'
Test #51:
score: 0
Accepted
time: 1ms
memory: 3652kb
input:
15 8 441583661 986820752 1 436112212 678812654 1 524453456 545274190 1 573197260 727196768 1 154284929 171432513 1 476133322 527409709 1 133104793 505301478 1 21867853 485912527 1 723426651 799823448 1 273454665 694167857 1 277391795 513601293 1 897650066 917364514 1 326281300 384499920 1 673838373 ...
output:
4
result:
ok single line: '4'
Test #52:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
16 6 988269156 988269156 1 988269156 988269156 1 988269156 988269156 1 988269156 988269156 1 988269156 988269156 1 988269156 988269156 1 988269156 988269156 1 988269156 988269156 1 988269156 988269156 1 988269156 988269156 1 988269156 988269156 1 988269156 988269156 1 988269156 988269156 1 988269156...
output:
10
result:
ok single line: '10'
Test #53:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
16 3 416964902 466102368 1 269145906 747197080 1 466102368 809243127 1 416964902 466102368 1 833418586 833418586 1 709333286 833418586 1 269145906 809243127 1 132477014 132477014 1 328412093 747197080 1 328412093 747197080 1 132477014 833418586 1 809243127 809243127 1 809243127 827626917 1 269145906...
output:
9
result:
ok single line: '9'
Test #54:
score: 0
Accepted
time: 1ms
memory: 3700kb
input:
16 12 174295242 413057436 1 123197795 628189289 1 39094163 196553473 1 586739568 686216852 1 78636381 911693355 1 174295242 208267547 1 405495253 413057436 1 521801925 970665926 1 326961516 833110805 1 300546802 805125059 1 549617140 916602876 1 205327600 851274679 1 293703057 730381664 1 244300337 ...
output:
4
result:
ok single line: '4'
Test #55:
score: 0
Accepted
time: 1ms
memory: 3708kb
input:
16 15 119090683 808687459 1 667152027 883164468 1 60945147 342057982 1 372980777 774456899 1 229207313 817030099 1 607771143 815307550 1 370044026 955887682 1 198383231 439460723 1 82743844 444409806 1 126886602 713587926 1 143187233 902942782 1 695911023 783135560 1 218042838 735506515 1 430463187 ...
output:
1
result:
ok single line: '1'
Test #56:
score: 0
Accepted
time: 1ms
memory: 3648kb
input:
15 7 845782549 992241211 1 879060576 992241211 1 955382199 992241211 1 656922228 992241211 1 285155200 992241211 1 142639807 992241211 1 397582855 992241211 1 955382199 992241211 1 283239044 992241211 1 285155200 992241211 1 955382199 992241211 1 898874014 992241211 1 346108700 992241211 1 136042555...
output:
8
result:
ok single line: '8'
Test #57:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
15 2 558159059 866753481 1 522651681 866753481 1 522651681 866753481 1 514335259 866753481 1 94553606 866753481 1 388431731 866753481 1 62028640 232503402 1 62028640 75658301 1 62028640 94553606 1 522651681 866753481 1 566258181 866753481 1 62028640 842530763 1 62028640 797975230 1 94553606 86675348...
output:
11
result:
ok single line: '11'
Test #58:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
15 8 11715276 794271156 1 813694606 975971097 1 11715276 250363341 1 11715276 813694606 1 11715276 571068238 1 813694606 975971097 1 11715276 571068238 1 11715276 975950321 1 481887392 975971097 1 11715276 361429461 1 11715276 250363341 1 11715276 85794810 1 481887392 975971097 1 11715276 234555532 ...
output:
4
result:
ok single line: '4'
Test #59:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
15 2 362432078 387471233 1 362432078 367115745 1 362432078 906953652 1 362432078 604561661 1 362432078 510376539 1 362432078 770782808 1 362432078 373389922 1 362432078 510376539 1 362432078 671370449 1 362432078 367115745 1 362432078 851531307 1 362432078 367115745 1 362432078 636155065 1 362432078...
output:
13
result:
ok single line: '13'
Test #60:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
16 16 160749046 957499484 1 333445586 957499484 1 43170959 957499484 1 289659654 957499484 1 284529152 957499484 1 388935887 957499484 1 220087724 957499484 1 220087724 957499484 1 281585584 957499484 1 192569595 957499484 1 192569595 957499484 1 192569595 957499484 1 805027435 957499484 1 284529152...
output:
0
result:
ok single line: '0'
Test #61:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
16 12 462638080 976852879 1 49365526 514922542 1 928335098 976852879 1 928335098 976852879 1 815347059 976852879 1 348738802 976852879 1 604090507 976852879 1 744335736 976852879 1 118290868 976852879 1 49365526 815347059 1 348738802 976852879 1 347945827 976852879 1 606375751 976852879 1 49365526 8...
output:
4
result:
ok single line: '4'
Test #62:
score: 0
Accepted
time: 1ms
memory: 3696kb
input:
16 3 14020822 771060062 1 771060062 966670910 1 14020822 401831692 1 14020822 771060062 1 328412093 966670910 1 14020822 809243127 1 14020822 190493401 1 827626917 966670910 1 833418586 966670910 1 14020822 833418586 1 14020822 827626917 1 401831692 966670910 1 14020822 466102368 1 673028871 9666709...
output:
10
result:
ok single line: '10'
Test #63:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
16 15 3333426 825886901 1 3333426 357346389 1 3333426 647213199 1 3333426 647213199 1 3333426 599596461 1 3333426 76435880 1 3333426 647213199 1 3333426 669445905 1 3333426 910525352 1 3333426 825886901 1 3333426 143455197 1 3333426 102245782 1 3333426 825886901 1 292805796 971828500 1 3333426 82588...
output:
1
result:
ok single line: '1'
Test #64:
score: -100
Runtime Error
input:
246 113 547075991 547075991 97098787 547075991 547075991 650529506 547075991 547075991 94194662 547075991 547075991 300831799 547075991 547075991 210979063 547075991 547075991 669838023 547075991 547075991 818481001 547075991 547075991 954968998 547075991 547075991 655551346 547075991 547075991 4500...