QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#119245#4859. Poker Game: ConstructionutilforeverWA 169ms3488kbC++2015.5kb2023-07-05 08:47:272023-07-05 08:47:30

詳細信息

Test #1:

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

input:

3
JC 4H
TS 5D
7C 3C
7H TH
2D KH
4D JC

output:

YES JS 7C KH AH 8D 3C
YES TH TD TC 5S 5H 5C
YES JS 4S TH 5S 5H 5C
YES 7S AD 5S QD KC 4D
YES TS TD 5H KH JH 9H
YES 3S TS TD TC 6S 6H
YES 2S 9S AS 7S 6S 8H
YES 4S 4H 4C JS JH JD
YES 2S KS 4S JS JH JD

result:

ok 3 test cases (3 test cases)

Test #2:

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

input:

2
AS AH
AC AD
AS AH
2S 2H

output:

YES 9S 8S 6S 4H 9H 9D
NO
YES KS KH QS QH 7S 7H
YES AD 4C 9C QH JD 7H
YES 2D 2C 4H 9C 8C TC
NO

result:

ok 2 test cases (2 test cases)

Test #3:

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

input:

1
9C KC
JC 5D

output:

YES 9S 8D 3S 7D 2D AD
YES JS JH JD 5S 5H 5C
YES 9S KS JS 5S 5H 5C

result:

ok 1 test cases (1 test case)

Test #4:

score: -100
Wrong Answer
time: 169ms
memory: 3456kb

input:

100000
6S 7C
KH 3S
5S 2D
AC TS
QD 6H
TC JD
5C AD
4S TH
AD 3S
JC 5S
TH QH
9S JH
AD JC
JS 7H
3S 9S
JC 6S
4D 7S
3S JH
AD JS
7D 4D
7D QS
QH JC
4H JS
7H TS
5D AD
3S 8D
AC TH
5D 3S
9H TD
TS 7D
7D 8C
AD 5H
7C QS
2C TH
QD AS
4S 2H
8D JS
9S 5H
2C TC
2D 5S
TD 2C
AS 2D
6H 6S
AC 2S
2C 8D
4C KS
JD 9D
2D AD
AS QH...

output:

YES 6H TC 5C 8S 9S JD
YES KS KD KC 3H 3D 3C
NO
YES 5H 6S 3H QS 8S 7D
YES AS AH AD TH TD TC
NO
YES QS 4D 3D KD 5D 7D
YES TS TH TD JS JH JC
YES QS 6S TS JS JH JC
YES 5S 8C KD QC 2D 7D
YES 4H 4D 4C TS TD TC
YES 5S AS 4H 4D 4C TS
YES AS 2H 7D 9S 8H KH
YES JS JH JD 5H 5D 5C
YES AS 3H JS 5H 5D 5C
YES TS 5...

result:

wrong answer The construction is wrong. (test case 99)