АВТ
Language:

Remote Training on Programming

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

1094. Поиск цифры в числе

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

Дано натуральное число n. Выяснить, входит ли цифра 3 в запись числа n в квадрате.(Вводить в диапазоне от -1000000000 до 1000000000)

Input

Натуральное число n.

Output

True, если есть. False, если отсутсвует.

Sample

InputOutput
124
True
123
False

View Problem Statistics Submit Author/source:
Educational Courses / New problems in testing /
1096. Площадь трапеции 1094. 1093. Поиск цифры в числе. 1049. Порядок следования членов 914. Сжатие строки
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.031 sec.
© Copyright VSTU, AVT, Nosov D.A.