题解列表
二级C语言-自定义函数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double x,y; scanf("%lf",&x); if(x<1) { y=x; } else if(x……
Tom数(我来用Java写)
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main{ public static void main(String[] args)……
2285: 蓝桥杯2018年第九届真题-螺旋折线
摘要:解题思路:注意事项:参考代码:x,y=map(int,input().split())
l=max(abs(x),abs(y))
if x == 0 and y==0:
print(0)……
1093: 字符逆序
摘要:```cpp
#include
using namespace std;
int main(){
char str[100];
gets(str); //用gets输……
二级C语言-自定义函数
摘要:解题思路:注意事项:注意一次输入俩个数据还是一次输入一个数据,输入俩次参考代码:d=input()a=d.split(' ')if len(a)==1: x=(input()) ……
2610: 蓝桥杯2021年第十二届省赛真题-杨辉三角形(Python)
摘要:```python
def C(a,b):
res = 1
for i in range(1,b+1):
res = res * a / i
……
小球下落,C语言,通俗易懂
摘要:解题思路:模拟小球下落的过程,下落弹回为一个过程,反复多次过程即可。注意事项:最后多算了一个,须要减掉参考代码:#include<stdio.h>#include<string.h>int main(……