#define _CRT_SECURE_NO_WARNINGS #define _USE_MATH_DEFINES #include "bits/stdc++.h" #define REP(i,a,b) for(i=a;i> name) { getchar(); getline(cin, words); if (name == "digi") { last = "nyo"; judge1(); } else if (name == "petit") { last = "nyu"; judge1(); } else if (name == "rabi") { rep(i, words.size()) { if (not is_symbol(words[i])) { print_ok(); break; } } if (i == words.size()) print_worng(); } else if (name == "gema") { last = "gema"; judge1(); } else if (name == "piyo") { last = "pyo"; judge1(); } else { print_worng(); } } }