Created
May 17, 2019 11:56
-
-
Save whatalnk/08950ae51e67cc08f37deb7d4363216a to your computer and use it in GitHub Desktop.
AtCoder ABC #100 A - Happy Birthday!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
static int A, B; | |
void solve(); | |
void solve() { | |
if (A <= 8 && B <= 8) { | |
cout << "Yay!" << endl; | |
} else { | |
cout << ":(" << endl; | |
} | |
} | |
int main() { | |
cin >> A >> B; | |
solve(); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment