Editorial
Since , then . Therefore, a -bit long long type should be used.
Algorithm realization
Read the values of the variables and .
scanf("%lld %lld", &a, &b);
Compute and print the product .
p = a * b; printf("%lld\n", p);
Java realization
import java.util.*; public class Main { public static void main(String[] args) { Scanner con = new Scanner(System.in); long a = con.nextLong(); long b = con.nextLong(); long res = a * b; System.out.println(res); con.close(); } }
Python realization
Read the values of the variables and .
a, b = map(int,input().split())
Compute and print the product .
res = a * b print(res)