QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#91822#5743. Palindromic Polynomialtzc_wkTL 366ms3828kbC++144.5kb2023-03-29 17:13:352023-03-29 17:13:38

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 3720kb

input:

8
2
0 1
2 4
3
0 1 2
2 10 36
4
0 1 2 3
1 4 9 16
5
0 1 2 3 4
1 25 961 14641 116281
2
2 500000005
5 375000004
2
2 500000005
5 375000004
2
2 500000005
1 2
3
2 500000005 3
5 375000004 10

output:

4
2 0 0 0 2
6
2 499999992 250000023 499999994 250000023 499999992 2
8
1 219444442 747685194 447222236 171296285 447222236 747685194 219444442 1
10
1 220932529 904208073 568307571 27339787 558424139 27339787 568307571 904208073 220932529 1
3
416666670 541666673 541666673 416666670
3
416666670 5416666...

result:

ok OK (8 test cases)

Test #2:

score: 0
Accepted
time: 366ms
memory: 3828kb

input:

10
100
24820 26839 18512 6097 25046 22372 21548 2359 17721 9732 16436 12710 14995 4112 17855 28268 28129 13501 23470 16561 8633 29875 13119 10835 15842 14515 5588 10553 28603 3849 12379 17065 15155 15079 26029 3003 2878 29555 3609 8886 2841 17696 9648 4533 5924 12557 25988 29061 26075 28447 28620 20...

output:

200
1 586824842 23266180 435683114 91058397 298943272 757459418 18857042 34699348 620526775 849338772 5423434 801644207 115588806 691144185 511037804 964348631 249072606 508502941 498526761 581987409 423101177 580469478 550657602 966939015 863317819 511002171 862690372 836867991 40644476 377993764 9...

result:

ok OK (10 test cases)

Test #3:

score: -100
Time Limit Exceeded

input:

1
1000
112 16069 28329 8759 23521 1674 11755 9574 19846 5769 27729 17604 3648 29441 25349 24311 6088 2549 6437 16310 25464 25775 20988 21334 3451 1098 26971 3856 28015 24136 18147 24690 4690 4517 14412 29017 14675 5027 18071 4428 29328 28568 12161 2780 23653 21472 21227 23968 1331 24977 7243 13552 6...

output:


result: