Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
2
//g++ 7.4.0 #include <bits/stdc++.h> using namespace std; int main() { char a,b,c,d; cin>>a>>b>>c>>d; set<int> set; set.insert(a); set.insert(b); set.insert(c); set.insert(d); if(set.size()==2) cout<<"YES"<<endl; else cout<<"NO"<<endl; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
collection Hetero
pointer array of functions
c++
volatile thread-safe object
Equilateral triangle
template
LRUCache
Intersected Rectangles
20201123
Bank System
Please log in to post a comment.