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
alma
ssss
Test 2(2021)
Graph DFS
c++ car racing game
Find the Duplicate Number in array of n+1 integers having elements from 1 to n
big boom!
derive* -> gcc
Gatecrasher
swastic