QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#157843#5547. Short Functionntu_vjudge_2TL 1275ms4648kbC++171.4kb2023-09-02 15:55:132023-09-02 15:55:13

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 3616kb

input:

5 2
1 2 3 4 5

output:

24 120 60 40 30 

result:

ok 5 number(s): "24 120 60 40 30"

Test #2:

score: 0
Accepted
time: 2ms
memory: 3700kb

input:

8 3
12 5 16 14 10 6 9 2

output:

14515200 14515200 14515200 14515200 14515200 14515200 14515200 14515200 

result:

ok 8 numbers

Test #3:

score: 0
Accepted
time: 2ms
memory: 3656kb

input:

6 10
3 7 8 2 9 5

output:

56347321 169041963 833775940 811788154 844769833 639990479 

result:

ok 6 numbers

Test #4:

score: 0
Accepted
time: 0ms
memory: 3688kb

input:

2 100
1 2

output:

917380677 917380677 

result:

ok 2 number(s): "917380677 917380677"

Test #5:

score: 0
Accepted
time: 2ms
memory: 3616kb

input:

1 1
1

output:

1 

result:

ok 1 number(s): "1"

Test #6:

score: 0
Accepted
time: 4ms
memory: 3628kb

input:

119 1000000000
179906895 883175111 831258723 617910763 41850684 952649819 667608052 992898634 871657688 261948841 858714230 452797779 698675390 39373823 268148685 762575950 789163136 676908074 134428624 583625412 549545785 415007638 564283552 596519552 575204092 884934270 632550339 21505752 66058955...

output:

375116230 26429781 713091228 558890530 21930790 178825460 670077410 523152589 669414287 97987884 399677029 513881456 107722471 353957452 946672010 508449163 23021836 445766752 334151026 1826665 117696761 694568123 949667235 876304874 367174487 169501255 197879871 462516615 208040656 770105543 958714...

result:

ok 119 numbers

Test #7:

score: 0
Accepted
time: 1275ms
memory: 4648kb

input:

60928 1000000000
647034012 758455477 62531806 937429685 597725392 151383361 375173809 62379754 462035375 121434573 370644921 339070881 459180118 524525232 539383343 825690592 862037426 643159998 695754897 799399539 500951305 271294315 721183291 342758823 636098292 891075586 970208329 452034355 24183...

output:

946516222 315310335 562683949 614527727 961228460 778673772 124575531 202861813 358534859 463200249 437273635 356795795 655879659 656235247 146099590 498035900 865525574 430376201 130782952 913561838 202654508 797237275 262113868 612420852 524859489 566612380 301295588 835552939 554799099 203338329 ...

result:

ok 60928 numbers

Test #8:

score: -100
Time Limit Exceeded

input:

100000 1000000000
984343843 231975068 819209000 195274035 278601046 224249013 804551337 222857445 609670477 952095628 931244133 748912217 393911483 638420373 194474592 489497425 54112292 382356337 859661508 879670192 828408437 52769079 102069187 265385606 611233228 110980823 246539650 225276298 8149...

output:


result: