1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> //strlen求字符串长度是要用int main(){ char c[1005]; gets(…… 题解列表 2023年12月04日 0 点赞 0 评论 132 浏览 评分:2.0
计算鞍点——使用三个列表 摘要:解题思路:一个列表放每一行的最大值,一个列表放这一行最大数值的列数,一个放每一列的最小值。然后判断这一行的最大值与最大值所在列数的最小值是否相等,相等的话输出行列数。注意事项:参考代码:a = [li…… 题解列表 2023年12月05日 0 点赞 0 评论 193 浏览 评分:2.0
题解 2907: 不与最大数相同的数字之和 摘要: #include using namespace std; int a[110]; int main() { int n,t=-1e9; …… 题解列表 2023年12月05日 0 点赞 0 评论 155 浏览 评分:2.0
写题解 2903: 不高兴的津津 摘要: #include using namespace std; int a[10],b[10],c[10],d,day; int main(){ for(…… 题解列表 2023年12月06日 0 点赞 0 评论 188 浏览 评分:2.0
题解 2773: 计算线段长度 摘要:解题思路:自行抄题解注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double xa,ya,xb,yb,a,…… 题解列表 2023年12月08日 0 点赞 0 评论 153 浏览 评分:2.0
车厢调度(python) 摘要:解题思路:注意事项:参考代码:def trainSchedule(n, order): stack = [] next_car = 1 for car in order: …… 题解列表 2023年12月17日 0 点赞 0 评论 249 浏览 评分:2.0
题解 2849: 石头剪子布 摘要: #include using namespace std; const int N=110; int a[N][N],sum; int main() {…… 题解列表 2023年12月18日 0 点赞 0 评论 205 浏览 评分:2.0
2849: 石头剪子布 摘要:``` #include using namespace std; const int N=110; int main(){ int T; cin>>T; while(T--){ …… 题解列表 2023年12月18日 0 点赞 0 评论 364 浏览 评分:2.0
最长最短单词 摘要:解题思路:注意事项:参考代码:myList=input().split()mydict= {}newList=[]for temp in myList: newList.append(len(t…… 题解列表 2023年12月20日 0 点赞 0 评论 279 浏览 评分:2.0
java真的很简单 摘要:import java.util.Scanner; import java.util.Arrays; public class Main { public static void main…… 题解列表 2023年12月20日 0 点赞 0 评论 203 浏览 评分:2.0