Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
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
MCM
char
Policy based smart pointer
new delete malloc free
HeatPump COP
Continuous Sub Set with given sum
Menu Combination Sum
Christopher-Stellar
ONP is working!
DeepaC++