C++信息学奥赛一本通题库1036A*B问题

A*B问题


时间限制: 1000 ms         内存限制: 65536 KB
提交数: 3404     通过数: 956 


【题目描述】
输入两个正整数A和B,求A*B的值。注意乘积的范围和数据类型的选择。


【输入】
一行,包含两个正整数A和B,中间用单个空格隔开。1 <= A,B <= 50000。


【输出】
一个整数,即A*B的值。


【输入样例】
3 4
【输出样例】
12
【来源】


No
源码:
突然不想写源码了

这种超级大水题.

不值得写.......

但是呢,往下翻你会有发现的:

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------                                                     加油往下翻

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------                                                               ヾ(◍°∇°◍)ノ゙                   

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

-------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

------------------------------------------------------------------------------------

----------------------------------------------------------------------------

---------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------

你成功了,源码在此,自己看吧

#include
#include
using namespace std;
int main()
{
long long a,b,c;
cin>>a>>b;
c=a*b;
cout< return 0;
}


你可能感兴趣的:(C++一本通)