普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main (){ float r; scanf("%f",&r); if (fabs(r) <=…… 题解列表 2024年11月16日 0 点赞 0 评论 600 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ int a; scanf("%d",&a); if (a >= 0 && a % 2 != 0) print…… 题解列表 2024年11月16日 0 点赞 0 评论 1029 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ char a; scanf("%c",&a); int b = (int)a; if ( b % 2 != 0…… 题解列表 2024年11月16日 0 点赞 0 评论 584 浏览 评分:0.0
普通解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main (){ int a[10]; double sum = 0; float b[10]…… 题解列表 2024年11月16日 0 点赞 0 评论 561 浏览 评分:0.0
链表的创建 摘要:#include <bits/stdc++.h> #define debuga(v, i) cout << #v << "[" << i << "]" << " = " << v 题解列表 2024年11月16日 0 点赞 0 评论 412 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void GetReal(float*a){ printf ("please input a number:\n"); scanf ("…… 题解列表 2024年11月16日 0 点赞 0 评论 643 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ double y; int x; scanf ("%d",&x); if (x < 1) { y = x;…… 题解列表 2024年11月16日 0 点赞 0 评论 984 浏览 评分:0.0
刷题是熟练的必经之路 摘要:解题思路:多看几遍就记住了注意事项:参考代码:#include<stdio.h>#include<stdbool.h>#include<math.h>bool judge(int n);int mai…… 题解列表 2024年11月16日 1 点赞 0 评论 530 浏览 评分:0.0
1106: 奖学金 (二维数组) 摘要:解题思路:将所有信息存放至二维数组并依据总分,语文成绩降序排序,依据学号升序排序注意事项:参考代码:def scholarship_ranking(): # 读取学生数量 n = int(…… 题解列表 2024年11月17日 0 点赞 0 评论 883 浏览 评分:0.0
[编程入门]筛选N以内的素数 摘要:解题思路:大于2的偶数都是合数,所以找的时候每次步进2。后面试除时只要除找到素数就行了注意事项:参考代码:#include <stdio.h> #include <stdlib.h> type…… 题解列表 2024年11月17日 1 点赞 0 评论 567 浏览 评分:0.0