Tuổi của bố và con
Submit solution
Points:
1
Time limit:
1.0s
Memory limit:
98M
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
Hiện nay tuổi bố bằng
Input:
- Dòng duy nhất gồm 3 số nguyên
Output:
- Tuổi của bố và con hiện tại (Tuổi bố in ra trước, tuổi con in ra sau)
Example:
Input:
Copy
5 3 79
Output:
Copy
28
5
Comments