输出Tom数(C++) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;const int station = 10;int main(){ …… 题解列表 2022年12月11日 0 点赞 0 评论 299 浏览 评分:0.0
c语言函数的链式调用-实例 摘要:解题思路:注意事项:参考代码:‘#include <stdio.h> #pragma warning(disable : 4996 int gcd(int x, int y) { if…… 题解列表 2022年12月12日 0 点赞 0 评论 269 浏览 评分:0.0
成绩排序c语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h> struct student{ char name[200]; int age; …… 题解列表 2022年12月12日 0 点赞 0 评论 245 浏览 评分:0.0
二级C语言-计算素数和 摘要:解题思路: 本题主要是解决自定义的函数问题。第一:输入范围m,nscanf("%d%d",&m,&n);第二:利用for循环,从m到n依次检查是否为素数;第三自定义一个函数(关键) if(x<=…… 题解列表 2022年12月12日 0 点赞 0 评论 263 浏览 评分:0.0
常规思路——一元二次方程求解——C语言 摘要:解题思路:知道数学解一元二次方程的公式即可;引用sqrt函数进行开方。注意事项:参考代码:#include <stdio.h>#include<math.h>int main(){ double…… 题解列表 2022年12月12日 0 点赞 0 评论 271 浏览 评分:0.0
链表合并(c语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>typedef struct Stu{ int id; int score; …… 题解列表 2022年12月13日 0 点赞 0 评论 311 浏览 评分:0.0
python, 很简单 摘要:解题思路:注意事项:参考代码:print('**************************')print('Hello World!')print('**…… 题解列表 2022年12月13日 0 点赞 0 评论 279 浏览 评分:0.0
余数相同问题 摘要:解题思路:注意事项:参考代码#include <stdio.h>int main() { int x=2; int a,b,c; scanf("%d%d%d",&a,&b,&c); …… 题解列表 2022年12月13日 0 点赞 0 评论 379 浏览 评分:0.0
二维数组的转置 摘要:解题思路:可单数组,即交换数字,在交换时注意不要重复。也可两个数组,将输入数组赋值(行列交换后)给输出数组。我使用第一种 。注意事项:在行下标列下标相等时,在往后交换会出现重复交换。参考代码:#inc…… 题解列表 2022年12月13日 0 点赞 0 评论 275 浏览 评分:0.0
sizeof的大作用 摘要:解题思路:char在Java中占2个字节,但在这题中设定的是一个字节注意事项:参考代码:public class Main{ public static void main(String[] args…… 题解列表 2022年12月13日 0 点赞 0 评论 325 浏览 评分:0.0