题解列表

筛选

1102: 明明的随机数

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

密码破译(C语言新手)

摘要:解题思路:根据ASCII码表可知,只需将它们的数值加4即可得到想要的数据注意事项:参考代码:#include <stdio.h>int main(){ char a,b,c,d,e; scanf("%……

三个数最大值(C语言新手)

摘要:解题思路:用的if else语句嵌套注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(……

使用数组和for循环来便捷解题

摘要:注意本题需要使用到课程第五章的循环和第六章的数组,如果是有基础的同学就可以直接看了参考代码:#include<stdio.h>#include<string.h>int main(){    int ……

太太太太太太太太太太对啦

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int x;    scanf("%d",&x);    if(x%2 == 0)        prin……

2872: 字符环(暴力)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> int main(){    int len_a,len_b,len,i,j,n,sum=0;  ……