代码搜索:杨辉三角
找到约 115 项符合「杨辉三角」的源代码
代码结果 115
www.eeworm.com/read/201035/15418095
txt 杨辉三角.txt
#include
#include
using namespace std ;
int a[12][12] ;
int c(int x,int y) //动态规划求杨辉三角的值
{
if(a[x][y] != 0) return a[x][y] ;
if((y==1)||(y==x+1)) {a[x][y] = 1
www.eeworm.com/read/353190/10466182
frm 杨辉三角,对称.frm
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth = 6840
LinkTopic
www.eeworm.com/read/450755/7477021
txt 杨辉三角程序.txt
【程序61】
题目:打印出杨辉三角形(要求打印出10行如下图)
1.程序分析:
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
2.程序源代码:
main()
{int i,j;
int a[10][10];
pr
www.eeworm.com/read/202107/15390547
txt 输出杨辉三角.txt
#include
void main()
{
int a[12][12]={1}; //定义数组并且给动态数组负初值
int h,i,j;
for (h=1;h
www.eeworm.com/read/407553/11416036
c 杨辉三角-一维.c
#include "stdio.h"
#include "math.h"
#define M 100
#define N 1
main()
{
int i,t,n, a[M*M];
scanf("%d", &n);
for (i=1; i
www.eeworm.com/read/347211/11681884
opt 队列1杨辉三角.opt
www.eeworm.com/read/347211/11681888
dsp 队列1杨辉三角.dsp
# Microsoft Developer Studio Project File - Name="队列1杨辉三角" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) C
www.eeworm.com/read/347211/11681893
plg 队列1杨辉三角.plg
Build Log
--------------------Configuration: 队列1杨辉三角 - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\HP\LO
www.eeworm.com/read/347211/11681897
dsw 队列1杨辉三角.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# 警告: 不能编辑或删除该工作区文件!
###############################################################################
Project: "队列1杨辉三角"=".\队列1杨辉三角
www.eeworm.com/read/347211/11681900