Var a: word; b, c, d: byte; begin readln(a); b : = a mod 10; c : = a div 10 mod 10; d : = a div 100; writeln(b, ' ', c, ' ', d); if ((b in [c, d]) or (c in [b, d]) or (d in [b, c])) then writeln('yes, there are') else writeln('no, there aren"t'); end.
Популярные вопросы