Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
RGB7301 - Ахмад орны цифр |
Өгөгдсөн натурал тооны ахмад орны цифрийг ол.
Input
n натурал тоо өгөгдөнө. (n<=10^6).
Output
Ахмад орны цифр болох нэг цифр байна.
Example
Input:
1234
Output:
1
Нэмсэн: | Bataa |
Огноо: | 2013-01-08 |
Хугацааны хязгаарлалт: | 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-11-06 08:29:16
NIGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGAAAAAAAAAAAAAAAAAAAAAA |
||||||||||||||
2023-11-06 08:28:44
NIGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGAAAAAAAAAAAAAAAAAAAAAA |
||||||||||||||
2023-10-31 12:14:04
8888888 Last edit: 2023-10-31 12:14:15 |
||||||||||||||
2023-10-11 04:39:04
One more chance, baby, gimme a kiss Ya got one more chance at a night like this You could hold my hand in the back of the whip But saw the plug at the club, came back with a brick |
||||||||||||||
2023-10-11 04:37:50
but if you're too drunk to drive and the music is right she might let you stay but just for the night |
||||||||||||||
2023-08-21 07:54:29
noob #include <iostream> using namespace std; int main() { int a,b,d,f,n,s,q,w,e,i,z=0; cin>>a; while(a>9){ a=a/10; } cout<<a; return 0; } |
||||||||||||||
2023-05-23 09:18:05
nadaas huul hahaha |
||||||||||||||
2023-05-18 04:30:37
hiuys gimme the answer or i will do unholy thing to your a$sh*le at 3 am |
||||||||||||||
2023-05-16 02:37:39
misheelelzgene |
||||||||||||||
2023-05-16 02:35:44
oyutlzgn |