题解列表
求一元二次方程(C语言)
摘要:解题思路:一元二次方程的求解公式注意事项:题目所要求的输出参考代码:#include<stdio.h>#include<math.h>double P,Q,K,X;void d0();void d1(……
题解 1196: 去掉空格
摘要:参考代码:#include<stdio.h>#include<string.h>#define N 80 typedef char str[N]; //重定义一个含有80个元素的字符数组 v……
1148: C语言训练-计算1977!*-题解(python)
摘要:解题思路:注意事项:参考代码:a = 1977s = 1while a: s *= a a -= 1print(s)……
台球碰撞-题解(python代码)
摘要:解题思路:将台球的整个运动过程沿水平和竖直两个方向分解,分别求出末横坐标M和末纵坐标N参考代码:#台球碰撞
from math import *
def REAL(p,q):
if p<……
编写题解 1016: [编程入门]水仙花数判断
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,e,f; for(a=100;a<=999;a++) { b=a%10……
编写题解 1015: [编程入门]求和训练
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; int i,d,u; float result=0.0,o=0.0,p=0.0……
题解 1475: 蓝桥杯基础练习VIP-高精度加法
摘要:解题思路:这个循环很有意思注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[105]; char b[105]……
编写题解 1125: C语言训练-委派任务*
摘要:解题思路:恶心的题目利用1和0表示去或者不去,循环一直套,判断条件稍微注意一点就好注意事项:参考代码:import java.util.Scanner;public class Main { p……