2016-11-14から1日間の記事一覧

AOJ 0038 Poker Hand

ポーカー | Aizu Online Judge分岐だけ、 #include <iostream> #include <cstdio> #include <string> using namespace std; string pairs[2][3] = { {"null","one pair","two pair"}, {"three card","full house",""} }; int main() { int n[5], c, three, two; while (scanf("%d,%d,%d</string></cstdio></iostream>…