代码放这里了不解释了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double m,n,sum=0; scanf("%lf %lf",&m,&n); sum+=…… 题解列表 2023年12月14日 0 点赞 0 评论 279 浏览 评分:9.9
字符替换(指针) 摘要:解题思路:注意事项:参考代码: #include <stdio.h>#include<string.h>int main(){ char s[100]; char…… 题解列表 2023年12月14日 0 点赞 0 评论 655 浏览 评分:9.9
.................... 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); for(int i=2;i<n;i++) …… 题解列表 2023年12月14日 0 点赞 0 评论 211 浏览 评分:9.9
冒泡排序。。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10]; for(int i=0;i<10;i++) { scanf…… 题解列表 2023年12月15日 0 点赞 0 评论 266 浏览 评分:9.9
题解 1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>int main(){ int sum0 = 0; int s…… 题解列表 2023年12月15日 0 点赞 0 评论 289 浏览 评分:9.9
陶陶摘苹果(C语言解析) 摘要:解题思路:通过将10个苹果的高度存放入一个数组,使其数据分别与陶陶所能过够到的最大高度(加上凳子高度)进行比较,从而得出其所能摘到的苹果数。注意事项:①注意sum的初始化!②注意在给数组的元素输入数据…… 题解列表 2023年12月15日 0 点赞 3 评论 938 浏览 评分:9.9
2866: 过滤多余的空格 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=10200;char s[N];int main(){ wh…… 题解列表 2023年12月15日 0 点赞 0 评论 356 浏览 评分:9.9
c代码记录之过滤多余的空格 摘要:投机取巧了,用了scanf #include int main() { char str[200]; while(~scanf("%s…… 题解列表 2023年12月15日 0 点赞 0 评论 448 浏览 评分:9.9
c代码记录之交换数字-指针 摘要: #include void swap(int* a,int* b){ int middle; middle=*a; *a=*b;…… 题解列表 2023年12月15日 0 点赞 0 评论 455 浏览 评分:9.9
1177: 三角形 摘要:解题思路:注意事项:最后一定要换行呀!!!参考代码:#include<stdio.h>int max(int x,int y){ return x>y?x:y;}int main(){ int e,n…… 题解列表 2023年12月15日 0 点赞 0 评论 312 浏览 评分:9.9