LJX............................................................... 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { int n,a,b,sum=0,ans=0; cin>>…… 题解列表 2023年12月06日 0 点赞 0 评论 151 浏览 评分:4.7
LJX........................................................ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,a,sum=1; cin>>a>>n; …… 题解列表 2023年12月06日 0 点赞 0 评论 137 浏览 评分:6.0
LJX ................................................. 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { int x,y,n,a=1,b=1; cin>>x>>y…… 题解列表 2023年12月06日 0 点赞 0 评论 221 浏览 评分:7.3
n阶Hanoi塔问题 摘要:解题思路:注意事项:参考代码:def hanoi(n, a, b, c, count): if n > 0: count = hanoi(n-1, a, c, b, count) …… 题解列表 2023年12月06日 0 点赞 0 评论 213 浏览 评分:0.0
题解 2905: 最大值和最小值的差 摘要: #include using namespace std; int a[100000],b[100000],c[1000000],d,e,f,g; int mai…… 题解列表 2023年12月06日 0 点赞 2 评论 161 浏览 评分:6.0
写题解 2903: 不高兴的津津 摘要: #include using namespace std; int a[10],b[10],c[10],d,day; int main(){ for(…… 题解列表 2023年12月06日 0 点赞 0 评论 211 浏览 评分:2.0
2902:输出最高分数的学生姓名 python实现(极简方法) 摘要:解题思路:本来想保存最大值,然后找对应的名字,后面发现找到最大值的时候可以直接用student保存学生的名字,最后直接输出该名字即可。注意事项:没有用到字典。参考代码:n = int(input())…… 题解列表 2023年12月06日 1 点赞 0 评论 257 浏览 评分:0.0
炒鸡笨办法 摘要:解题思路:直接利用二维数组小白笨办法注意事项:没啥注意的,小白都会滴参考代码:#include <stdio.h>void input(int(*a)[100],int m,int n){ fo…… 题解列表 2023年12月06日 0 点赞 0 评论 320 浏览 评分:9.9
整数平均值(报错) 摘要:解题思路:注意事项在这个代码运行时,报错error ld returned 1 exit status这个问题其实我代码本身没有问题,是因为我上一个代码运行结果未关闭造成的报错。error ld re…… 题解列表 2023年12月06日 0 点赞 0 评论 149 浏览 评分:0.0
模拟计算器--java语言 摘要:解题思路:注意事项:输入字符的写法非nextChar() 正确写法为:next().charAt(0)参考代码:import java.util.Scanner; public class Ma…… 题解列表 2023年12月06日 0 点赞 0 评论 136 浏览 评分:0.0