QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#403576 | #4859. Poker Game: Construction | utilforever | AC ✓ | 232ms | 2260kb | Rust | 34.0kb | 2024-05-02 15:03:47 | 2024-05-02 15:03:48 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 2192kb
input:
3 JC 4H TS 5D 7C 3C 7H TH 2D KH 4D JC
output:
YES JD JH JS 4D 4C 4S YES TD TC TH 5C 5H 5S YES TD TC TH JD 4D 5C YES 7D 7S 3D 3H 3S 2D YES 2H 4H 5H 6H 8H 9H YES TD TC TS 3D 2D 2C YES KD KC KS 2C 2H 2S YES JD JH JS 4C 4H 4S YES JD JH JS KD 2C 4C
result:
ok 3 test cases (3 test cases)
Test #2:
score: 0
Accepted
time: 0ms
memory: 2080kb
input:
2 AS AH AC AD AS AH 2S 2H
output:
YES 2H 3S 4D 5C 6H 7S NO YES 2D 2C 2H 2S 3D 3C YES AD AC 3D 3C 3H 3S YES 2D 2C 3D 3C 3H 3S NO
result:
ok 2 test cases (2 test cases)
Test #3:
score: 0
Accepted
time: 0ms
memory: 2124kb
input:
1 3C 3D 3H 5S
output:
YES 2H 4S 6D 7C 8H 9S YES 5D 5C 5H AD AC AH YES 3S 5D 5C 5H 2C 2H
result:
ok 1 test cases (1 test case)
Test #4:
score: 0
Accepted
time: 0ms
memory: 2188kb
input:
1 9C KC JC 5D
output:
YES KD KH KS 9D 9H 9S YES JD JH JS 5C 5H 5S YES 5C 5H 5S KD 9D JD
result:
ok 1 test cases (1 test case)
Test #5:
score: 0
Accepted
time: 227ms
memory: 2092kb
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 7D 7H 7S 6D 6C 6H YES KD KC KS 3D 3C 3H NO YES 5D 5C 5H 2C 2H 2S YES AD AH AS TD TC TH NO YES QC QH QS 6D 6C 6S YES JC JH JS TD TH TS YES JC JH JS QC 6D TD YES AC AH AS 5D 5H 5S YES TD TC TS 4D 4C 4H YES 4D 4C 4H AC 5D TD YES AC AH AS 3D 3C 3H YES JD JH JS 5D 5C 5H YES JD JH JS AC 3D...
result:
ok 100000 test cases (100000 test cases)
Test #6:
score: 0
Accepted
time: 231ms
memory: 2260kb
input:
100000 6D 7D 8C JH 2C 4S 3D 2D 8C AD 7H 5S QC JC JH 7H TC TH 9D 5D 7S 3C TC 7D JD 5C 4C 6D 4S 5H 7D 6C AC TH 7D 4D QH 3D TS KC AD 8D 5H 3S 9D 6D 6S 2C JH KS 7C 3H QD 7C 7S KD 8H 9D 3C KD 7H 9S KD TS 5D KH 3C AC 4S 3D 4C 3C 9C 2H 8C JH 8H 9C KS 5S QC 4S 9H TH TD KD JC 8D AS KH KS 2H 7D 6D AD 6S 7H 6C...
output:
YES 7C 7H 7S 6C 6H 6S YES JD JC JS 8D 8H 8S NO YES 4D 4C 4H 2H 2S 5H YES 5D 6D 7D 8D 9D TD YES 3C 3H 3S 4D 5D 5C YES AC AH AS 8D 8H 8S YES 7D 7C 7S 5D 5C 5H NO YES QD QH QS JD JS 2D YES 2H 3H 4H 5H 6H 8H YES 7D 7C 7S QD 2D 2C YES TD TS 2D 2C 2H 2S YES 9C 9H 9S 5C 5H 5S NO YES 7C 7H 3D 3H...
result:
ok 100000 test cases (100000 test cases)
Test #7:
score: 0
Accepted
time: 226ms
memory: 2092kb
input:
100000 5S 6H 6D KH AS 3D KS 3S 7S 4S 7D JD 4D 6D 7D AD 2C JH 6C QD 7H TC JD 3C TC 2C AH JH 3C 9S 5S 9H JC 6H QS 3H 6D 7C 2D 4D 9H 8C QC KS 7H 9S TH JS JS AS 8H QH 8D 5S 7S 3S 2D QD AC 9H 3H 6S 8H JC 3H 8C 4H AS QC TH 9S 6S 3S 9D 7C TC QS JC 6S 9S 4C 9S 5S 6D 3H AH 4D 3D 7H 2C QH 7C 3C QS QD KH 5C QH...
output:
YES 6C 6S 5D 5C 5H 2D YES KD KC 6C 6S 2H 3S YES KD KC KS 5D 2D 2C YES AD AC AH 3C 3H 2C YES 2S 4S 5S 6S 7S 8S YES KD KC KH AD 2D 2C YES 7C 7H 4D 4C 4H 2H YES 2D 3D 5D 6D 8D 9D YES JC JH JS 4D 2D 2C YES 6C 6H 6S 4C 4H 4S YES AC AH AS 7C 7H 7S NO YES JD JC JS 2D 2H 2S YES QC QH QS 6D 6H 6S...
result:
ok 100000 test cases (100000 test cases)
Test #8:
score: 0
Accepted
time: 225ms
memory: 2096kb
input:
100000 QS 2C 8D 3H AD JD 5H 9H 5C JS 4S 3C 9D 9S TH QC 6C 6H QH 4S JH JD 7H 6C KC 9D 4C 5C 3H QC 6H 8H 7S 4S 3S 8C 6C 4D AD 9H 8H 3S JS KC 3C AS 9S 2C 8D 7D 8S KC 4S JD TH 7D 3D 9S AD AC 9D 2D 2S KH 6D AC 7H 2D 4D AC 5D JC JH JD 2C 6D 8S 6D 9S 5S JD 9C 6C 7S TC 6H TH 9H JD 8D 8H KH 5C 9C AH 9D 2S TH...
output:
YES QD QC QH 2D 2H 2S YES 8C 8H 8S 3D 3C 3S YES 8C 8H 8S QD 2D 3D YES AC AH AS JC JH JS YES 9D 9C 9S 5D 5C 5S NO YES JD JC JH 5D 5H 5S YES 4D 4C 4H 3D 3H 3S NO YES 9C 9H 2D 2C 2H 2S YES QD QH QS TD TC TS NO YES 6D 6S 2D 2C 2H 2S YES QD QC QS 4D 4C 4H NO YES JC JS 2D 2C 2H 2S YES 7D 7C 7S...
result:
ok 100000 test cases (100000 test cases)
Test #9:
score: 0
Accepted
time: 222ms
memory: 2252kb
input:
100000 JS TS 6S AH 9H 2D 9D 2C 8S TH KC 9H AD 7H AS 2S 6D TC TS 9D 2S 3C JH 2D 7D QH 2D KC JD 8C 4D TS 7C 2H JC 6C 2S 8C AH 5C JS 2D AH QD 6D 6H 9D TH KD 2H 2S AC 2H 3D AH 9H 2H KC TS JC 2H 5H 8S KD 4H 6C 5S QS 3D AC 5S JC 7S 9C KS 5S 9C AD KC 4H 5H KH TD KD 8C 4D 3S 8S 5D JC JS KS 8H AD 8D 2H AS QD...
output:
YES JD JC JH TD TC TH YES AD AC AS 6D 6C 6H NO YES 9C 9S 2H 2S 3H 4H NO YES 3D 3C 4H 4S 5D 5C YES TD TC TS 8D 8C 8H YES KD KH KS 9D 9C 9S YES KD KH KS TD 8D 9D YES AC AH 7D 7C 7S 3C YES 3S 4S 5S 6S 8S 9S YES 2D 2C 2H 7D 3D 3C YES TD TH 6C 6H 6S 2C YES 9C 9H TD TH 2C 3H YES 9C 9H 9S 6C 2D...
result:
ok 100000 test cases (100000 test cases)
Test #10:
score: 0
Accepted
time: 232ms
memory: 2184kb
input:
100000 TH 9C 3H KH QD 5C AS 7D 6D 4C 5S 7H 2D 6H 9C 4C JD AC 7D JC TC 3S QH 2D JC 5H 9D 7S 6S TC 7S KC 4S TS 7S QS TD KS 7D 8H KS 2D 5H 7C 9C KH 2S 9D JD 5H 9C QH 7D QC 6H KC 6S 7D KS 6C TC KD 2C 4D 3S 5S AD 6S KH 7D KS 5H QC QH 8C 3S KH AC 8D TS QD TH 9C 8C KS 8H 9C QC 6D 8H 9D TH 9C 5S 6C 6S KH 6S...
output:
YES TD TC TS 9D 9H 9S YES KD KC KS 3D 3C 3S NO YES QC QH QS 5D 5H 5S YES AD AC AH 7C 7H 7S YES AD AC AH QC 5D 7C YES 6C 6H 6S 4D 4H 4S YES 7D 7C 7S 5D 5C 5H YES 7D 7C 7S 6C 4D 5D YES 6D 6C 6S 2C 2H 2S YES 9D 9H 9S 4D 4H 4S YES 9D 9H 9S 6D 2C 4D YES AD AH AS JH JS 2S YES 7C 7H JH JS 2C 3H...
result:
ok 100000 test cases (100000 test cases)