2946: 数制转换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;char s[1000];int a[1…… 题解列表 2023年12月02日 0 点赞 0 评论 799 浏览 评分:8.0
按比例计算成绩 摘要:解题思路: 1.注意计算公式 2.考虑输出结果类型 提示中输出结果不含小数 也就是说 输出结果为整型(int) 3.考虑double型向int型的强制转换 需要用到 i…… 题解列表 2023年12月02日 0 点赞 0 评论 801 浏览 评分:0.0
十六进制转八进制 解题思路:先从十六进制转十进制,要注意对于字母和数字的分别处理,再把十进制转为八进制参考代码:```c#include#include#include#defineMAXSIZE100001intmain(){intn;scanf("%d",&n);for(inti=0;i 题解列表 2023年12月02日 0 点赞 0 评论 524 浏览 评分: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 评论 484 浏览 评分:0.0
2908: 白细胞计数 ```#includeusingnamespacestd;constintN=100010;doublea[N];intmain(){doublesum=0;intn,x=1,y=1;cin>>n;for(inti=1;i>a[i];if(a[i]>a[x])x=i;if(a[i] 题解列表 2023年12月02日 0 点赞 0 评论 562 浏览 评分:9.9 java字符串p型编码 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static String pEncoding(String…… 题解列表 2023年12月02日 0 点赞 0 评论 532 浏览 评分:0.0 1669: 求圆的面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double r,s; cin>>r; …… 题解列表 2023年12月02日 1 点赞 0 评论 1105 浏览 评分:9.9 2775: 等差数列末项计算 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a1,a2,n; cin>>a1>>a…… 题解列表 2023年12月02日 0 点赞 0 评论 482 浏览 评分:9.9 编写题解 2775: 等差数列末项计算(好不容易整完的,留个好评,求求了) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a1,a2,n; cin>>a1…… 题解列表 2023年12月02日 0 点赞 0 评论 466 浏览 评分:9.9 题解 2771: 大象喝水//制作不易,给个好评//附赠无限循环 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ /** while(16534123412387…… 题解列表 2023年12月02日 0 点赞 0 评论 531 浏览 评分:9.9 « 12...961962963964965966967...59165917 »
java字符串p型编码 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static String pEncoding(String…… 题解列表 2023年12月02日 0 点赞 0 评论 532 浏览 评分:0.0
1669: 求圆的面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double r,s; cin>>r; …… 题解列表 2023年12月02日 1 点赞 0 评论 1105 浏览 评分:9.9
2775: 等差数列末项计算 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a1,a2,n; cin>>a1>>a…… 题解列表 2023年12月02日 0 点赞 0 评论 482 浏览 评分:9.9
编写题解 2775: 等差数列末项计算(好不容易整完的,留个好评,求求了) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a1,a2,n; cin>>a1…… 题解列表 2023年12月02日 0 点赞 0 评论 466 浏览 评分:9.9
题解 2771: 大象喝水//制作不易,给个好评//附赠无限循环 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ /** while(16534123412387…… 题解列表 2023年12月02日 0 点赞 0 评论 531 浏览 评分:9.9