字符菱形的c语言解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a; scanf("%c",&a); printf( " %c \n %c%c%…… 题解列表 2024年12月16日 0 点赞 0 评论 349 浏览 评分:0.0
成绩排序C语言答案(char name[101]!!! 100会只得50分) 摘要:注意事项:分配足够的内存空间char name[101]!!! 100会只得50分参考代码:#include <stdio.h> #include <stdlib.h> #include <st…… 题解列表 2024年12月16日 0 点赞 0 评论 373 浏览 评分:0.0
老头也能看懂的for循环 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int n,a=0,b=0,c=0; for(;;){ scanf("%d",&n); i…… 题解列表 2024年12月16日 1 点赞 0 评论 594 浏览 评分:10.0
新手必看,一正常,一函数递归 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int n; long long cows[55] = {0}; // 初始化前三年的母牛…… 题解列表 2024年12月16日 2 点赞 0 评论 1237 浏览 评分:10.0
2139: 信息学奥赛一本通T1291-数字组合 两种方法超简单 摘要:解题思路:注意事项:参考代码:DFS#include"bits/stdc++.h" using namespace std; // 全局变量声明 int n, t, a[25]; // n: 数…… 题解列表 2024年12月16日 0 点赞 0 评论 262 浏览 评分:0.0
新手必看,俩for解决 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int n,i,j,h,l; scanf("%d",&n); int a[n][n]; for(i=0;…… 题解列表 2024年12月16日 0 点赞 0 评论 396 浏览 评分:0.0
2137: 信息学奥赛一本通T1273-货币系统 简单DP 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义全局变量n, m和数组a, dp int n, m, a[110…… 题解列表 2024年12月15日 0 点赞 0 评论 122 浏览 评分:0.0
c语言 30306:树的存储 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#define MAX_N 10000// 邻接表节点结构体typedef struct Nod…… 题解列表 2024年12月15日 1 点赞 0 评论 220 浏览 评分:10.0
通用的思维写出的 摘要:解题思路:注意事项:参考代码: public class Test { public static void main(String[] args) { Scanner …… 题解列表 2024年12月15日 1 点赞 0 评论 475 浏览 评分:0.0
1044 : 三个字符串的排序 摘要:#include <stdio.h> #include <string.h> int main() { char a[1000],b[1000],c[1000]; …… 题解列表 2024年12月15日 1 点赞 0 评论 790 浏览 评分:0.0