数组的距离-Python 摘要:解题思路: 没有技巧,直接全部算出来取最小哈哈,说下代码思路 以a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 为例(ai, bi, i=1,2,3,4,5) …… 题解列表 2022年08月14日 0 点赞 1 评论 369 浏览 评分:9.9
编写题解 1098: 陶陶摘苹果(c语言 看题解都比较麻烦,写一个基础简单的) 摘要:解题思路:正常的数组的输入与输出注意事项:不要被题目中的30厘米迷惑了,直接加上去就行参考代码:#include<stdio.h> int main(){ int a[10],i,n,c…… 题解列表 2022年08月15日 0 点赞 0 评论 781 浏览 评分:9.9
二级C语言-分段函数 摘要:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double x; cin>>x; i…… 题解列表 2022年08月15日 0 点赞 0 评论 674 浏览 评分:9.9
二级C语言-计负均正 摘要:```cpp #include #include using namespace std; int main() { int a[21],as=0,bs=0,bss=0; …… 题解列表 2022年08月15日 0 点赞 0 评论 730 浏览 评分:9.9
1034简单的解法 摘要:解题思路:如下注意事项:如果复制,请复制过后检查,我提交时是正确的。参考代码:#include<stdio.h>int main(){ int a,b,c,d,e;//定义a,b,c,d,e; sc…… 题解列表 2022年08月15日 0 点赞 2 评论 293 浏览 评分:9.9
[编程入门]结构体之成绩统计2 新手简单易懂版本 摘要:```cpp #include #include using namespace std; struct Student { string xuehao; string xingmi…… 题解列表 2022年08月15日 0 点赞 0 评论 423 浏览 评分:9.9
二级C语言-公约公倍 摘要:```cpp #include using namespace std; int main() { int a,b,m,n,r; cin>>m>>n; a=m; …… 题解列表 2022年08月15日 0 点赞 0 评论 783 浏览 评分:9.9
二级C语言-阶乘数列 摘要:```c #include double x=1,s; int main() { for(int i=1;i…… 题解列表 2022年08月15日 0 点赞 0 评论 702 浏览 评分:9.9
二级C语言-自定义函数 摘要:```cpp #include #include using namespace std; double fact(double n) { double sum=1; f…… 题解列表 2022年08月16日 0 点赞 0 评论 1015 浏览 评分:9.9
就循环判断呗 摘要:解题思路:注意事项:参考代码:while True: n=int(input()) if n!=0: &nbs 题解列表 2022年08月16日 0 点赞 0 评论 439 浏览 评分:9.9