题解列表

筛选

2778: 判断数正负

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() {     long lo……

2779: 输出绝对值

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> #include<iomanip> using namespace std; int mai……

2777: 计算2的幂

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() {     int n; ……

2776: A*B问题

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {     long long a,b;     cin>……

2775: 等差数列末项计算

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {     int a,b,n;     cin>>a>>……

Hello, World! 题解

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){cout << "Hello, World!" ;    return ……

A+B Problem 参考答案

摘要:解题思路:输入两个数。加起来。注意事项:加分号!参考代码:#include<iostream>using namespace std;int main(){    int a,b;    cin >>……

幂的末尾 参考答案

摘要:解题思路:取幂后三位,每次只需保留积后三位即可;注意事项: 无参考代码:#include<iostream>using namespace std;int main() {int a,b,c = 0;……

2767: 计算多项式的值

摘要:解题思路:先inta,b,c,d,x再带入就好注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a,b,c……

题解:1267: A+B Problem

摘要:解题思路:注意事项:不要打错参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<……