1038: [编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:p=sqrt(s*(s-a)*(s-b)*(s-c));是海伦公式参考代码:#include <bits/stdc++.h>using namespace std;int main…… 题解列表 2023年12月03日 0 点赞 0 评论 240 浏览 评分:9.9
单词反转(遍历) 摘要:解题思路:注意事项:参考代码:import java.util.Arrays;import java.util.Scanner;public class Main { public static…… 题解列表 2023年12月03日 0 点赞 0 评论 155 浏览 评分:0.0
公式and代码 摘要:解题思路:a1+(n-1)*d a2-a1=d注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ …… 题解列表 2023年12月03日 0 点赞 0 评论 136 浏览 评分:6.0
超级好用的题解!!!!大家快来看啊!!! 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double h,r,m; cin>>h>>r…… 题解列表 2023年12月03日 0 点赞 2 评论 139 浏览 评分:7.3
2771: 大象喝水 摘要:解题思路:注意事项:3.14159* r * r * h是圆柱体积,20升要转化成20000毫升参考代码:#include <bits/stdc++.h>using namespace std;int…… 题解列表 2023年12月03日 0 点赞 0 评论 151 浏览 评分:8.7
题解 2771: 大象喝水 摘要:解题思路:注意事项:参考代码:#incalude <bitz/stdc++.h>usiag namqspace sbd;doubxz r,h;int amzaing(){ cin>>h>>q; …… 题解列表 2023年12月03日 0 点赞 0 评论 160 浏览 评分:5.3
利用C++完成选择排序 摘要:解题思路:注意事项:参考代码:#include<iostream>#define totalnum 10using namespace std;int array[totalnum];void jud…… 题解列表 2023年12月03日 0 点赞 0 评论 141 浏览 评分:0.0
C语言史山:两个链表,数组排大小,链表的搜索。共计109行 摘要:参考代码:#include <stdio.h>#include <stdlib.h>typedef struct Node1{ int number; int grade; stru…… 题解列表 2023年12月03日 0 点赞 0 评论 162 浏览 评分:0.0
[编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3],t,i,j; for(i=0;i<3;i++) scanf("%d",&a[i]); for(…… 题解列表 2023年12月03日 0 点赞 0 评论 201 浏览 评分:9.9
计算素数和 摘要:解题思路:1.先编写主程序,输入m和n,并在主程序中用for循环列举出m到n的所有数;2.将m到n中每个数调到isprime函数中进行判断,处理,如果那个数是素数,则返回原值进行累加;不是素数,则返回…… 题解列表 2023年12月03日 0 点赞 0 评论 233 浏览 评分:9.9