题解列表
利润计算——简单思路
摘要:解题思路:if——else-if——else 语句 ;比较直接。注意事项:注意数字的大小参考代码:#include<stdio.h>int main(){ int x,y; scanf("……
敲简单C语言代码!!!
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int sc[10000][5]; int i,t; int n,e,f; scanf ……
定义函数求最小公倍数以及最大公约数
摘要:解题思路:注意事项:参考代码:#include<stdio.h> int max(int a,int b) { int r=0; while(a%b!=0) { r=a%b; ……
编写题解 2927: 二分法求函数的零点
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>double fun(double x){ return pow(x,5)-15*po……
[编程入门]三个数最大值
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ int a[3],i,max; for(i=0;i<3;i+……
A+B for Input-Output Practice (I)
摘要:解题思路:EOF表示为文件结束符注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while (scanf("%d %d",&a,&b)!=E……
密码破译(chr()和ord()函数的应用)
摘要:解题思路:先将输入的i转化为ascll值后加4,再转化为字母注意事项:chr()函数:将ascll码转化为字符 ord()函数:将字符转化为ascll码简单代码:inp=in……