编写题解 1060: 二级C语言-同因查找 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ for(int a=10;a<1000;a++) { …… 题解列表 2021年12月09日 0 点赞 0 评论 371 浏览 评分:0.0
编写题解 1061: 二级C语言-计负均正 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[20]; int n=0,s=0,b=0; …… 题解列表 2021年12月09日 0 点赞 0 评论 463 浏览 评分:0.0
编写题解 1059: 二级C语言-等差数列 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,a=2,sum=0; cin>>n; f…… 题解列表 2021年12月09日 0 点赞 0 评论 498 浏览 评分:0.0
迭代法求平方根-题解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int a; double b,c,d,e; whil…… 题解列表 2021年12月09日 0 点赞 0 评论 397 浏览 评分:0.0
编写题解 1034: [编程入门]自定义函数之数字分离 摘要:解题思路:注意事项:参考代码://写一函数,输入一个四位数字,要求输出这四个数字字符,但每两个数字间空格。如输入1990,应输出"1 9 9 0#include<stdio.h>int main(){…… 题解列表 2021年12月10日 0 点赞 0 评论 571 浏览 评分:0.0
电报加密-C语言 摘要:解题思路:1.首先要先输入待转字符串,用gets()函数即可一次输入一串字符;题中提出输入a,输出b;输入b,输出c;可见当单字符在a~z时转换后的字符串为原来的各个字符+1得到;为z 则变a;其余非…… 题解列表 2021年12月10日 0 点赞 0 评论 523 浏览 评分:0.0
关于蓝桥杯2014年第五届真题-分糖果问题c++结构清晰的解法 摘要:解题思路:关于糖果分配问题我将其分解为三个问题 1:检查每个人的糖果是否相等;2:将每个人的糖果补成偶数;3:分糖果;注意事项:因为最开始分配的糖果是偶数所以关于三个问题的顺序应该是先检查,后小朋友之…… 题解列表 2021年12月10日 0 点赞 0 评论 595 浏览 评分:0.0
编写题解 1118: Tom数 摘要:解题思路:注意事项:参考代码:while True: try: n = str(input()) sum = 0 for i in n: …… 题解列表 2021年12月10日 0 点赞 0 评论 745 浏览 评分:0.0
Python字典映射 摘要:score = int(input())number = score//10switcher = { 10: 'A', 9: 'A', 8: '…… 题解列表 2021年12月10日 0 点赞 0 评论 425 浏览 评分:0.0
编写题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:import matha,b,c=map(float,input().split())x = -math.sqrt(-c+(b/2*a)**2)-b/2*ay = mat…… 题解列表 2021年12月10日 0 点赞 0 评论 484 浏览 评分:0.0