• 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
Loops and conditions
2 Votes
Algorithm to create maze-like grid
2 Votes
photo upload issue in html code
0 Votes
app for lessons
1 Votes
I can't figure out how to use the getElementById code in JavaScript Code Playground, I've tried multiple times and watched YT
0 Votes
Need a personal tutor
0 Votes
Community and feed option
0 Votes
How Much RAM is Required for Object Detection Project
0 Votes
How can I turn my .py files to .exe files?
1 Votes
Hey ! how to install modules on this app
0 Votes