Last active
May 15, 2019 07:48
-
-
Save whatalnk/c0454abffca09bd25de28b8787bae7e9 to your computer and use it in GitHub Desktop.
AtCoder ABC #099 A - ABD
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 <algorithm> | |
#include <cstdio> | |
#include <iostream> | |
#include <queue> | |
#include <string> | |
using namespace std; | |
int n; | |
void solve() { | |
if (n > 999) { | |
cout << "ABD" << endl; | |
} else { | |
cout << "ABC" << endl; | |
} | |
} | |
int main() { | |
cin >> n; | |
solve(); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment