题解列表
C语言训练-角谷猜想
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; int a=n;……
二级C语言-计算素数和
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;bool isprime(int a){……
二级C语言-计负均正
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; &nb……
1054: 二级C语言-计算素数和
摘要:解题思路:注意事项:重要: 素数的定义是大于1且只能被1和自身整除的数参考代码:int isprime(int num){ if(num>1) ……
1051: [编程入门]结构体之成绩统计2
摘要:解题思路:设计学生对象的结构体变量,将全局结构体数组做为函数形参,完成函数之间数据的传递。注意事项:在输入ID和NAME时,由于其为字符串数组,所以不需要使用取地址运算符&参考代码:#incl……
这个真的超级简单,没得说!!!
摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct Student{ char ID[100];  ……
组合数(隔板法)+ 高精度
摘要:解题思路:组合数(隔板法)+ 高精度参考代码:#include <iostream>#include <cstring>#include <algorithm>#i……