Buenas, al intentar probar el test 11 con "./principal <test/11.in> test/11.sal" me tira un error que no logro entender. Lo copio aquí y quizás me puedan ayudar. Gracias
*** Error in `./principal': double free or corruption (fasttop): 0x080d5ab0 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x67377)[0xb7443377]
/lib/i386-linux-gnu/libc.so.6(+0x6d2f7)[0xb74492f7]
/lib/i386-linux-gnu/libc.so.6(+0x6dc31)[0xb7449c31]
/usr/lib/i386-linux-gnu/libstdc++.so.6(_ZdlPv+0x18)[0xb7600d88]
./principal[0x804a15f]
./principal[0x8049390]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0xb73f4637]
./principal[0x8048741]
======= Memory map: ========
08048000-0804d000 r-xp 00000000 08:04 14429178 /home/osboxes/tarea22/tarea2/principal
0804d000-0804e000 r--p 00004000 08:04 14429178 /home/osboxes/tarea22/tarea2/principal
0804e000-0804f000 rw-p 00005000 08:04 14429178 /home/osboxes/tarea22/tarea2/principal
080cf000-080f4000 rw-p 00000000 00:00 0 [heap]
b7200000-b7221000 rw-p 00000000 00:00 0
b7221000-b7300000 ---p 00000000 00:00 0
b7367000-b736a000 rw-p 00000000 00:00 0
b736a000-b7386000 r-xp 00000000 08:01 11929437 /lib/i386-linux-gnu/libgcc_s.so.1
b7386000-b7387000 rw-p 0001b000 08:01 11929437 /lib/i386-linux-gnu/libgcc_s.so.1
b7387000-b73da000 r-xp 00000000 08:01 11932727 /lib/i386-linux-gnu/libm-2.23.so
b73da000-b73db000 r--p 00052000 08:01 11932727 /lib/i386-linux-gnu/libm-2.23.so
b73db000-b73dc000 rw-p 00053000 08:01 11932727 /lib/i386-linux-gnu/libm-2.23.so
b73dc000-b758c000 r-xp 00000000 08:01 11932724 /lib/i386-linux-gnu/libc-2.23.so
b758c000-b758e000 r--p 001af000 08:01 11932724 /lib/i386-linux-gnu/libc-2.23.so
b758e000-b758f000 rw-p 001b1000 08:01 11932724 /lib/i386-linux-gnu/libc-2.23.so
b758f000-b7592000 rw-p 00000000 00:00 0
b7592000-b76ff000 r-xp 00000000 08:01 531870 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b76ff000-b7700000 ---p 0016d000 08:01 531870 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b7700000-b7705000 r--p 0016d000 08:01 531870 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b7705000-b7706000 rw-p 00172000 08:01 531870 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b7706000-b7709000 rw-p 00000000 00:00 0
b771f000-b7721000 rw-p 00000000 00:00 0
b7721000-b7724000 r--p 00000000 00:00 0 [vvar]
b7724000-b7725000 r-xp 00000000 00:00 0 [vdso]
b7725000-b7748000 r-xp 00000000 08:01 11932710 /lib/i386-linux-gnu/ld-2.23.so
b7748000-b7749000 r--p 00022000 08:01 11932710 /lib/i386-linux-gnu/ld-2.23.so
b7749000-b774a000 rw-p 00023000 08:01 11932710 /lib/i386-linux-gnu/ld-2.23.so
bfb4f000-bfb70000 rw-p 00000000 00:00 0 [stack]
Aborted