#include using namespace std; using ll = long long; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> s; map mp; for(char c : s){ mp[c]++; } for(auto pa : mp){ ll count = pa.second; if(count>1){ p_no(); return 0; } } p_yes(); return 0; }