Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~554 People Reached
Favorite Forums
Favorite Tags
Member Avatar for invisiblemaa

I'm trying to solve Problem #54 of Project Euler, which is basically evaluating poker hands. My program currently outputs 383, but the answer should be 376. My full code #include <iostream> #include <string> #include <fstream> #include <vector> #include <sstream> using namespace std; //CLUBS=14; //SPADES=15; //HEARTS=16; //DIAMONDS=17; int value(char str){ switch …

Member Avatar for TrustyTony
-1
554