题解列表

筛选

一元二次方程--------------C语言

摘要:解题思路:利用求根公式注意事项:导入数学库<math.h>参考代码:#include <stdio.h> #include <math.h> int main() { float a, b,……

二维数组的转置及C代码

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){  int i,j,a[3][3],count=0;  for(i=0;i<3;i++)  {       for……

不使用数组,只用循环

摘要:**解题思路** 不使用数组,首先使用一个循环遍历1到n的数。 然后自定义一个函数来判断每一个数是不是完数,假如是,就返回1.假如不是,就返回0。 在主函数的循环里,对函数的返回值进行判定,判定……

这个作弊也可以哟

摘要:解题思路:无注意事项:无参考代码:#include<iostream>using namespace std;int main(){    cout<<"Glmre";    return 0;}……