输出九九乘法表--编写题解 1570 摘要:print(" Nine-by-nine Multiplication Table") print("--------------------------------------") print…… 题解列表 2021年12月21日 0 点赞 0 评论 303 浏览 评分:0.0
回文数(二) (C语言) 简单易懂 摘要: #include #include #include #define N 100 void char_to_short(char str[],short…… 题解列表 2021年12月21日 0 点赞 0 评论 588 浏览 评分:0.0
编写题解 1571: 蓝桥杯算法提高VIP-输出正反三角形 摘要:解题思路:注意事项:参考代码:m,n = map(int,input().split()) xing1 =list(range(1,2*m,2)) xing2 = xing1[:] xing2.…… 题解列表 2021年12月21日 0 点赞 0 评论 602 浏览 评分:0.0
1621: 蓝桥杯算法训练VIP-字符串编辑 摘要:C++ string 自带的各种成员函数很方便,直接用就行。#include<bits/stdc++.h> using namespace std; int main(){ stri…… 题解列表 2021年12月21日 0 点赞 0 评论 316 浏览 评分:0.0
1022: [编程入门]筛选N以内的素数 摘要:import java.io.*; /** * 筛法求素数 */ public class Main { public static BufferedReader in …… 题解列表 2021年12月21日 0 点赞 0 评论 434 浏览 评分:0.0
1054: 二级C语言-计算素数和 摘要:写一个函数把 n~m 之间的每个数都判断一遍,true 的打印,false 的跳过。#include<bits/stdc++.h> using namespace std; bool sush…… 题解列表 2021年12月21日 0 点赞 0 评论 286 浏览 评分:0.0
1044: [编程入门]三个字符串的排序 摘要:import java.io.*; import java.util.Arrays; /** * Arrays.sort() 也可以对 String 排序 */ public c…… 题解列表 2021年12月21日 0 点赞 0 评论 303 浏览 评分:0.0
1055: 二级C语言-进制转换 摘要:对所需转换数不断做对 8 取余数压入向量和本身除以 8 的操作直到这个数等于 0,最后将向量逆序输出即为所求。#include<bits/stdc++.h> using namespace std;…… 题解列表 2021年12月21日 0 点赞 0 评论 321 浏览 评分:0.0
蓝桥杯基础练习VIP-阶乘计算 摘要:解题思路:注意事项:参考代码:def jc(n): result=1 while n!=1: result=result*n n=n-1 return i…… 题解列表 2021年12月21日 0 点赞 0 评论 444 浏览 评分:0.0
Switch与CharAt 摘要:解题思路:通过单字符串对比注意事项:用equals时(‘’)是单引号,之前用法参考代码: Scanner sc = new Scanner(System.in); Stri…… 题解列表 2021年12月21日 0 点赞 0 评论 401 浏览 评分:0.0