蓝桥杯算法提高VIP-排队打水问题,贪心 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义变量n和m,t数组用于存储输入的…… 题解列表 2024年11月16日 0 点赞 0 评论 591 浏览 评分:0.0
自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:def yuan(a,b): for i in a: if i=='a' or i=='e' or i=='i…… 题解列表 2024年11月16日 0 点赞 0 评论 594 浏览 评分:0.0
C++STL 十进制 转 任意进制 摘要:#include <bits/stdc++.h> #define debuga(v, i) cout << #v << "[" << i << "]" << " = " << v 题解列表 2024年11月16日 0 点赞 0 评论 359 浏览 评分: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
这个换行要求真申金 摘要:解题思路:注意事项:参考代码:#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
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#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 (){ int a; scanf("%d",&a); if (a >= 0 && a % 2 != 0) print…… 题解列表 2024年11月16日 0 点赞 0 评论 964 浏览 评分: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>#include<math.h>int main (){ int a[10]; double sum = 0; float b[10]…… 题解列表 2024年11月16日 0 点赞 0 评论 511 浏览 评分:0.0
链表的创建 摘要:#include <bits/stdc++.h> #define debuga(v, i) cout << #v << "[" << i << "]" << " = " << v 题解列表 2024年11月16日 0 点赞 0 评论 371 浏览 评分:0.0