A. Generous Kefa

作者:A. Generous Kefa 来源:未知 2022-06-21 09:11   阅读:

OnedayKefafoundnbaloons.Forconvenience,wedenotecolorofi-thbaloonassi—lowercaseletteroftheLatinal

One day Kefa found n baloons. For convenience, we denote color of i-th baloon as si — lowercase letter of the Latin alphabet. Also Kefa has k friends. Friend will be upset, If he get two baloons of the same color. Kefa want to give out all baloons to his friends. Help Kefa to find out, can he give out all his baloons, such that no one of his friens will be upset — print ?YES?, if he can, and ?NO?, otherwise. Note, that Kefa's friend will not upset, if he doesn't get baloons at all.

分享给小伙伴们:
A. Generous Kefa:如果本文侵犯了您的权利, 请联系本网立即做出处理,谢谢。
当前位置:殿试作文网 > 视力英语作文A. Generous Kefa转载请注明出处。
上一篇:exit()和
下一篇:没有了
A. Generous Kefa相关文章