Open utterances-bot opened 3 years ago
Use two HashSets to store strings with ! and without ! separately. If their intersection is non-empty, we can output any string in it, otherwise we output satisfiable.
https://cp-wiki.vercel.app/en/tutorial/atcoder/ABC187/
thanks bro
AtCoder Beginner Contest 187 Editorial | CP Wiki
Use two HashSets to store strings with ! and without ! separately. If their intersection is non-empty, we can output any string in it, otherwise we output satisfiable.
https://cp-wiki.vercel.app/en/tutorial/atcoder/ABC187/