ABC100A - Happy Birthday!
#include <iostream> using namespace std; int main(void) { int a, b; cin.tie(0); ios::sync_with_stdio(false); cin >> a >> b; cout << (a <= 8 && b <= 8? "Yay!" : ":(") << "\n"; return 0; }
"\n;で提出し、1CE。。
#include <iostream> using namespace std; int main(void) { int a, b; cin.tie(0); ios::sync_with_stdio(false); cin >> a >> b; cout << (a <= 8 && b <= 8? "Yay!" : ":(") << "\n"; return 0; }
"\n;で提出し、1CE。。