解法11111111111111 摘要:解题思路:注意事项:格式不要弄错参考代码:#include <stdio.h> int main(){ int n, k = 2, i = 0, q = 0; int a[10]; …… 题解列表 2023年12月02日 0 点赞 0 评论 411 浏览 评分:0.0
2946: 数制转换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;char s[1000];int a[1…… 题解列表 2023年12月02日 0 点赞 0 评论 646 浏览 评分:8.0
按比例计算成绩 摘要:解题思路: 1.注意计算公式 2.考虑输出结果类型 提示中输出结果不含小数 也就是说 输出结果为整型(int) 3.考虑double型向int型的强制转换 需要用到 i…… 题解列表 2023年12月02日 0 点赞 0 评论 510 浏览 评分:0.0
十六进制转八进制 摘要:解题思路: 先从十六进制转十进制,要注意对于字母和数字的分别处理,再把十进制转为八进制 参考代码: ```c #include #include #include #define M…… 题解列表 2023年12月02日 0 点赞 0 评论 352 浏览 评分:0.0
快速排序(c++代码) 摘要:解题思路:注意事项:参考代码:const int MAX = 10;int arr[MAX];void qsort(int l, int r) { if (l > r)return; int i = …… 题解列表 2023年12月02日 0 点赞 0 评论 346 浏览 评分:0.0
2908: 白细胞计数 摘要:``` #include using namespace std; const int N = 100010; double a[N]; int main(){ double sum =…… 题解列表 2023年12月02日 0 点赞 0 评论 409 浏览 评分:9.9
java字符串p型编码 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static String pEncoding(String…… 题解列表 2023年12月02日 0 点赞 0 评论 414 浏览 评分:0.0
1669: 求圆的面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double r,s; cin>>r; …… 题解列表 2023年12月02日 1 点赞 0 评论 949 浏览 评分:9.9
2775: 等差数列末项计算 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a1,a2,n; cin>>a1>>a…… 题解列表 2023年12月02日 0 点赞 0 评论 365 浏览 评分:9.9
编写题解 2775: 等差数列末项计算(好不容易整完的,留个好评,求求了) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a1,a2,n; cin>>a1…… 题解列表 2023年12月02日 0 点赞 0 评论 319 浏览 评分:9.9