1231: 杨辉三角
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[35][35],n;int main(){ a[1][1]=……
111111111111111111111111111111111111111111111111111111111111
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,a[100][100]; while(scanf("%d",&n)==1) ……
1231-杨辉三角(代码简洁,思路清晰)
摘要:```cpp
#include
using namespace std;
int a[30][30]; //1>n) //输入多组数据,按ctrl+z键退出循环
{
for(in……
1231基础解法(Python)
摘要:解题思路:没啥思路注意事项:注意print()才是空一行,print('\n')是空两行参考代码:lst_rec = list(map(int, input().split()))fo……
编写题解 1231: 杨辉三角
摘要:解题思路:注意事项:参考代码:#include "stdio.h"
int main() {
int n, i, j;
int a[30][30];
while (scanf("%……
1231: 杨辉三角(C语言)
摘要: #include
//计算杨辉三角的值
int calculate_value(int row,int col)//行和列
{
if(col==1||row==col)
……
杨辉三角 (C语言代码)水一下
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[35][35]; int i,j,m; while(scanf("%d",&m)!=EOF) { ……
杨辉三角 (C语言代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void){ int i, j, n; int num[30][30] = { 0 }; while (scanf(……