组合数(隔板法)+ 高精度 摘要:解题思路:组合数(隔板法)+ 高精度参考代码:#include <iostream>#include <cstring>#include <algorithm>#i…… 题解列表 2025年09月12日 0 点赞 0 评论 459 浏览 评分:0.0
结构体之成绩记录 摘要:解题思路:结构体变量和结构体数组注意事项:学号和姓名不能超过10个字符参考代码:#include<stdio.h>typedef struct{ un…… 题解列表 2025年09月13日 0 点赞 0 评论 613 浏览 评分:0.0
这个真的超级简单,没得说!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct Student{ char ID[100];  …… 题解列表 2025年09月13日 0 点赞 0 评论 851 浏览 评分:0.0
1051: [编程入门]结构体之成绩统计2 摘要:解题思路:设计学生对象的结构体变量,将全局结构体数组做为函数形参,完成函数之间数据的传递。注意事项:在输入ID和NAME时,由于其为字符串数组,所以不需要使用取地址运算符&参考代码:#incl…… 题解列表 2025年09月14日 0 点赞 0 评论 802 浏览 评分:0.0
1054: 二级C语言-计算素数和 摘要:解题思路:注意事项:重要: 素数的定义是大于1且只能被1和自身整除的数参考代码:int isprime(int num){ if(num>1) …… 题解列表 2025年09月14日 0 点赞 0 评论 479 浏览 评分:0.0
二级C语言-计算素数和 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;bool isprime(int a){…… 题解列表 2025年09月15日 0 点赞 0 评论 489 浏览 评分:0.0
C语言训练-角谷猜想 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; int a=n;…… 题解列表 2025年09月15日 0 点赞 0 评论 580 浏览 评分:0.0
判断素数遍历 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j; int x; &n…… 题解列表 2025年09月16日 0 点赞 0 评论 564 浏览 评分:0.0
乘法口诀表 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ for(int i=1;i<…… 题解列表 2025年09月16日 0 点赞 0 评论 661 浏览 评分:0.0
使用scanf读取空格,在多次读取时候需要把\n用getchar()读取,不然会产生死循环 摘要:#define_CRT_SECURE_NO_WARNINGS1#include<stdio.h>charstr[210];int…… 题解列表 2025年09月17日 0 点赞 0 评论 411 浏览 评分:0.0