题解列表
1099: 校门外的树(勿看,半成品)
摘要:解题思路:#include <bits/stdc++.h>//
using namespace std;
int ji[10000000];
int main()
{
int l,m……
1099: 校门外的树
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int l,m,tree[10000000],s,e,sum=0;int main……
1099: 校门外的树
摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int l,m,tree[1000000],s,e,sum=0,a=0;int main()……
题解 2839: 石头剪刀布
摘要:先仔细读题,理解题目的含义石头剪刀布是常见的猜拳游戏。石头胜剪刀,剪刀胜布,布胜石头。如果两个人出拳一样,则不分胜负。一天,小A和小B正好在玩石头剪刀布。已知他们的出拳都是有周期性规律的,比如:“石头……
1099: 校门外的树
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[10000000];int main(){ int l,m,su……
石头剪刀布(微详细)
摘要:“石头剪刀布”#include <bits/stdc++.h>
using namespace std;
int main()
{
int N,NA,NB,a[10000]……
2839: 石头剪刀布(百炼成钢,做了好多回才过)
摘要:解题思路:#include using namespace std;
int a[1000];
int b[1000];
int n;
int main()
{
int c,d,s……