Language: C



#include <stdio.h>
 
int main()
{
    int n,b,f,r,v;
    int i,j,k;
    int x[4][3][10] = {0};
     
    scanf("%d",&n);
     
    for(i=0;i<n;i++){
        scanf("%d %d %d %d",&b,&f,&r,&v);
        x[b-1][f-1][r-1] += v;
    }
     
    for(i=0;i<4;i++){
        for(j=0;j<3;j++){
            for(k=0;k<10;k++){
                printf(" %d",x[i][j][k]);
            }
            printf("\n");
        }
        if(i != 3)
        printf("####################\n");
    }
    return 0;
}
 

 
Compile Error Logs: 

You are not authorized to see the message. 
 
 
??????????????? 
Judge: 5/5  C  CPU: 00.00 sec  Memory: 612 KB  Length: 373 B  2016-07-07 10:58  2016-07-07 10:58  
???????????±????????????????????? 
Case # Verdict CPU Time Memory In Out Case Name 
 Case #1: : Accepted  00.00 sec 612 KB 26 B 315 B test_case_1 
 Case #2: : Accepted  00.00 sec 612 KB 92 B 315 B test_case_2 
 Case #3: : Accepted  00.00 sec 612 KB 53 B 315 B test_case_3 
 Case #4: : Accepted  00.00 sec 612 KB 976 B 315 B test_case_4 
 Case #5: : Accepted  00.00 sec 612 KB 2068 B 315 B test_case_5 



 < prev | 1 /  5 | next >      : Accepted        00.00 sec        612 KB 

 

Judge Input #1 ( in1.txt | 26 B)  Judge Output #1 ( out1.txt | 315 B) 

3
1 1 3 8
3 2 2 7
4 3 8 1

  
 0 0 8 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0
####################
 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0
####################
 0 0 0 0 0 0 0 0 0 0
 0 7 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0
####################
 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 1 0 0

 

Comments 
 

 ??\????????§?????? 

 
Categories 
 



 
Free Tags 
 



 

Compiler output:
main.c:33:1: error: unknown type name 'Compile'
   33 | Compile Error Logs:
      | ^~~~~~~
main.c:33:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Logs'
   33 | Compile Error Logs:
      |               ^~~~
main.c:40:12: error: stray '\302' in program
   40 | ???????????<U+00B1>?????????????????????
      |            ^~~~~~~~
main.c:41:6: error: stray '#' in program
   41 | Case # Verdict CPU Time Memory In Out Case Name
      |      ^
main.c:42:7: error: stray '#' in program
   42 |  Case #1: : Accepted  00.00 sec 612 KB 26 B 315 B test_case_1
      |       ^
main.c:43:7: error: stray '#' in program
   43 |  Case #2: : Accepted  00.00 sec 612 KB 92 B 315 B test_case_2
      |       ^
main.c:44:7: error: stray '#' in program
   44 |  Case #3: : Accepted  00.00 sec 612 KB 53 B 315 B test_case_3
      |       ^
main.c:45:7: error: stray '#' in program
   45 |  Case #4: : Accepted  00.00 sec 612 KB 976 B 315 B test_case_4
      |       ^
main.c:46:7: error: stray '#' in program
   46 |  Case #5: : Accepted  00.00 sec 612 KB 2068 B 315 B test_case_5
      |       ^
main.c:54:13: error: stray '#' in program
   54 | Judge Input #1 ( in1.txt | 26 B)  Judge Output #1 ( out1.txt | 315 B)
      |             ^
main.c:54:48: error: stray '#' in program
   54 | Judge Input #1 ( in1.txt | 26 B)  Judge Output #1 ( out1.txt | 315 B)
      |                                                ^
main.c:65:1: error: stray '##' in program
   65 | ####################
      | ^~
main.c:65:3: error: stray '##' in program
   65 | ####################
      |   ^~
main.c:65:5: error: stray '##' in program
   65 | ####################
      |     ^~
main.c:65:7: error: stray '##' in program
   65 | ####################
      |       ^~
main.c:65:9: error: stray '##' in program
   65 | ####################
      |         ^~
main.c:65:11: error: stray '##' in program
   65 | ####################
      |           ^~
main.c:65:13: error: stray '##' in program
   65 | ####################
      |             ^~
main.c:65:15: error: stray '##' in program
   65 | ####################
      |               ^~
main.c:65:17: error: stray '##' in program
   65 | ####################
      |                 ^~
main.c:65:19: error: stray '##' in program
   65 | ####################
      |                   ^~
main.c:69:1: error: stray '##' in program
   69 | ####################
      | ^~
main.c:69:3: error: stray '##' in program
   69 | ####################
      |   ^~
main.c:69:5: error: stray '##' in program
   69 | ####################
      |     ^~
main.c:69:7: error: stray '##' in program
   69 | ####################
      |       ^~
main.c:69:9: error: stray '##' in program
   69 | ####################
      |         ^~
main.c:69:11: error: stray '##' in program
   69 | ####################
      |           ^~
main.c:69:13: error: stray '##' in program
   69 | ####################
      |             ^~
main.c:69:15: error: stray '##' in program
   69 | ####################
      |               ^~
main.c:69:17: error: stray '##' in program
   69 | ####################
      |                 ^~
main.c:69:19: error: stray '##' in program
   69 | ####################
      |                   ^~
main.c:73:1: error: stray '##' in program
   73 | ####################
      | ^~
main.c:73:3: error: stray '##' in program
   73 | ####################
      |   ^~
main.c:73:5: error: stray '##' in program
   73 | ####################
      |     ^~
main.c:73:7: error: stray '##' in program
   73 | ####################
      |       ^~
main.c:73:9: error: stray '##' in program
   73 | ####################
      |         ^~
main.c:73:11: error: stray '##' in program
   73 | ####################
      |           ^~
main.c:73:13: error: stray '##' in program
   73 | ####################
      |             ^~
main.c:73:15: error: stray '##' in program
   73 | ####################
      |               ^~
main.c:73:17: error: stray '##' in program
   73 | ####################
      |                 ^~
main.c:73:19: error: stray '##' in program
   73 | ####################
      |                   ^~
main.c:83:4: error: stray '\' in program
   83 |  ??\????????§??????
      |    ^
main.c:83:13: error: stray '\302' in program
   83 |  ??\????????<U+00A7>??????
      |             ^~~~~~~~