#include using namespace std; /////////////////// メイン /////////////////// int main () { //////////////////// 入力 //////////////////// int n = 3; vector a(n); for (int i=0; i> a.at(i); } //////////////// 出力変数定義 //////////////// string result = "RED"; //////////////////// 処理 //////////////////// int red = 0; int blue = 0; for (string s : a) { if (s=="RED") red++; else blue++; } if (red