QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#90408#5743. Palindromic Polynomialtzc_wkWA 38ms11192kbC++146.7kb2023-03-22 22:20:372023-03-22 22:20:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 38ms
memory: 11192kb

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:

10000
2 20000 99990000 233337003 417499503 264998888 777310294 205572619 410895401 74089983 323301352 616407043 190824761 227515057 799489565 580181621 257089599 928384321 947810738 476142192 218758781 914886424 347797409 535761560 53876501 938878774 665987943 798654959 499494091 412242439 648977415...

result:

wrong answer Test case 1: Mismatch at point x=1. Expected A(x)=4, got A(x)=140761790. (test case 1)