QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#465638#7522. Sequence Shiftucup-team3884WA 224ms4856kbC++231.9kb2024-07-07 03:42:262024-07-07 03:42:26

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3888kb

input:

5 3
1 4 3 2 5
7 5 8 3 2
3
6
4

output:

11
13
16
25

result:

ok 4 lines

Test #2:

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

input:

1 0
103509429
823330096

output:

926839525

result:

ok single line: '926839525'

Test #3:

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

input:

1 1
576560149
691846236
1156187222

output:

1268406385
835582012

result:

ok 2 lines

Test #4:

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

input:

1 10
700282491
332230980
90825676
1630266999
644973380
262379760
2122877054
1851957134
1370195232
110993724
1319359505
1883523208

output:

1032513471
1654684398
759763732
888538827
1695749302
1163465539
1425605448
789576931
1397740634
1202288326
1638577353

result:

ok 11 lines

Test #5:

score: -100
Wrong Answer
time: 224ms
memory: 4856kb

input:

1000 100000
438001359 929744877 710148392 323984311 727016267 323629255 495752276 309120511 312675195 717795522 937464489 624952229 444774478 829169766 707441777 609125148 25459976 849166512 716162953 882416779 189669312 135698832 632796131 592794700 569746403 231058028 389412868 824283503 801480367...

output:

1962871590
1989184991
1967509108
1973351244
1974354421
1993431193
1976394149
1995721753
1963079606
1984280254
1961237540
1955903880
1976803782
1939440583
1993563403
1994929760
1989195899
1980713380
1992297637
1964350750
1989227557
1980597785
1988436991
1946961524
1980480082
1953947075
1979551950
194...

result:

wrong answer 2nd lines differ - expected: '1986083253', found: '1989184991'