АВТ
Language: Russian
English

Remote Training on Programming

Problems Online status Contests
News FAQ E-learning
For authors:
Register  ||  Login
 
Hello, Guest! Please login or register.

1815. First digit

Time Limit: 1 seconds
Memory Limit:262144KB
Points:100
View Problem Statistics Submit Problem added debug

Дано целое N. Найти его первую цифру.

Input

Одно целое число N (-109 ≤ N ≤ 109)

Output

Одна цифра - ответ.

Sample

InputOutput
42
4

View Problem Statistics Submit Problem discussion Author/source:
Problems from Contests and Camps / School olympiads and couses of Vologda region / Different Contests / Contest VML for 7 Form, cycles /
1350. 06 - Fibonacci Numbers 1815. 1816. 08 - Sum and Quantity of Digits 1817. 09 - Permutation of Digits 707. 10 - Длинный НОД
time generating 0.156 sec.
© Copyright VSU, AVT, Nosov D.A., Andrianov I.A.