2839: 石头剪刀布 摘要:解题思路:注意事项:i%na,i%nb参考代码: #include <iostream> using namespace std; int n,na,nb,a=0,b=0,A[100…… 题解列表 2023年07月19日 0 点赞 0 评论 308 浏览 评分:8.4
石头剪刀布 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[10000000],b[10000000];int main(){ …… 题解列表 2023年07月19日 0 点赞 0 评论 309 浏览 评分:0.0
2839: 石头剪刀布(百炼成钢,做了好多回才过) 摘要:解题思路:#include using namespace std; int a[1000]; int b[1000]; int n; int main() { int c,d,s…… 题解列表 2023年07月19日 0 点赞 0 评论 449 浏览 评分:6.0
石头剪刀布 摘要:# MarkDown编辑器基本使用说明 **如果这是您第一次使用MarkDown编辑器,建议先阅读这篇文章了解一下Markdown的基本使用方法。** ## 实时预览、全屏显示 ![…… 题解列表 2023年07月19日 0 点赞 0 评论 505 浏览 评分:9.9
石头剪刀布 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int n,nb,na,a[10000000],b[10000000],s…… 题解列表 2023年07月19日 0 点赞 0 评论 421 浏览 评分:9.9
石头剪刀布(微详细) 摘要:“石头剪刀布”#include <bits/stdc++.h> using namespace std; int main() { int N,NA,NB,a[10000]…… 题解列表 2023年07月19日 0 点赞 0 评论 425 浏览 评分:9.9
1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[10000000];int main(){ int l,m,su…… 题解列表 2023年07月19日 0 点赞 0 评论 372 浏览 评分:0.0
题解 2839: 石头剪刀布 摘要:先仔细读题,理解题目的含义石头剪刀布是常见的猜拳游戏。石头胜剪刀,剪刀胜布,布胜石头。如果两个人出拳一样,则不分胜负。一天,小A和小B正好在玩石头剪刀布。已知他们的出拳都是有周期性规律的,比如:“石头…… 题解列表 2023年07月19日 2 点赞 0 评论 1082 浏览 评分:9.9
1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int l,m,tree[1000000],s,e,sum=0,a=0;int main()…… 题解列表 2023年07月19日 0 点赞 0 评论 355 浏览 评分:8.0
1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int l,m,tree[10000000],s,e,sum=0;int main…… 题解列表 2023年07月19日 0 点赞 0 评论 542 浏览 评分:0.0