请做我的作业-构建NxN矩阵需要多少(盒)支木棒? [英] Please do my homework - How many (boxes of) sticks are required to build a NxN matrix?

查看:106
本文介绍了请做我的作业-构建NxN矩阵需要多少(盒)支木棒?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

火柴盒装50条.编写算法(使用后继,选择和表示的基本结构)来计算创建NxN矩阵所需的匹配框.

A match box contain 50 sticks. write an algorithm (using basic constructs of dequence, selection and repreation) to compute the match boxes required to create an NxN matrix.

推荐答案

作业/考试给您.


不.老实说,如果让别人为您做事,您希望学到什么?
No. Honestly, how do you expect to learn anything if you get other people to do your stuff for you?


这有什么问题?
你不知道算法吗?
:)
What is your trouble with it?
Couldn''t you figure the algorithm?
:)


这篇关于请做我的作业-构建NxN矩阵需要多少(盒)支木棒?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆