题解列表

筛选

二级C语言-求偶数和

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int t,n,a,s;int main(){ cin>>n;//输入 for(in……

[编程入门]三个数最大值

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

二级C语言-平均值计算

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int t,n,a[15],s;//定义int main(){ for(int i=……

第一个HelloWorld程序

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

[竞赛入门]简单的a+b

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

[编程入门]成绩评定c++

摘要:解题思路:按题目来判定条件注意事项:<=,>=,<,>不要用错参考代码:#include<iostream>#include<fstream>#include<algorithm>//文件头using……

砍竹子(C++实现)

摘要:```cpp #include using namespace std; typedef long long ll; const int N=2e5+5; int n; ll a[N][1……