QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#18818#1877. Matryoshka DollsflowerWA 11ms17976kbC++147.8kb2022-01-27 13:57:552022-05-06 02:44:54

詳細信息

Test #1:

score: 100
Accepted
time: 5ms
memory: 11832kb

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: 2ms
memory: 11856kb

input:

1 1
1
1 1

output:

0

result:

ok 1 number(s): "0"

Test #3:

score: -100
Wrong Answer
time: 11ms
memory: 17976kb

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:

5000049999

result:

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