CCC '01 S1 - Keeping Score


Submit solution

Points: 1
Time limit: 2.0s
Memory limit: 256M

Problem types
Allowed languages
C++, Python
Sample Output 1
Cards Dealt              Points
Clubs 2 5 8 T J K             4
Diamonds 6 9 Q A              6
Hearts                        3
Spades T J A                  5
                       Total 18

Sample Input 2

CAD578KAHAS47TQKA

Sample Output 2

Cards Dealt              Points
Clubs A                       6
Diamonds 5 7 8 K A            7
Hearts A                      6
Spades 4 7 T Q K A            9
                       Total 28

Note : your output does not need to match exactly. The spacing is up to you.


Comments

There are no comments at the moment.