多输入输出练习1(数组解法) 摘要:解题思路:注意事项:在输入为零的时候记得要将最大值置零。参考代码:#include<stdio.h>int main(){ int i=0; int max; int a[1000]; int fla…… 题解列表 2021年12月20日 0 点赞 0 评论 413 浏览 评分:0.0
1969: 蓝桥杯算法提高VIP-字符串跳步 摘要:一个循环就搞定了。#include<bits/stdc++.h> using namespace std; int main() { string s; int st…… 题解列表 2021年12月21日 0 点赞 0 评论 398 浏览 评分:0.0
c语言巧妙解答(小白) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int v1,v2,t,s,l,T=0,a=1,flag=0,i; double lu1=0,lu2=0; sc…… 题解列表 2021年12月21日 0 点赞 0 评论 431 浏览 评分:0.0
时间设计-C语言 摘要:解题思路: 首先创建一个含有十二个元素的数组,方便后面计算天数;注意事项: 闰年的二月为29天参考代码:#include<stdio.h>int main(){ int year,month,d…… 题解列表 2021年12月21日 0 点赞 0 评论 409 浏览 评分:0.0
输出九九乘法表--编写题解 1570 摘要:print(" Nine-by-nine Multiplication Table") print("--------------------------------------") print…… 题解列表 2021年12月21日 0 点赞 0 评论 382 浏览 评分:0.0
回文数(二) (C语言) 简单易懂 摘要: #include #include #include #define N 100 void char_to_short(char str[],short…… 题解列表 2021年12月21日 0 点赞 0 评论 660 浏览 评分: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 评论 696 浏览 评分:0.0
1621: 蓝桥杯算法训练VIP-字符串编辑 摘要:C++ string 自带的各种成员函数很方便,直接用就行。#include<bits/stdc++.h> using namespace std; int main(){ stri…… 题解列表 2021年12月21日 0 点赞 0 评论 415 浏览 评分:0.0
1022: [编程入门]筛选N以内的素数 摘要:import java.io.*; /** * 筛法求素数 */ public class Main { public static BufferedReader in …… 题解列表 2021年12月21日 0 点赞 0 评论 551 浏览 评分:0.0
1054: 二级C语言-计算素数和 摘要:写一个函数把 n~m 之间的每个数都判断一遍,true 的打印,false 的跳过。#include<bits/stdc++.h> using namespace std; bool sush…… 题解列表 2021年12月21日 0 点赞 0 评论 380 浏览 评分:0.0