God Of Matrices

Revision en3, by YahiaBadr, 2019-01-03 21:42:02

Here is te problem were it says that: just print YES if AxB=C where A,B,C are nxn matrices. so the apporoach was to multiply C and B w matrix D which it’s size is nx1 so the operiations could be faster AxBxD= CxD. My question comes here, while choosing the values D it must be choosed by math.random otherwise it will fail in one of tests. Could anyone say why?

Tags #math, #matrix

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English YahiaBadr 2019-01-03 21:42:02 11 Tiny change: ' be faster. My quest' -> ' be faster AxBxD= CxD. My quest'
en2 English YahiaBadr 2019-01-03 21:40:48 30 Tiny change: ' if AxB=C so the ap' -> ' if AxB=C where A,B,C are nxn matrices. so the ap'
en1 English YahiaBadr 2019-01-03 21:39:43 382 Initial revision (published)