题目描述
现在需要采购一些苹果,每名同学都可以分到固定数量的苹果,并且已经知道了同学的数量,请问需要采购多少个苹果?
输入格式
输入两个不超过 10^9正整数,分别表示每人分到的数量和同学的人数。
#include<iostream>
using namespace std;
int main()
{
int t, n;
cin >> t >> n;
cout << t * n << endl;
return 0;
}
题目描述
现在需要采购一些苹果,每名同学都可以分到固定数量的苹果,并且已经知道了同学的数量,请问需要采购多少个苹果?
输入格式
输入两个不超过 10^9正整数,分别表示每人分到的数量和同学的人数。
#include<iostream>
using namespace std;
int main()
{
int t, n;
cin >> t >> n;
cout << t * n << endl;
return 0;
}