Skip to content

Instantly share code, notes, and snippets.

@1119-2916
Created September 26, 2017 09:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 1119-2916/7eef9a39fe54f35c4bb13fac7a43964b to your computer and use it in GitHub Desktop.
Save 1119-2916/7eef9a39fe54f35c4bb13fac7a43964b to your computer and use it in GitHub Desktop.
codfes2017quala
// テンプレート部分は省略
signed main()
{
std::ios::sync_with_stdio(false);
std::cin.tie(0);
string st;
cin >> st;
if (st.size() < 4) {
cout << "No" << endl;
return 0;
}
if (st[0] == 'Y' &&
st[1] == 'A' &&
st[2] == 'K' &&
st[3] == 'I') {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment