abc181_a - Heavy_Rotation
31 Jan 2021 — Tags: easy — URLIf $n$ days pass, Takahashi will wear black if $n$ is odd and white otherwise.
Time complexity: $O(1)$
Memory complexity: $O(1)$
Click to show code.
using namespace std;
using ll = long long;
using ii = pair<int, int>;
using vi = vector<int>;
int main(void)
{
ios::sync_with_stdio(false), cin.tie(NULL);
int n;
cin >> n;
cout << (n % 2 ? "Black" : "White") << endl;
return 0;
}