ll@n,@m; string@s[m]; seth; ull a=(ull)time(0)|1; rep(x,n){ ull v=0; rep(y,m){ v=v*a+s[y][x]; } if(h.count(v)){ wt("No"); exit(0); } h.insert(v); } wt("Yes");