题解列表
1009,好懂的方法
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c,d,e,f,g; scanf("%d",&a);……
1481: 蓝桥杯算法提高VIP-剪刀石头布(python)
摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split())if a == b: print("0")elif (a == 0 and b == 2) or (a ==……
1014,好懂的方法
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n;long long s=0,b=1; scanf("%d",&n); for(……
自定义函数之整数处理
摘要:解题思路:注意事项:参考代码:def input_(): a=list(map(int,input().split())) deal(a)def deal(x): x.sort() ……
基础解法(三个函数找最大值)
摘要:解题思路:定义函数——输入其中三个函数——if语句——输出注意事项:定义是定义四个变量,不是三个,因为第四个变量当一个a与b比较结果的载体,不然又得编写多的if语句参考代码:#include<stdi……
蓝桥杯算法提高VIP-高精度乘法python(三行代码)
摘要:参考代码:x = int(input()) y = int(input()) print(x*y)……
JAVA 有需要的可以参考一下 小白一枚。
摘要:
import java.math.BigInteger;
import java.util.Arrays;
import java.util.Scanner;
import java.uti……
1024: [编程入门]矩阵对角线求和
摘要:解题思路:题目怎么描述,我们怎么做注意事项:注意函数scanf的输入格式参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int a,b……
2247,好懂的方法
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,e; scanf("%d%d%d",&a,&b,&c); d=a>b?a:b; d=c>……