编写题解 1053: 二级C语言-平均值计算(简单易懂的解题方法python) 摘要:解题思路:通过列表的广泛性解题的思路会更加宽阔。注意事项:熟练列表的使用参考代码:a=list(map(int,input().split())) //通过列表同时输入多个值,此时为列表形式 co…… 题解列表 2022年08月10日 0 点赞 0 评论 926 浏览 评分:7.3
思路简单清晰的解法 摘要:解题思路:看过python列表操作的小伙伴应该都能看得懂注意事项:参考代码:while True: l1 = list(map(int, input().split())) l1.pop(…… 题解列表 2022年08月10日 0 点赞 0 评论 356 浏览 评分:0.0
和楼上老哥思路一样不过做法不同 摘要:解题思路:就是把一个列表分成两个新列表出来比较计算结果注意事项:参考代码:while True: l1 = list(map(int, input().split())) l2 = l1[…… 题解列表 2022年08月11日 0 点赞 1 评论 360 浏览 评分:0.0
c++的答案liiuleshi 摘要:解题思路:公式注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int main(){ double n; cin>>n; printf("c…… 题解列表 2022年08月11日 0 点赞 1 评论 233 浏览 评分:4.3
编写题解 1038: [编程入门]宏定义练习之三角形面积 摘要:解题思路:参考路知予的代码注意事项:参考代码:#include <stdio.h> #include <math.h> #define S (a+b+c)/2 //宏定义 #defin…… 题解列表 2022年08月11日 0 点赞 0 评论 314 浏览 评分:0.0
编写题解 1014: [编程入门]阶乘求和 摘要:解题思路:参考 寻光 博主的代码注意事项:参考代码:#include <stdio.h> int main() { int n; long long Sn,Cn;//直接用…… 题解列表 2022年08月11日 0 点赞 0 评论 256 浏览 评分:0.0
c语言求解圆面积(详细注释) 摘要:#include <stdio.h>int main(){ //设置圆半径为r,s double r,s; //输入圆半径r,注意在scanf中double要用%lf表示 sc…… 题解列表 2022年08月11日 0 点赞 0 评论 718 浏览 评分:6.0
数组解答100以内长度密码破译(新手版) 摘要:解题思路:一,设置数组变量a[],长度给100 设置整数变量i,用作计数和数组下标 设置字符变量t,用作接受输入和传递给…… 题解列表 2022年08月11日 0 点赞 0 评论 857 浏览 评分:9.9
tom数c++题解 摘要:解题思路:注意事项:参考代码:#include using namespace std; int main(){ long long n,sum=0,s,temp; while(cin>>n)…… 题解列表 2022年08月11日 0 点赞 5 评论 218 浏览 评分:7.7
亲和数c++题解 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int k; cin>>k; int m,n; …… 题解列表 2022年08月11日 0 点赞 2 评论 272 浏览 评分:6.0