输入输出练习之输出图案 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ char a; cin >> a; for (int…… 题解列表 2022年11月17日 0 点赞 0 评论 389 浏览 评分:0.0
[编程入门]求和训练题解(C语言) 摘要:解题思路:注意事项:参考代码:#includeint main() { int a,b,c; //定义题目所给3个变量 float Sa,Sb,Sc; …… 题解列表 2022年11月17日 0 点赞 0 评论 368 浏览 评分:0.0
C语言 自定义函数之字符类型统计& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define Long 40int main(){ void scanf_s…… 题解列表 2022年11月17日 0 点赞 0 评论 327 浏览 评分:0.0
2901: 查找特定的值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m; scanf("%d",&n);//输入 int arr[10001]={0}…… 题解列表 2022年11月17日 0 点赞 0 评论 374 浏览 评分:0.0
2903: 不高兴的津津 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int day; int arr1[8]={0}; int arr2[8]={0};//两个数组来装数…… 题解列表 2022年11月17日 0 点赞 0 评论 390 浏览 评分:0.0
1275:吹哨传球 摘要:```python n, m = map(int, input().split()) def C(x, y): a1 = 1 for i in range(1, y+1):…… 题解列表 2022年11月17日 0 点赞 0 评论 453 浏览 评分:0.0
动态规划—01背包复习 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #define max(x,y) x>y?x:y int v[60] = { 0 };//物品价值 int w[60] = …… 题解列表 2022年11月17日 0 点赞 0 评论 420 浏览 评分:0.0
1174: 计算直线的交点数 摘要:```cpp #include using namespace std; int main() { int n,s,i; while(cin>>n) { …… 题解列表 2022年11月18日 0 点赞 0 评论 496 浏览 评分:0.0
C语言 带参数宏定义练习& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define exchange(a,b) int t;t = a; a = b; b = tint main(){ i…… 题解列表 2022年11月18日 0 点赞 0 评论 338 浏览 评分:0.0
next_permutation全排序 摘要:```cpp #include //next_permutation全排序 using namespace std; int main() { int n,len=0; cin>…… 题解列表 2022年11月18日 0 点赞 0 评论 397 浏览 评分:0.0