车厢调度(python) 摘要:解题思路:注意事项:参考代码:def trainSchedule(n, order): stack = [] next_car = 1 for car in order: …… 题解列表 2023年12月17日 0 点赞 0 评论 449 浏览 评分:2.0
2878: 计算矩阵边缘元素之和 摘要:``` #include using namespace std; const int N=110; int a[N][N]; int main(){ int n,m,sum=0; …… 题解列表 2023年12月18日 0 点赞 0 评论 255 浏览 评分:2.0
题解 2849: 石头剪子布 摘要: #include using namespace std; const int N=110; int a[N][N],sum; int main() {…… 题解列表 2023年12月18日 0 点赞 0 评论 380 浏览 评分:2.0
2849: 石头剪子布 摘要:``` #include using namespace std; const int N=110; int main(){ int T; cin>>T; while(T--){ …… 题解列表 2023年12月18日 0 点赞 0 评论 505 浏览 评分:2.0
最长最短单词 摘要:解题思路:注意事项:参考代码:myList=input().split()mydict= {}newList=[]for temp in myList: newList.append(len(t…… 题解列表 2023年12月20日 0 点赞 0 评论 481 浏览 评分:2.0
java真的很简单 摘要:import java.util.Scanner; import java.util.Arrays; public class Main { public static void main…… 题解列表 2023年12月20日 0 点赞 0 评论 375 浏览 评分:2.0
1231: 杨辉三角 摘要:``` #include using namespace std; const int N=110; int a[N][N]; int main(){ int n; while(cin…… 题解列表 2023年12月22日 0 点赞 0 评论 341 浏览 评分:2.0
2784: 收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int x,y; cin >> x >>y ;…… 题解列表 2023年12月23日 0 点赞 0 评论 359 浏览 评分:2.0
题解 2857: 加密的病历单 摘要: #include using namespace std; char a[200],b[200]; int n,m; int main(){ …… 题解列表 2024年01月03日 0 点赞 0 评论 442 浏览 评分:2.0
python版:错误答案,仅供参考 摘要:解题思路:注意事项:参考代码:def if_jolly(sequence): n=sequence[0] differences=set() for i in range(1,n):…… 题解列表 2024年01月06日 0 点赞 0 评论 430 浏览 评分:2.0