编写题解 1025: [编程入门]数组插入处理 自留笔记 摘要:解题思路:将要插入的数据放在数组最后一位,然后排序整个数组参考代码:#include <stdio.h> int main() { int a[10],min,t; for(i…… 题解列表 2022年02月22日 0 点赞 0 评论 287 浏览 评分:0.0
编写题解 1214: 恺撒密码 摘要:解题思路:注意事项:参考代码:dic={ 'A': 'V', 'B': 'W', 'C': 'X…… 题解列表 2022年02月22日 0 点赞 0 评论 461 浏览 评分:8.0
二维线段树与四叉树 摘要: 没用离散化地二维线段树和四叉树都被我卡掉了,故这里不放我的代码了。…… 题解列表 2022年02月22日 0 点赞 0 评论 562 浏览 评分:0.0
1054: 二级C语言-计算素数和(c语言--简单) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int isprime(int x) { if(x<2)return 0; for(i…… 题解列表 2022年02月22日 0 点赞 0 评论 397 浏览 评分:6.0
1094:字符串的输入输出处理(C代码) 摘要:解题思路:前N行字符串的处理:我们已知行数,就可以直接定义一个字符串数组来保存输入字符串,因为scanf函数遇到空格就会结束输入,而gets函数会把空格读进来,遇到回车符才会结束,所以采用gets函数…… 题解列表 2022年02月22日 0 点赞 0 评论 776 浏览 评分:8.4
java简短算法 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc = n…… 题解列表 2022年02月22日 0 点赞 0 评论 302 浏览 评分:0.0
编写题解 1213: 幸运儿(python代码) 摘要:解题思路:注意事项:参考代码:while True: try: n=int(input()) ls=list(range(1,n+1)) …… 题解列表 2022年02月22日 0 点赞 0 评论 394 浏览 评分:0.0
二级C语言-最小绝对值 摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split()))b=[abs(i) for i in a]index=b.index(min(b))a[index],a[…… 题解列表 2022年02月22日 0 点赞 0 评论 349 浏览 评分:0.0
蓝桥杯2013年第四届真题-打印十字图(Java解法) 摘要: **点击图标“ import java.util.Scanner; //打印十字图 public class Main{ static char[]…… 题解列表 2022年02月22日 0 点赞 0 评论 343 浏览 评分:0.0
蓝桥杯算法提高VIP-数字黑洞(巧用c++库函数sort排序) 摘要: #include using namespace std; int main() { int n,i,j,t=0; int a…… 题解列表 2022年02月22日 0 点赞 0 评论 727 浏览 评分:9.9