QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#97216#3614. Math TradeGuanYunchangWA 1ms1760kbC++981.1kb2023-04-16 16:21:142023-04-16 16:21:21

详细

Test #1:

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

input:

4
Sally Clock Doll
Steve Doll Painting
Carlos Painting Clock
Maria Candlestick Vase

output:

3

result:

ok single line: '3'

Test #2:

score: 0
Accepted
time: 1ms
memory: 1760kb

input:

4
Abby Bottlecap Card
Bob Card Spoon
Chris Spoon Chair
Dan Pencil Pen

output:

No trades possible

result:

ok single line: 'No trades possible'

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 1612kb

input:

10
P0 I0 I0X
P1 I1 I2
P2 I2 I9
P3 I3 I7
P4 I4 I6
P5 I5 I3
P6 I6 I1
P7 I7 I8
P8 I8 I5
P9 I9 I4

output:

9

result:

wrong answer 1st lines differ - expected: '5', found: '9'