早教吧作业答案频道 -->英语-->
英语翻译Thisisasupersimpleproblem.Thedescriptionissimple,thesolutionissimple.Ifyoubelieveso,justreaditon.Orifyoudon't,justpretendthatyoucan'tseethisone.Wesayanelementisinsideamatrixifithasfourneighboringele
题目详情
英语翻译
This is a super simple problem.The description is simple,the solution is simple.If you believe so,just read it on.Or if you don't,just pretend that you can't see this one.
We say an element is inside a matrix if it has four neighboring elements in the matrix (Those at the corner have two and on the edge have three).An element inside a matrix is called "nice" when its value equals the sum of its four neighbors.A matrix is called "k-nice" if and only if k of the elements inside the matrix are "nice".
Now given the size of the matrix and the value of k,you are to output any one of the "k-nice" matrix of the given size.It is guaranteed that there is always a solution to every test case.
This is a super simple problem.The description is simple,the solution is simple.If you believe so,just read it on.Or if you don't,just pretend that you can't see this one.
We say an element is inside a matrix if it has four neighboring elements in the matrix (Those at the corner have two and on the edge have three).An element inside a matrix is called "nice" when its value equals the sum of its four neighbors.A matrix is called "k-nice" if and only if k of the elements inside the matrix are "nice".
Now given the size of the matrix and the value of k,you are to output any one of the "k-nice" matrix of the given size.It is guaranteed that there is always a solution to every test case.
▼优质解答
答案和解析
呵呵,这是个智力题还是数学题...
翻译:
这是个超级简单的问题.问题的描述很简单,解答很简单.如果你相信,那么读下去.如果你认为不是,就当你没看见它好了.
我们假定一个元素在矩阵当中,同时有四个相邻的元素在这个矩阵中(矩阵的角上有2个边缘有3个).当一个元素的值等于与他相邻的四个元素的值的和时,这个在矩阵中的元素称为“好数”.【从这里开始我就不确定了】当一个矩阵中有k个这样能称为好数的元素时,这个矩阵就称为“k-nice”【将就一下吧】
现在给你矩阵的大小和k的数值,你需要给出在给定大小下任意一个“k-nice”矩阵.保证每一个测试题目总有一个答案.
不知道这样翻译对不对,我压根不知道矩阵是什么...
翻译:
这是个超级简单的问题.问题的描述很简单,解答很简单.如果你相信,那么读下去.如果你认为不是,就当你没看见它好了.
我们假定一个元素在矩阵当中,同时有四个相邻的元素在这个矩阵中(矩阵的角上有2个边缘有3个).当一个元素的值等于与他相邻的四个元素的值的和时,这个在矩阵中的元素称为“好数”.【从这里开始我就不确定了】当一个矩阵中有k个这样能称为好数的元素时,这个矩阵就称为“k-nice”【将就一下吧】
现在给你矩阵的大小和k的数值,你需要给出在给定大小下任意一个“k-nice”矩阵.保证每一个测试题目总有一个答案.
不知道这样翻译对不对,我压根不知道矩阵是什么...
看了英语翻译Thisisasupe...的网友还看了以下:
圆内接正三角形ABC的中心为O,半径为R,将其沿直线L向右翻滚,当正三角形滚一周时,其中心O经过的 2020-04-11 …
Every time I think about you , I have to r翻译:emin 2020-05-16 …
如图所示,为某游乐场的翻滚过山车的轨道,竖直圆形轨道的半径为R,现有一节车厢(可如图所示,为某游乐 2020-05-17 …
英语翻译植醇翻译:2-Hexadecen-1-ol,3,7,11,15-tetramethyl-, 2020-05-21 …
英语翻译三阶魔方高级玩法教程----F2L公式F2L、OLL、PLLA系列(RU'U'R'U)2y 2020-05-23 …
英语翻译Butiwastoldthatthiswillinvolvesomemoneyforcha 2020-07-26 …
质量均匀的无底圆桶重G,放在水平桌面上,如下图所示,内放甲、乙均匀圆球,每球重为,半径为r,桶的半 2020-07-29 …
粽子魔方梯形块翻正公式求大神帮助网上查到的第三层翻转梯形块有两个公式①:(RUR’U’)r(R’U 2020-08-02 …
英语翻译Thisisasupersimpleproblem.Thedescriptionissimp 2020-10-31 …
抱歉,我推翻了向量定理真是的,一不小心就推翻了,看好了:设若有两个非零向量E1,E2,且他们不平行设 2020-10-31 …