Skip to content

Commit 12333f8

Browse files
committed
atcoder/abc059D
1 parent 04fdb18 commit 12333f8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

atcoder/abc059/D/main.cpp

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#include <bits/stdc++.h>
2+
3+
using namespace std;
4+
using ll = long long;
5+
6+
string solve(ll X, ll Y) {
7+
ll Z = abs(X - Y);
8+
return Z <= 1 ? "Brown" : "Alice";
9+
}
10+
11+
int main() {
12+
ios_base::sync_with_stdio(false);
13+
cin.tie(0); cout.tie(0);
14+
15+
ll X, Y;
16+
cin >> X >> Y;
17+
cout << solve(X, Y) << endl;
18+
19+
return 0;
20+
}

0 commit comments

Comments
 (0)