![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
acm练习题
玢钡。
水中有明月,碎碎圆圆。
展开
-
A + B Problem
Task: Calculate A + B. #include using namespace std; int main() { while (true) { int a, b; cin >> a >> b; cout << a + b; } return 0; }原创 2018-12-05 19:21:27 · 93 阅读 · 0 评论 -
A + B Problem Too
Task:This problem is also a A + B problem,but it has a little difference,you should determine does (a+b) could be divided with 86.For example ,if (A+B)=98,you should output no for result. #include usi...原创 2018-12-05 20:00:18 · 86 阅读 · 0 评论 -
计算球体积
根据输入的半径值,计算球的体积 #include using namespace std; #define PI 3.1415927 int main() { while (true) { double a; cout << “请输入球的半径” << endl; cin >> a; cout &原创 2018-12-05 19:48:55 · 184 阅读 · 0 评论