Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
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
|
||||||||||||
2021-12-20 08:37:43
#Python a = list(input()) print(a[-2]) |
||||||||||||
2021-02-05 03:53:53
x = 4234564113376 y = (x-x/100*100)/10 print(y) |
||||||||||||
2020-10-06 07:47:02
#include <iostream> using namespace std; int main() { int a; cin>>a; cout<<1%a%1 return 0; } odoo huul |
||||||||||||
2020-02-03 09:01:43
b=a%100/10 b=a/10%10 ylgaa ni yu ym bolooo |
||||||||||||
2020-01-23 05:10:23
#include <cstdio> int main() { int a , b; scanf("%d",&a); b = a / 10 % 10; printf("%d",b); } |
||||||||||||
2020-01-23 05:10:15
#include <cstdio> int main() { int a , b; scanf("%d",&a); b = a / 10 % 10; printf("%d",b); } |
||||||||||||
2020-01-19 06:39:31
Last edit: 2020-01-19 07:05:47 |
||||||||||||
2019-10-26 06:25:00
#include <cstdio> int main() { int a , b; scanf("%d",&a); b = a / 10 % 10; printf("%d",b); } SUPER |
||||||||||||
2019-10-20 07:21:55
ene dootliin angiihn yu hiidiimbe |
||||||||||||
2019-10-16 14:41:34
#include<stdio.h> int main(){ int a,b,c,d,e,f; scanf("%d",&a); b=a%100; c=b/10; printf("%d",c); } |