题解 1231: 杨辉三角

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

筛选

杨辉三角 (C++代码)

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

小白基础版)杨辉三角

摘要:解题思路:基本操作注意事项:参考代码:#include<stdio.h>int deal(int n);int main(){    int a;    while(scanf("%d",&a)!=E……

杨辉三角(C++)简单易懂

摘要:参考代码:#include <iostream>using namespace std;int main() {    int n;    while (cin >> n) {        // 使……

1231: 杨辉三角

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define N 100void yang(int n){ int i,j,a[N][N];  for(i=0;i<N;i++)  ……

编写题解 1231: 杨辉三角

摘要:解题思路:通过迭代进行循环注意事项:参考代码:#include<stdio.h> int main(){  int a,b,c,d,f[100][100];  while(scanf("%d",……

杨辉三角 (C语言代码)

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