题解列表

筛选

yyyyyyyyyyyyyyyyy

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

百钱白鸡问题

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

2758: 打印ASCII码

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

C语言训练-百钱百鸡问题

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

感谢支持,谢谢你们的支持

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

2077: 忙碌的小L(并查集)

摘要:此题会出现以下两种情况第一种: 如样例5 2 4 3 0 4 5 0 0 0 1 0这种情况只用教一个人(教1||2||5)就可以使是所有人都学会第二种情况5 3 0 4 0 5 0……

2831: 画矩形

摘要:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    int a,b,d;    char c;    cin>>a>>b>>c……

编写题解 2901: 查找特定的值

摘要:解题思路: 1、创建三个变量(int n输入个数,m目标 bool z用于判断是否有目标数=false) 2、创建一个数组a[10001] 3、输入输入个数变量n 4、循环输入a数组的第i项 5、输入……

百钱白鸡问题

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){    cout <<"cock=0,hen=25,chicken=7……