游客 Signup | Login
中文 | En

3798 - 第一章:整数运算《练习2:整数乘法》

输入两个整数a和b,输出它们的乘积。

Input

输入中只有一行,包括两个整数。两个整数间用一个空格隔开。

Output

只包括一个整数,即输入的两整数的乘积。

Examples

Input

2 3

Output

6

Solution C

#include <stdio.h>

int main(void) {
	int a, b, c;
	scanf("%d%d", &a, &b);
	c = a * b;
	printf("%d", c);
	return 0;
}

Solution C++

#include<cstdio>
using namespace std;
int main()
{
	int a,b,s;
	scanf("%d%d",&a,&b);
	s=a*b;
	printf("%d\n",s);
	return 0;
}
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题