Python题解 1067: 二级C语言-分段函数 摘要:import mathwhile True: x=float(input()) if x >= 4: f=2*x+5 elif x >= 2 and x <4: …… 题解列表 2022年02月11日 0 点赞 0 评论 468 浏览 评分:0.0
矩阵转置 (Java代码) 摘要:import java.util.Scanner; public class Main { //不符合常理的旋转 public static void main(String[] args…… 题解列表 2022年02月11日 0 点赞 0 评论 553 浏览 评分:9.9
简单易懂,看看吧 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool isprime(int n){ for (int i = 2; i < n; ++i…… 题解列表 2022年02月11日 0 点赞 0 评论 439 浏览 评分:0.0
简单易懂a+b 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) …… 题解列表 2022年02月11日 0 点赞 0 评论 409 浏览 评分:0.0
蓝桥杯2020年第十一届省赛真题-回文日期的C语言解答 摘要:解题思路: 将八位数看做一个整形,给年月日赋值并检测年月日是否符合要求,若符合要求将此数字赋给数组,首尾判断是否为回文。因为题目只允许打印下一个非ABAB回文日期,所以需要定义一个标志位flog,用…… 题解列表 2022年02月11日 0 点赞 2 评论 1787 浏览 评分:9.0
孤独的骑士 摘要:解题思路:8*8的棋盘,简单易懂,不懂打我注意事项:参考代码:#include<stdio.h>int main() { int m,n,k,a,b,p,sum; char c; scanf("%d"…… 题解列表 2022年02月11日 0 点赞 0 评论 530 浏览 评分:9.9
程序员的表白(c++) 摘要: #include #include #include #include #include #include #include …… 题解列表 2022年02月11日 0 点赞 0 评论 584 浏览 评分:9.9
蓝桥杯算法提高VIP-单词个数统计(c) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> #include<ctype.h> #define M 101 int main() …… 题解列表 2022年02月11日 0 点赞 0 评论 533 浏览 评分:9.9
数字分离方法,判断加循环 摘要:解题思路:开头先说一下,把一个数依次按从低到高位分离的方法:假设这个数为num,即个位=num/1%10;十位=num/10%10;百位=num/100%10;...也就是说如果num有n位,那么个位…… 题解列表 2022年02月11日 0 点赞 0 评论 471 浏览 评分:9.9
DNA-题解(拆分法) 摘要:解题思路:参考样例输出,我们可将“DNA”拆分为两大部分分别打印。即:先打印第一行,再用b循环打印其余内容。注意事项:数据n,a,b的取值范围第一行与每次b循环中最后一行的空格数与数据a之间的关系中间…… 题解列表 2022年02月11日 0 点赞 0 评论 471 浏览 评分:0.0