QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#387496#3729. 有向无环图ucup-team1383TL 542ms6944kbC++17907b2024-04-12 16:06:182024-04-12 16:06:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 542ms
memory: 6944kb

input:

100 1000
319004917 684910821
907666796 361501921
990110346 495921276
951755324 22154474
277941981 203276467
905615968 591029035
471506063 837795091
234419550 64665515
765300844 909483732
703958148 563691443
58282301 229501700
780981783 452543212
501031483 72941519
351050915 172139575
820012246 85422...

output:

34927818

result:

ok 1 number(s): "34927818"

Test #2:

score: 0
Accepted
time: 446ms
memory: 6040kb

input:

100 1000
496262098 748601780
611769533 84051902
89082614 686987377
457583618 950506756
536245182 447146513
707160291 369010582
474374707 614741781
188246031 353231462
947856024 38475857
276760764 355193910
845901259 782635063
609319407 32320907
552188653 739154230
649359784 143858208
931159955 46034...

output:

442603718

result:

ok 1 number(s): "442603718"

Test #3:

score: -100
Time Limit Exceeded

input:

100 1000
378551987 885921667
242243342 101569176
483022176 214489967
4881109 173826328
384482967 691016559
508704615 441959421
772210644 728124961
100603315 641797409
204040130 946129621
849563381 483132867
264923996 335768425
511285959 22164019
898313115 110399648
242635944 452013330
968678735 4765...

output:


result: