QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#19076#1877. Matryoshka DollshyddWA 909ms45024kbC++143.7kb2022-01-27 23:39:452022-05-06 03:54:17

詳細信息

Test #1:

score: 100
Accepted
time: 7ms
memory: 42392kb

input:

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

output:

7
5
3
1
0

result:

ok 5 number(s): "7 5 3 1 0"

Test #2:

score: 0
Accepted
time: 7ms
memory: 40360kb

input:

1 1
1
1 1

output:

0

result:

ok 1 number(s): "0"

Test #3:

score: -100
Wrong Answer
time: 909ms
memory: 45024kb

input:

100000 1
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 ...

output:

-3589984592

result:

wrong answer 1st numbers differ - expected: '4999950000', found: '-3589984592'