Sorry! Here it is:
#define DEBUG 0
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
/*
* DEFINES
*/
#define MAXN 1001
#define FALSE 0
#define TRUE 1
#define INF 2147483647
#define sFinalMatrix(a,b) resultMatrix[a+18279*b]
#define bool char
/*
* GLOBAL VARIABLES ...
Search found 4 matches
- Mon Mar 10, 2014 9:59 pm
- Forum: Volume 1 (100-199)
- Topic: 196 - Spreadsheet
- Replies: 42
- Views: 16456
- Sat Mar 08, 2014 8:22 pm
- Forum: Volume 1 (100-199)
- Topic: 196 - Spreadsheet
- Replies: 42
- Views: 16456
Re: 196 - Spreadsheet - RE
Thank you again, Bryan!
There as "+=" instead of just a "=" in the col calculation. Now, answers are right. Runtime Error still survives!
There as "+=" instead of just a "=" in the col calculation. Now, answers are right. Runtime Error still survives!

- Thu Mar 06, 2014 1:56 pm
- Forum: Volume 1 (100-199)
- Topic: 196 - Spreadsheet
- Replies: 42
- Views: 16456
Re: 196 - Spreadsheet - RE
Thank you very much, brianfry173!
I'm running this in a Windows machine and i don't receive that output "*** glibc detected *** double free or corruption (!prev): 0x0000000011c38010 ***Abort". However, with your debugs I see that the second free ("test free2 row 1, col 2, string (null), mem 0", for ...
I'm running this in a Windows machine and i don't receive that output "*** glibc detected *** double free or corruption (!prev): 0x0000000011c38010 ***Abort". However, with your debugs I see that the second free ("test free2 row 1, col 2, string (null), mem 0", for ...
- Wed Mar 05, 2014 8:45 pm
- Forum: Volume 1 (100-199)
- Topic: 196 - Spreadsheet
- Replies: 42
- Views: 16456
196 - Spreadsheet - RE
I'm working on this problem for 2 weeks. I finished my solution in one morning but, since then, I'm trying to get AC with no success. Whatever I try, I get a Runtime error. It compiles OK using mingw and it passed all the examples I tried. Here is my code:
#include <stdio.h>
#include <string.h ...
#include <stdio.h>
#include <string.h ...