Problem 42805. GJam 2016 Rd1A: Rank and File (small)
92.86% Correct | 7.14% Incorrect
Last Solution submitted on Oct 15, 2020
Rafael S.T. Vieira on 15 Oct 2020
A better description for this problem can be found at http://joonprogramming.blogspot.com/2016/04/google-code-jam-qualification-round-1a_17.html We have to find an NXN matrix, without repeating numbers at any row or column that must be ordered. And we have 2*N-1 strips of scrambled numbers, which can be rows or columns. The problem is to find what the missing strip is (notice that a NXN matrix has 2*N strips).
Problem Recent Solvers10
Construct an index vector from two input vectors in vectorized fashion
Make a vector of prime numbers
More from this Author260
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!