Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

HO1016 - Шугаман 7

Өгсөн 5 оронтой тооны аравтын орны цифрийг ол.

Input

5 оронтой нэг тоо өгөгдөнө.

Output

Үр дүнг хэвлэ.

Example

Input:
38592

Output:
9

Нэмсэн:munkhbat
Огноо:2013-01-12
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:Бүгд дараах хэлүүдээс бусад: ASM64 NCSHARP JULIA PYPY3

hide comments
2023-10-23 07:45:35
amjilt cyber surgulin 7-1 angin gomo tengis saraanad sn
2023-06-27 07:51:30
#include<bits/stdc++.h>
using namespace std;
int main(){
int n,a,b,c,d,e;
cin>>n;
a=(n%10);
c=(n%100)/10;
b=(n%1000)/100;
d=(n%10000)/1000;
e=(n%10000);
cout<<a-b-c-d-e;
}

Last edit: 2023-06-27 07:52:21
2023-03-13 11:37:11
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a, b, c, d;
scanf("%d" ,&a);
printf("%d" ,(a%100)/10);
} munji
2022-11-09 02:38:39
#include<bits/stdc++.h>
using namespace std;
int main (){
int x, s, z, p, i, a, b, c, e;
cin>>x;
z=x%100/10;
cout<<z<<endl;
}
2022-11-08 05:44:19
#include<iostream>
using namespace std;
int main(){
int a,b,g;
cin>>a;
g= a/10%10;
cout<<g<<endl;
}
2022-10-20 07:50:43
#include<bits/stdc++.h>
using namespace std;
int main (){
int x, s, z, p, i, a, b, c, e;
cin>>x;
z=x%100/10;
cout<<z<<endl;
}
2022-09-20 06:05:15


Last edit: 2022-09-26 06:55:15
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.