题解列表

筛选

优质题解

杨辉三角(c++代码)

摘要:杨辉三角(在这里储存为直角正三角形) > 1 > 1 1 > 1 **2 1** > 1 3 **3** 1 > …… 看到这张图应该先想一下打印直角正三角形的代码 ```cpp ……

3072: 括弧匹配检验

摘要:# 栈问题 > https://www.programmercarl.com/0020.%E6%9C%89%E6%95%88%E7%9A%84%E6%8B%AC%E5%8F%B7.html#%E8……

2839: 石头剪刀布

摘要:解题思路:注意事项:i%na,i%nb参考代码:    #include <iostream>    using namespace std;    int n,na,nb,a=0,b=0,A[100……

石头剪刀布

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[10000000],b[10000000];int main(){  ……

石头剪刀布

摘要:# MarkDown编辑器基本使用说明 **如果这是您第一次使用MarkDown编辑器,建议先阅读这篇文章了解一下Markdown的基本使用方法。** ## 实时预览、全屏显示 ![……

石头剪刀布

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int n,nb,na,a[10000000],b[10000000],s……

石头剪刀布(微详细)

摘要:“石头剪刀布”#include <bits/stdc++.h> using namespace std; int main() {     int N,NA,NB,a[10000]……