Search found 2 matches

by agrskk2
Fri May 08, 2015 9:35 am
Forum: Volume 103 (10300-10399)
Topic: 10315 - Poker Hands
Replies: 63
Views: 38630

Re: 10315 - Poker Hands

Here is the code.


/*
* UVa Online Judge
* 10315 - Poker Hands
* Ad-Hoc - Game
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>

typedef enum {
BLACK = 0,
WHITE = 1,
PLAYER_COUNT,
TIE,
} player;

typedef enum {
HIGH_CARD, PAIR, TWO_PAIRS, THREE_OF_A_KIND ...
by agrskk2
Mon Apr 27, 2015 3:19 pm
Forum: Volume 103 (10300-10399)
Topic: 10315 - Poker Hands
Replies: 63
Views: 38630

Re: 10315 - Poker Hands

Hello,

my solution is passing all the cases that ar posted in this thread and I checked with my own cases that were made for each cobination I could think of, but still getting WA.

Could somone provide some tricky test cases or any other clues?

Thanks.

Go to advanced search