# Magic rectangles --- Introduction ---

A magic square is a table of n rows and n columns, filled by numbers 1, 2, ..., n2, such that the sums of each row and each column are equal.

Magic rectangles is a variation of this principle: you are before a table of rows and colomns, with a given number at the side of each row and each column. Your goal is to fill this table using the numbers par les nombres 1,2,...,lignes×colonnes, so that the of each row and each column equals the corresponding given number. And of course no number can be used twice.

And you should solve each problem within minutes.

In order to access WIMS services, you need a browser supporting forms. In order to test the browser you are using, please type the word wims here: and press Enter''.