rcotta wrote:I found what I was doing wrong. When I read the tree could have at most 256 nodes, I assumed its depth would be at most 8, but it is not true.
I am receiving WA too. I test my code with the inputs and its OK. Here's my code: [c]#include <stdio.h> #include <stdlib.h> #include <string.h> int n, z, i, j, x, y, v; int level; int mat[25]; int pos[5], resp[5]; int min_total, min_cada, min_temp; void Testa() { min_temp = 0; for (i = 0; i < 25; i+...