题解列表

筛选

ASC||的值,···········&mid

摘要:解题思路:无注意事项:            通过定义整数类型来接受字符的ACS码值    参考代码:无#include<stdio.h> int main() {     char mycha……

优质题解,回归真神的初始途径

摘要:解题思路:利用列表[]的有序性和list函数的有序性,可以一一对应注意事项:参考代码:# 图书价格列表prices = [    28.9,  # 计算概论    32.7,  # 数据结构与算法  ……

一元二次方程--------------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;}……