#C100001. 求十位数字
求十位数字
第一题 求十位数字(15 个计分点)
题目描述:
给定一个正整数,输出正整数十位上的数字。
输入描述:
输入一个正整数
输出描述:
输出正整数十位上的数字
样例输入1:
200
样例输出1:
0
样例输入2:
101
样例输出2:
0
样例输入3:
12345678
样例输出3:
7
给定一个正整数N(10<N<1011),输出正整数十位上的数字。
输入一个正整数N(10<N<1011)
输出正整数十位上的数字
200
0
101
0
12345678
7
By signing up a 星高度 universal account, you can submit code and join discussions in all online judging services provided by us.