Comments (2)
Never mind, I got it!
If you are inverting a matrix using the cofactors/adjugate method, be careful how you change the signs on the cofactor matrix. Just multiplying every other value by -1 will only work for matrices with odd-numbered sizes. Need to make sure that the second row starts with a negative.
On that note, it would appear that tests 3, 9 and 10 are even sized matrices greater that 2 :)
from google-foobar-help.
Glad you got it! I was thinking that they would randomize the test cases each time 🤔 .
I might write a little script that determines the input for all the tests and put them in the readme so we can see possible inputs, but not sure if Google would appreciate that.
from google-foobar-help.
Related Issues (18)
- About doomsday_fuel challenge HOT 3
- Distract the guards HOT 6
- (I-Q)^-1 =? HOT 1
- Help wanted
- For test cases 3 and 10 f's columns do not match r's rows HOT 6
- How do you calculate inverse of matrix with fractions? HOT 2
- Add more Google Foobar Challenges!
- Some more to add (don't remember the names though)
- Solution to planning bunnies escape? HOT 1
- En Route Salute in one pass HOT 1
- doomsday_fuel issue HOT 1
- Distract the Trainers - Maximum Matching
- Failing one test on doomsday_fuel HOT 4
- Two-layer Dijkstra solution for prepare_the_bunnies_escape HOT 3
- Help ? (doomsday_fuel) HOT 13
- t
- Doomsday Fuel Python Test 8 HOT 29
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-foobar-help.