QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#673562#8139. Ayano and sequencesucup-team4936WA 18ms97924kbC++143.8kb2024-10-24 23:56:542024-10-24 23:56:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 18ms
memory: 97924kb

input:

5 6
1 2 3 4 5
2 2 4 1
1 2 3 3
2 3 4 3
1 3 5 4
2 1 5 2
1 1 3 2

output:

2 12 12 36 0

result:

ok single line: '2 12 12 36 0'

Test #2:

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

input:

10 10
9 2 8 8 6 5 4 8 5 3
2 2 6 268792718
2 7 8 125908043
2 2 3 150414369
2 6 10 856168102
2 4 5 274667941
1 1 9 6
2 2 6 646837311
2 6 6 105650419
2 7 9 254786900
2 1 7 73936815

output:

0 1795206697 5993176714 2215968376 4768635998 46271691633 0 5629806604 0 0

result:

ok single line: '0 1795206697 5993176714 221596...98 46271691633 0 5629806604 0 0'

Test #3:

score: -100
Wrong Answer
time: 7ms
memory: 95888kb

input:

100 100
59 96 34 48 8 72 67 90 15 85 7 90 97 47 25 44 69 6 86 32 57 47 21 9 63 10 75 35 61 11 75 100 50 53 15 40 35 86 97 77 27 30 35 91 72 87 56 25 95 70 60 22 47 49 68 61 35 87 16 54 20 91 35 39 64 21 58 44 5 20 61 87 66 74 45 64 9 84 1 26 32 63 53 33 96 47 73 94 45 32 99 14 44 48 1 78 7 10 68 52
...

output:

274832111654 0 0 0 309880184 347085980 0 5208679581 0 0 1391288895991 462582810805 0 309880184 0 309880184 0 1640407879838 0 1470341419 1160461235 0 0 2683328865740 1041257940 46672170424 0 951255722094 0 0 745763490126 121425405126 683986398348 138178909497 1470341419 0 0 2492776390926 803237982998...

result:

wrong answer 1st lines differ - expected: '274832111654 0 0 0 309880184 3...994 609693254112 307568016399 0', found: '274832111654 0 0 0 309880184 3...650 609693254112 259136248439 0'