1733: 堆栈的使用-C语言 摘要:```c //堆栈的使用 #include #include typedef struct node { int data; struct node *next;…… 题解列表 2022年01月04日 0 点赞 0 评论 531 浏览 评分:0.0
1470: 蓝桥杯基础练习VIP-时间转换 摘要:时分秒挨个对 60 取余就得到了。#include <bits/stdc++.h> using namespace std; int main(){ int n; cin …… 题解列表 2022年01月04日 0 点赞 0 评论 332 浏览 评分:0.0
2084: 蓝桥杯基础练习-特殊回文数 摘要:先求各位和是否与所求一致,再判断是否是回文数,而不是相反。#include <bits/stdc++.h> using namespace std; int f(int a){ in…… 题解列表 2022年01月04日 0 点赞 0 评论 388 浏览 评分:0.0
1486: 蓝桥杯算法提高VIP-一元一次方程 摘要:无脑打印。#include <bits/stdc++.h> using namespace std; int main(){ double a,b; cin >> a >>…… 题解列表 2022年01月04日 0 点赞 0 评论 274 浏览 评分:0.0
1503: 蓝桥杯算法提高VIP-前10名 摘要:读入、排序后输出。#include <bits/stdc++.h> using namespace std; bool cmp(int &a,int &b){ return a>b;…… 题解列表 2022年01月04日 0 点赞 0 评论 268 浏览 评分:0.0
1584: 蓝桥杯算法训练VIP-判定字符位置 摘要:挨个用 find 找 a、e、i、o、u 的位置并保存,如果都没找到输出 0,找到了输出位置。#include <bits/stdc++.h> using namespace std; int…… 题解列表 2022年01月04日 0 点赞 0 评论 280 浏览 评分:0.0
1431: 蓝桥杯2014年第五届真题-分糖果-java版题解,仅嵌套一个for循环 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[…… 题解列表 2022年01月05日 0 点赞 0 评论 284 浏览 评分:0.0
StringBuffer里面的reverse方法 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2022年01月05日 0 点赞 0 评论 292 浏览 评分:0.0
[编程入门]三个数字的排序 冒泡排序 摘要:参考代码:#include<stdio.h>int main(){ int a[3]; for(int i=0;i<3;i++) scanf("%d",&a[i]); for(int j=0;…… 题解列表 2022年01月05日 0 点赞 0 评论 356 浏览 评分:0.0
[编程入门]筛选N以内的素数-题解(Python代码) 摘要:解题思路:注意事项:参考代码:num = int(input())for i in range(2, num+1): for j in range(2, (i+1)//2+1): …… 题解列表 2022年01月05日 0 点赞 0 评论 424 浏览 评分:0.0