题解 1231: 杨辉三角

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

动态规划解题

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    int n;    while(scanf("%d",……

1231: 杨辉三角

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

1231基础解法(Python)

摘要:解题思路:没啥思路注意事项:注意print()才是空一行,print(&#39;\n&#39;)是空两行参考代码:lst_rec = list(map(int, input().split()))fo……

编写题解 1231: 杨辉三角

摘要:解题思路:注意事项:参考代码:#include "stdio.h" int main() {   int n, i, j;   int a[30][30];   while (scanf("%……

杨辉三角解题

摘要:解题思路:注意事项:参考代码:while True:    try:        def tri(row):            List = [[1 for i in range(j)] for……

1231: 杨辉三角(C语言)

摘要: #include //计算杨辉三角的值 int calculate_value(int row,int col)//行和列 { if(col==1||row==col) ……

杨辉三角 (C++代码)

摘要:解题思路:水啊(注意换行)参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdio(false),cin.tie(0),cout.ti……