C++ 冒泡排序+ 双指针去重 摘要:# C++ 冒泡排序+ 双指针去重 ```c++ #include "iostream" void Sort(int* nums, int n); int Deduplication(in…… 题解列表 2023年06月12日 0 点赞 0 评论 298 浏览 评分:6.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,t; double a, b,c; scanf("%lf %lf %d", &…… 题解列表 2023年06月16日 0 点赞 0 评论 330 浏览 评分:6.0
编写题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n ; int sum=0 ; …… 题解列表 2023年06月17日 0 点赞 0 评论 478 浏览 评分:6.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, i; float p = 1, q = 2,sum=2.0,temp; scan…… 题解列表 2023年06月17日 0 点赞 0 评论 247 浏览 评分:6.0
二级编程,分段函数, 摘要:解题思路:注意事项:记得加头文件,更改数据类型参考代码:#include<iostream>#include <cmath>//头文件,必加 #include <iomanip>//同上using n…… 题解列表 2023年06月18日 0 点赞 0 评论 248 浏览 评分:6.0
非常简单,小学生解法 摘要:解题思路:用一个数组来计算每个字母(52个字母)重复的,先写一个子函数求出n的阶乘,也就是没有字母重复时的排列总数,再用此排列总数依次除以每个字母重复的次数,就能求出最终的排列总数了注意事项:代码里面…… 题解列表 2023年06月18日 0 点赞 0 评论 319 浏览 评分:6.0
if解题,正常解法 摘要:解题思路:正常思路注意事项:参考代码:#include <stdio.h>int main (){int a;scanf ("%d",&a);if (100>=a&&a>=90) { …… 题解列表 2023年06月19日 0 点赞 2 评论 191 浏览 评分:6.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h> int main() { char str[5000], str1[105][55]; …… 题解列表 2023年06月20日 0 点赞 0 评论 251 浏览 评分:6.0
2767: 计算多项式的值 (c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b,c,d,x,f; scanf("%lf%lf%lf%lf%lf\n",&x,&a,&b,&…… 题解列表 2023年07月01日 0 点赞 0 评论 346 浏览 评分:6.0
2786: 判断能否被3、5、7整除(c语言解法) 摘要:解题思路:用if - else if - else 来写,括号里面配合&&和||来增加条件注意事项:只有if和else if后面可以加()写条件,else的后面不能加()写条件参考代码:#includ…… 题解列表 2023年07月03日 0 点赞 0 评论 927 浏览 评分:6.0