题解列表

筛选

计算多项式的值

摘要:解题思路:注意事项:还是要注意数据的使用类型范围!参考代码:#include<stdio.h>int main(){    double x,t=1,s=1;    int n;    scanf("……

完数的判断(嵌套循环)

摘要:解题思路: 这题不好做,至少对于我( ´・・)ノ(._.`),想到了用数组来存完数的因子,那就好多了 注意事项: 参考代码: ```c #include int main() {……

求三个数最大值

摘要:解题思路:假设其中一个数为最大值,分别与另外两个数做比较。参考代码:#include<stdio.h>int main(){ int a,b,c; int m = 0;    scanf("%d %d……

最高的分数

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() {     int max = 0;     int n = 0;     scanf("%d",&n……

计算素数和

摘要:解题思路:很简单按照题目要求即可注意事项:如果用暴力要特判1参考代码:#include<iostream> using namespace std; int m,n; int sum=0; b……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h> typedef struct num{     int real;     int imag;  ……