Skip to content

Commit 0225ab1

Browse files
committed
atcoder/abc033A
1 parent f5f63b4 commit 0225ab1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

atcoder/abc033/A/main.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#include <bits/stdc++.h>
2+
3+
using namespace std;
4+
using ll = int64_t;
5+
using ff = long double;
6+
7+
int main() {
8+
ios_base::sync_with_stdio(false);
9+
cin.tie(0); cout.tie(0);
10+
11+
string N;
12+
cin >> N;
13+
auto same = (N[0] == N[1] && N[1] == N[2] && N[2] == N[3]);
14+
cout << (same ? "SAME" : "DIFFERENT") << endl;
15+
16+
return 0;
17+
}

0 commit comments

Comments
 (0)