Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
RGB7008 - Аравтын орны цифр |
Өгөгдсөн тооны аравтын орны цифрийг ол.
Input
Int төрлийн бүхэл тоо өгөгдөнө.
Output
Аравтын орны цифр.
Example
Input: 423 Output: 2
Нэмсэн: | Bataa |
Огноо: | 2011-05-10 |
Хугацааны хязгаарлалт: | 1s |
Эх кодын хэмжээний хязгаарлалт: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Програмчлалын хэлүүд: | ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE |
hide comments
|
|||||||||||||
2023-05-28 07:45:40
#include <iostream> using namespace std; int main() { int a, i; cin>>a; i=a%100/10; cout<<i; return 0; } |
|||||||||||||
2023-05-24 06:43:19
#include<iostream>//y=4x2-3x+5 using namespace std; int main(){ int a,b; cin>>a; b=a/10%10; cout<<b<<endl; } |
|||||||||||||
2023-05-23 05:09:39
unubayar huulav |
|||||||||||||
2022-12-09 01:04:54
sodbayrgay |
|||||||||||||
2022-12-01 07:23:25
manda huurhun |
|||||||||||||
2022-11-08 05:39:28
#include<iostream>//y=4x2-3x+5 using namespace std; int main(){ int a,b; cin>>a; b=a/10%10; cout<<b<<endl; } |
|||||||||||||
2022-11-08 05:39:28
#include<iostream>//y=4x2-3x+5 using namespace std; int main(){ int a,b; cin>>a; b=a/10%10; cout<<b<<endl; } |
|||||||||||||
2022-11-08 04:27:34
#include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a; b=a%100%100/10; cout<<b<<endl; } copy your gay |
|||||||||||||
2022-09-30 05:40:30
#include<bits/stdc++.h> using namespace std; int main(){ int n,a; cin>>n; a=n%100/10; cout<<a<<endl; } en yg zuvn suguda |
|||||||||||||
2022-09-27 03:55:36
ene ulbar shar ni yugsen uguu ulbar shar bolood l baihiin #include <stdio.h> int main() { int n, AOT; printf("TOOGOO ORUULNA UU = "); scanf("%d", &n); AOT = (n % 100 - n % 10)/10; printf("10tiin oron ni = %d",AOT); return 0; } |