QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#287724#4939. Red Black Ballucup-team1005#WA 1ms3844kbC++203.1kb2023-12-20 22:08:072023-12-20 22:08:08

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3680kb

input:

2 3
1 BLACK
10 RED
2 5 7

output:

3

result:

ok single line: '3'

Test #2:

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

input:

2 3
1 RED
10 BLACK
2 4 7

output:

6

result:

ok single line: '6'

Test #3:

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

input:

2 3
1 RED
10 BLACK
7 4 2

output:

6

result:

ok single line: '6'

Test #4:

score: -100
Wrong Answer
time: 1ms
memory: 3844kb

input:

20 46
238846592 BLACK
199923217 RED
526626128 BLACK
62308338 RED
523811748 RED
59432 BLACK
273113193 BLACK
730729301 BLACK
973259012 RED
225318015 BLACK
611574923 RED
234880345 RED
485448383 BLACK
405607946 BLACK
747693124 RED
794086621 BLACK
91585417 BLACK
466451303 RED
244184598 RED
334788273 RED
...

output:

748106537

result:

wrong answer 1st lines differ - expected: '850819974', found: '748106537'