• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

Discussions Q&R

Matrix diagonals
arraydiagonalsjavamatrix
0 Vote
3 Réponses
16th Sep 2019, 11:33 PM
Alejo Garat
Alejo Garat - avatar
write a function which accepts a 2d array and displays the elements which lie on diagonals
c++pythonruby
5 Votes
1 Réponse
8th Sep 2017, 11:50 AM
Kai
Kai - avatar
How to calculate number of tiles so we get 81 tiles on right and left diagonals in 2D matrix?
c++
0 Vote
3 Réponses
12th Jun 2021, 3:11 AM
TeaserCode
matrix
2dabsolutearraycppdiagonalsdifferencedynamicloopsmatrixmemory
15 Votes
2 Réponses
2nd Jun 2019, 5:01 AM
Night_fury~
Night_fury~ - avatar
A magic square is a 3 by 3 matrix filled with integers in the range [1 - 9] so that each entry in the matrix has a unique value. The sum of each of the rows and each of the columns and each of the two diagonals must be equal to 15.
c++
1 Vote
3 Réponses
2nd Aug 2016, 2:14 PM
rahul punjabi
rahul punjabi - avatar
How to print a 3×3 matrix in which sum of all rows and columns is 15 including the diagonals and numbers upto 9 can only be used that is we can use only 1-9 without repeating the same number twice and without taking any input from the user.
2d-arrayc++
0 Vote
2 Réponses
2nd Oct 2016, 8:02 AM
Asim
Asim - avatar
Aujourd'hui en vedette
Ai generated practices
2 Votes
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
1 Votes
Solving coding challenges
2 Votes
Changing String Variables into int in C++
0 Votes
I am new
1 Votes
Fill in the blank to declare a static variable.
0 Votes
Advertising in Sololearn
0 Votes
Programming Language
0 Votes
RUST'S FUTURE
1 Votes
Question #2: "Please activate your account and keep learning to enable messaging. An email has been sent to you"
1 Votes