题解列表

筛选

判断是否为两位数之入门

摘要:解题思路:注意事项:参考代码:while True:    try:        n=int(input())        print("1") if 0.1<= n/100 <1 else pr……

数字的处理与判断c语言题解

摘要:解题思路:这题可以分成三个用户自定义函数来实现3个功能注意事项:这是个人想法,没有看题解参考代码:#include <stdio.h> int Num(int sum); void separat……

2838: 有趣的跳跃

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){      long long n;      int t=0,j,i,k=1; ……

2773计算线段长度

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double xa, ya, xb, yb; scanf("%lf %lf\n%……

题解 1040: [编程入门]实数的打印

摘要:解题思路: 可以直接三个打印注意事项:实数用"6.2f"格式输出参考代码:#include<stdio.h> int main() {     float a;         scanf("……

浮点型储存空间

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    float a;    double b;    printf ("%d %d",sizeof(a),si……

题解 1952: 求长方形面积

摘要:解题思路:考查长方形的周长和面积,整数类型,C语言基础知识注意事项:注意题目要求“C:”、“S:”参考代码:#include <stdio.h> int main() {   int w,h; ……

母牛的故事c语言

摘要:#include <stdio.h> int fun(int n) {     if(n<=3) {  return n; }     else {  return f……