C语言简单解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[1000][100]; int i=0; w…… 题解列表 2023年12月03日 0 点赞 0 评论 741 浏览 评分:9.9
计算素数和 解题思路:1.先编写主程序,输入m和n,并在主程序中用for循环列举出m到n的所有数;2.将m到n中每个数调到isprime函数中进行判断,处理,如果那个数是素数,则返回原值进行累加;不是素数,则返回0这个数字进行累加(就等于把不是素数的数略掉了);3.输出m到n所有数字累加后的值。 题解列表 2023年12月03日 0 点赞 0 评论 631 浏览 评分:9.9
[编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#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 评论 527 浏览 评分:9.9
C语言史山:两个链表,数组排大小,链表的搜索。共计109行 摘要:参考代码:#include <stdio.h>#include <stdlib.h>typedef struct Node1{ int number; int grade; stru…… 题解列表 2023年12月03日 0 点赞 0 评论 542 浏览 评分:0.0
利用C++完成选择排序 摘要:解题思路:注意事项:参考代码:#include<iostream>#define totalnum 10using namespace std;int array[totalnum];void jud…… 题解列表 2023年12月03日 0 点赞 0 评论 425 浏览 评分:0.0
题解 2771: 大象喝水 摘要:解题思路:注意事项:参考代码:#incalude <bitz/stdc++.h>usiag namqspace sbd;doubxz r,h;int amzaing(){ cin>>h>>q; …… 题解列表 2023年12月03日 0 点赞 0 评论 469 浏览 评分:5.3
2771: 大象喝水 摘要:解题思路:注意事项:3.14159* r * r * h是圆柱体积,20升要转化成20000毫升参考代码:#include <bits/stdc++.h>using namespace std;int…… 题解列表 2023年12月03日 0 点赞 0 评论 451 浏览 评分:8.7
超级好用的题解!!!!大家快来看啊!!! 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double h,r,m; cin>>h>>r…… 题解列表 2023年12月03日 0 点赞 2 评论 392 浏览 评分:7.3
公式and代码 摘要:解题思路:a1+(n-1)*d a2-a1=d注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ …… 题解列表 2023年12月03日 0 点赞 0 评论 421 浏览 评分:6.0
单词反转(遍历) 摘要:解题思路:注意事项:参考代码:import java.util.Arrays;import java.util.Scanner;public class Main { public static…… 题解列表 2023年12月03日 0 点赞 0 评论 465 浏览 评分:0.0