АВТ
Language:

Remote Training on Programming

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

949. A86

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

Дано натуральное число n не превышающее 1 000 000 000.

Вывести первую цифру этого числа.

Input

число n

Output

первая цифра числа n

Sample

InputOutput
Пример 1. Вход:

355
Пример 1. Выход:

3

View Problem Statistics Submit Author/source:
Educational Courses / New problems in testing /
1018. A83b 949. 673. Amount element more given 634. Amount even element 674. Amount numbers in given range
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.874 sec.
© Copyright VSTU, AVT, Nosov D.A.