普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void GetReal(float*a){ printf ("please input a number:\n"); scanf ("…… 题解列表 2024年11月16日 0 点赞 0 评论 601 浏览 评分:0.0
链表的创建 摘要:#include <bits/stdc++.h> #define debuga(v, i) cout << #v << "[" << i << "]" << " = " << v 题解列表 2024年11月16日 0 点赞 0 评论 371 浏览 评分:0.0
普通解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main (){ int a[10]; double sum = 0; float b[10]…… 题解列表 2024年11月16日 0 点赞 0 评论 511 浏览 评分: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 评论 536 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ int a; scanf("%d",&a); if (a >= 0 && a % 2 != 0) print…… 题解列表 2024年11月16日 0 点赞 0 评论 964 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main (){ float r; scanf("%f",&r); if (fabs(r) <=…… 题解列表 2024年11月16日 0 点赞 0 评论 552 浏览 评分:0.0
这个换行要求真申金 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c; int i,a=0,b=0,d=0,e=0; while((c=getchar…… 题解列表 2024年11月16日 0 点赞 0 评论 621 浏览 评分:0.0
1022: [编程入门]筛选N以内的素数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int n, i, j; scanf("%d", &n); for (i = 2; i <…… 题解列表 2024年11月16日 0 点赞 0 评论 565 浏览 评分:0.0
使用递归完成解题,代码清晰可读 摘要:解题思路:使用函数递归,返回两个数值,分别是空水瓶数和已购水瓶数,当空水瓶数=2时,返回值加1(如题所述),<2时,直接返回代码结构如下:注意事项:在编写代码途中,需要注意适当增加变量保存水瓶数,如变…… 题解列表 2024年11月16日 1 点赞 0 评论 606 浏览 评分:9.9
C++STL 十进制 转 任意进制 摘要:#include <bits/stdc++.h> #define debuga(v, i) cout << #v << "[" << i << "]" << " = " << v 题解列表 2024年11月16日 0 点赞 0 评论 359 浏览 评分:0.0