АВТ
Language:

Remote Training on Programming

Problems On-line status Contests FAQ
For authors:
Register  ||  Login
 
Hello, Guest! Login or register.

986. A68b

Time Limit: 1 seconds
Memory Limit:65536KB
Points:2
View Problem Statistics Submit Problem added Undefined

Дано натуральное число N. Верно ли, что это число содержит ровно три одинаковые цифры

Input

Натуральное число N, не превышающее 9999 включительно.

Output

Надпись "verno", если число удовлетворяет вопросу задания

Sample

InputOutput
Пример 1. Вход:
4544
Пример 1. Выход:
verno
InputOutput
Пример 2. Вход:
1547
Пример 2. Выход:

View Problem Statistics Submit Author/source:
Educational Courses / New problems in testing /
957. A67g 986. 1025. A74 1045. A77v 1047. A78B
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.
time generating 0.125 sec.
© Copyright VSTU, AVT, Nosov D.A.