Found problems: 1
2016 USAMTS Problems, 1:
Another round, another diagram...
[asy]
unitsize(1cm);
defaultpen(linewidth(0.45));
real[][] arr = {
{0,0,0,0},
{0,0,0,0},
{0,0,0,0},
{0,0,0,0}};
for (int i=0; i<4; ++i){
for (int j=0; j<4; ++j){
if(arr[3-j][i] != 0){
label((string) arr[3-j][i], (i+0.5, j+0.5));
}
}
}
label("$+$", (-0.5, 4.5), dir(-45));
label("$-$", (4.5, -0.5), dir(135));
label("\Large 13", (-0.5, 3.5));
label("\Large 28", (-0.5, 2.5));
label("\Large 23", (-0.5, 0.5));
label("\Large 7", (4.5, 3.5));
label("\Large 8", (4.5, 1.5));
label("\Large 8", (4.5, 0.5));
label("\Large 12", (3.5, -0.5));
label("\Large 12", (2.5,-0.5));
label("\Large 7", (0.5, -0.5));
label("\Large 23", (3.5, 4.5 ));
label("\Large 25", (2.5,4.5));
label("\Large 28", (1.5,4.5));
label("\Large 13", (0.5,4.5));
for(int i = 1; i <= 3; ++i){
draw((i, 0)--(i, 4));
draw((0, i)--(4, i));
}
draw((0,0)--(0,4)--(4,4)--(4,0)--cycle, linewidth(1.5));
draw((-0.8,-0.8)--(0,0), linewidth(1.5));
draw((4,4 )--(4.8,4.8), linewidth(1.5));
[/asy]
Use [code]\begin{asy}
\end{asy}[/code]environment to render the diagram correctly in a latex document. Remember to write [code]\usepackage{asymptote}[/code] in the preamble.
And of course, replace the 0's in the array at the beginning of the code with the numbers you wish to fill it in with.