1168基础解法(Python) 摘要:解题思路:参考大佬给出的数学推导式注意事项:仅做记录用参考代码:n = int(input())a0 = float(input())an1 = float(input())lst_c,lst_cc …… 题解列表 2022年11月10日 0 点赞 0 评论 515 浏览 评分:0.0
C语言 二维数组的转置 详细列举各种注意事项 摘要:题目:写一个函数,使给定的一个二维数组(3×3)转置,即行列互换。解题思路:本函数的功能是实现转置,输入一个二维数组,输出转置后的二维数组。在转置过程中当i,j值不相等时,就把a[i][j]=a[j]…… 题解列表 2022年11月10日 0 点赞 0 评论 651 浏览 评分:0.0
自定义函数之数字后移 摘要:解题思路:利用pop()实现数字转移注意事项:参考代码:m=int(input())x=list(map(int,input().split()))n=int(input())for i in ran…… 题解列表 2022年11月10日 0 点赞 0 评论 333 浏览 评分:0.0
自定义函数之整数处理 摘要:解题思路:a,b=b,a 实现互换注意事项:参考代码:a = list(map(int,input().strip().split()))a=list(a)b=a.index(min(a))a[0]…… 题解列表 2022年11月10日 0 点赞 0 评论 281 浏览 评分:0.0
2781:奇偶ASCII值判断 摘要:解题思路:注意事项:参考代码:# include <stdio.h>int main(void){ char a; scanf("%c",&a); if(a%2==0) { printf("YES\n…… 题解列表 2022年11月10日 0 点赞 0 评论 424 浏览 评分:0.0
一个函数,一行代码 摘要: #include int gcd(int a, int b)// 最大公约数 { return !b ? a : gcd(b, a % b); } int lcm(int a,…… 题解列表 2022年11月10日 0 点赞 0 评论 363 浏览 评分:0.0
思路清晰了,慢慢实现就好 摘要: void Fun(int n)// 判断是否为完全数,以及输出其因子 { int arr[100] = { 0 };// 100大小就可以了 int sum = 0; int …… 题解列表 2022年11月10日 0 点赞 0 评论 317 浏览 评分:0.0
1246库函数解法(Python) 摘要:解题思路:注意事项:太晚了,先睡了,想起来了再写吧参考代码:from datetime import datetimeimport sysfor line in sys.stdin: line …… 题解列表 2022年11月11日 0 点赞 0 评论 442 浏览 评分:0.0
蓝桥杯基础练习VIP-FJ的字符串 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;void fun(int n){ if(n==1) cout<<char(6…… 题解列表 2022年11月11日 0 点赞 0 评论 339 浏览 评分:0.0
结构体之成绩统计2 摘要:#include<stdio.h>#include<malloc.h>struct student { char id[20]; char name[30]; int score[3…… 题解列表 2022年11月11日 0 点赞 0 评论 393 浏览 评分:0.0