Tìm số đầu tiên
Submit solution
Points:
1 (partial)
Time limit:
1.0s
Memory limit:
977M
Author:
Problem type
Allowed languages
Ada, Assembly, Awk, C, C++, C11, CLANG, CLANGX, Classical, COBOL, Coffee, CSC, D lang, DART, F95, FORTH, Fortrn, GAS32, GO, Haskell, Itercal, Java, kotlin, LEAN, LISP, LUA, MONOVB, Nasm, OCAML, Pascal, Perl, php, PIKE, prolog, Pypy, Python, Ruby 2, RUST, Scala, SCM, SED, SWIFT, TCL, TUR, V8JS, VB, ZIG
Cho 2 số N và M
Bạn hãy giúp Han tìm chữ số đầu tiên của
Input
Dòng đầu là số bộ kiểm thử
Các dòng tiếp theo gồm
Output
Gồm
VD
Input:
Copy
2
3 5
2 12
Output:
Copy
2
4
Giải thích
Comments