Language: C

#include <stdio.h>

int main(void)
{
    int n;
    char house[4][3][32] = {0};
    int i, j;

    for (i = 0; i < 4; i++){
        for (j = 0; j < 3; j++){
            strcpy(house[i][j], " 0 0 0 0 0 0 0 0 0 0");
        }
    }
    scanf("%d", &n);
    while (n-- > 0){
        int b, f, r, v;

        scanf("%d %d %d %d", &b, &f, &r, &v);
        house[b - 1][f - 1][r * 2 - 1] += v;
    }
    for (i = 0; i < 4; i++){
        for (j = 0; j < 3; j++){
            puts(house[i][j]);
        }
        if (i < 3) puts("####################");
    }

    return 0;
}
Compile Error Logs:

Status
Judge: 5/5 	C 	CPU: 00:00 sec 	Memory: 580 KB 	Length: 569 B 	2015-02-17 09:50
Results for testcases
Case # 	Verdict 	CPU Time 	Memory 	In 	Out 	Case Name
Case #1	: Accepted	00:00	580	26	315	testcase_00
Case #2	: Accepted	00:00	580	92	315	testcase_01
Case #3	: Accepted	00:00	580	53	315	testcase_02
Case #4	: Accepted	00:00	576	976	315	testcase_03
Case #5	: Accepted	00:00	580	2068	315	testcase_04
< prev | 		/ 		| next >

Judge Input #  ( | ) 		Judge Output #  ( | )






Compiler output:
main.c: In function 'main':
main.c:11:13: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
   11 |             strcpy(house[i][j], " 0 0 0 0 0 0 0 0 0 0");
      |             ^~~~~~
main.c:2:1: note: include '<string.h>' or provide a declaration of 'strcpy'
    1 | #include <stdio.h>
  +++ |+#include <string.h>
    2 | 
main.c:11:13: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
   11 |             strcpy(house[i][j], " 0 0 0 0 0 0 0 0 0 0");
      |             ^~~~~~
main.c:11:13: note: include '<string.h>' or provide a declaration of 'strcpy'
main.c: At top level:
main.c:30:1: error: unknown type name 'Compile'
   30 | Compile Error Logs:
      | ^~~~~~~
main.c:30:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Logs'
   30 | Compile Error Logs:
      |               ^~~~
main.c:33:84: error: invalid digit "9" in octal constant
   33 | Judge: 5/5      C       CPU: 00:00 sec  Memory: 580 KB  Length: 569 B   2015-02-17 09:50
      |                                                                                    ^~
main.c:35:6: error: stray '#' in program
   35 | Case #  Verdict         CPU Time        Memory  In      Out     Case Name
      |      ^
main.c:36:6: error: stray '#' in program
   36 | Case #1 : Accepted      00:00   580     26      315     testcase_00
      |      ^
main.c:37:6: error: stray '#' in program
   37 | Case #2 : Accepted      00:00   580     92      315     testcase_01
      |      ^
main.c:38:6: error: stray '#' in program
   38 | Case #3 : Accepted      00:00   580     53      315     testcase_02
      |      ^
main.c:39:6: error: stray '#' in program
   39 | Case #4 : Accepted      00:00   576     976     315     testcase_03
      |      ^
main.c:40:6: error: stray '#' in program
   40 | Case #5 : Accepted      00:00   580     2068    315     testcase_04
      |      ^
main.c:43:13: error: stray '#' in program
   43 | Judge Input #  ( | )            Judge Output #  ( | )
      |             ^
main.c:43:46: error: stray '#' in program
   43 | Judge Input #  ( | )            Judge Output #  ( | )
      |                                              ^