题解 1231: 杨辉三角

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

筛选

杨辉三角 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void){ int i, j, n; int num[30][30] = { 0 }; while (scanf(……

杨辉三角解题

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

编写题解 1231: 杨辉三角

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

杨辉三角 (C语言代码)

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

杨辉三角 (C++代码)

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

杨辉三角 (C语言代码)

摘要:解题思路:还算可以两个数组  交替后一个是前一个的累计注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int n; int a[100……