题解 2771: 大象喝水 摘要:解题思路:首先输入高和半径,然后求体积,再用20L除以体积。注意事项:在这里pi=3.14159。参考代码:#include <bits/stdc++.h>using namespace std;in…… 题解列表 2023年11月25日 0 点赞 0 评论 391 浏览 评分:9.9
双向链表实现大整数的乘法 摘要:参考代码:#include<stdio.h> #include<string.h> #include<stdlib.h> struct lennum{ int num; struct …… 题解列表 2023年11月25日 0 点赞 0 评论 443 浏览 评分:0.0
最简单方法没有之一,直接使用库函数解决!!! 摘要:解题思路:直接使用#includeint iscntrl(int c) 判断字符 c是否为控制字符。int isalpha(int c) 判断字符 c 是否为英…… 题解列表 2023年11月25日 0 点赞 0 评论 363 浏览 评分:9.9
循环队列之数字后移 摘要:解题思路:看成循环队列即可注意事项:参考代码:n=int(input())x=list(input().split())y=list(x)m=int(input())for i in range(0,…… 题解列表 2023年11月25日 0 点赞 0 评论 300 浏览 评分:0.0
奇偶求和!!! 摘要:解题思路:选判断奇数和偶数,再加就行了注意事项:参考代码:#include<stdio.h>int main(){ int n,odd=0,even=0; scanf("%d",&n); …… 题解列表 2023年11月25日 0 点赞 0 评论 227 浏览 评分:0.0
小白钓鱼(简单题解) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,b=0,i,a; scanf("%d",&a); for(i=1;i<=a;i++){ scanf…… 题解列表 2023年11月25日 0 点赞 0 评论 397 浏览 评分:0.0
优质题解 [编程入门]使用malloc函数动态分配两块内存创建数组,然后利用索引对应关系自定义函数实现数字后移功能 摘要:`题目描述`:有n个整数,使前面各数顺序向后移m个位置,最后m个数变成前面m个数。写一函数:实现以上功能,在主函数中输入n个数和输出调整后的n个数。 `解题思路`: > 重点知识点:**m…… 题解列表 2023年11月25日 1 点赞 0 评论 1710 浏览 评分:9.7
2760 整形与布尔型的转换(C++) 摘要:解题思路:布尔注意事项:无参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a;…… 题解列表 2023年11月25日 0 点赞 0 评论 420 浏览 评分:8.0
编写题解 2776: A*B问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年11月25日 0 点赞 0 评论 350 浏览 评分:9.9
题解 2758: 打印ASCII码 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ char a; cin>>a; cout…… 题解列表 2023年11月25日 0 点赞 0 评论 267 浏览 评分:9.9