题解列表

筛选

1764 循环入门练习1

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int sum=0;    for(int i=1;……

3010: 奇偶数之和

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

2749: Hello, World!

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

2000 偶数列举

摘要:解题思路:用if语句注意事项:注意变量参考代码:#include <iostream>using namespace std;int main(){    int a;    cin>>a;    f……

2781 奇偶ASCII值判断

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

编写题解 2758: 打印ASCII码

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

编写题解 2751: 超级玛丽游戏

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

  编写题解 2776: A*B问题

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

编写题解 1267: A+B Problem

摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){    int a,b;    cin>>a>>b;    cout<<a+b;    re……