Language: Java

import java.util.Scanner;
 
 
public class Main {
     
 
    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);
        int n = stdIn.nextInt();
        int[][][] data = new int[4][3][10];
         
        for(int i = 0; i < n; i++) {
            int b = stdIn.nextInt();
            int f = stdIn.nextInt();
            int r = stdIn.nextInt();
            int v = stdIn.nextInt();
             
            data[b-1][f-1][r-1] += v;
        }
         
        for(int i = 0; i < 4; i++) {
            for(int j = 0; j < 3; j++) {
                for(int k = 0; k < 10; k++) {
                    System.out.print(" " + data[i][j][k]);
                }
                System.out.println();
            }
            if(i != 3) {
            System.out.println("####################");
            }
        }
    }
 
}


Compiler output:
Main.java:2: error: illegal character: '\u00a0'
?
^
Main.java:3: error: illegal character: '\u00a0'
?
^
Main.java:5: error: illegal character: '\u00a0'
?????
^
Main.java:5: error: illegal character: '\u00a0'
?????
 ^
Main.java:5: error: illegal character: '\u00a0'
?????
  ^
Main.java:5: error: illegal character: '\u00a0'
?????
   ^
Main.java:5: error: illegal character: '\u00a0'
?????
    ^
Main.java:6: error: illegal character: '\u00a0'
?
^
Main.java:7: error: illegal character: '\u00a0'
????public static void main(String[] args) {
^
Main.java:7: error: illegal character: '\u00a0'
????public static void main(String[] args) {
 ^
Main.java:7: error: illegal character: '\u00a0'
????public static void main(String[] args) {
  ^
Main.java:7: error: illegal character: '\u00a0'
????public static void main(String[] args) {
   ^
Main.java:8: error: illegal character: '\u00a0'
????????Scanner stdIn = new Scanner(System.in);
^
Main.java:8: error: illegal character: '\u00a0'
????????Scanner stdIn = new Scanner(System.in);
 ^
Main.java:8: error: illegal character: '\u00a0'
????????Scanner stdIn = new Scanner(System.in);
  ^
Main.java:8: error: illegal character: '\u00a0'
????????Scanner stdIn = new Scanner(System.in);
   ^
Main.java:8: error: illegal character: '\u00a0'
????????Scanner stdIn = new Scanner(System.in);
    ^
Main.java:8: error: illegal character: '\u00a0'
????????Scanner stdIn = new Scanner(System.in);
     ^
Main.java:8: error: illegal character: '\u00a0'
????????Scanner stdIn = new Scanner(System.in);
      ^
Main.java:8: error: illegal character: '\u00a0'
????????Scanner stdIn = new Scanner(System.in);
       ^
Main.java:9: error: illegal character: '\u00a0'
????????int n = stdIn.nextInt();
^
Main.java:9: error: illegal character: '\u00a0'
????????int n = stdIn.nextInt();
 ^
Main.java:9: error: illegal character: '\u00a0'
????????int n = stdIn.nextInt();
  ^
Main.java:9: error: illegal character: '\u00a0'
????????int n = stdIn.nextInt();
   ^
Main.java:9: error: illegal character: '\u00a0'
????????int n = stdIn.nextInt();
    ^
Main.java:9: error: illegal character: '\u00a0'
????????int n = stdIn.nextInt();
     ^
Main.java:9: error: illegal character: '\u00a0'
????????int n = stdIn.nextInt();
      ^
Main.java:9: error: illegal character: '\u00a0'
????????int n = stdIn.nextInt();
       ^
Main.java:10: error: illegal character: '\u00a0'
????????int[][][] data = new int[4][3][10];
^
Main.java:10: error: illegal character: '\u00a0'
????????int[][][] data = new int[4][3][10];
 ^
Main.java:10: error: illegal character: '\u00a0'
????????int[][][] data = new int[4][3][10];
  ^
Main.java:10: error: illegal character: '\u00a0'
????????int[][][] data = new int[4][3][10];
   ^
Main.java:10: error: illegal character: '\u00a0'
????????int[][][] data = new int[4][3][10];
    ^
Main.java:10: error: illegal character: '\u00a0'
????????int[][][] data = new int[4][3][10];
     ^
Main.java:10: error: illegal character: '\u00a0'
????????int[][][] data = new int[4][3][10];
      ^
Main.java:10: error: illegal character: '\u00a0'
????????int[][][] data = new int[4][3][10];
       ^
Main.java:11: error: illegal character: '\u00a0'
?????????
^
Main.java:11: error: illegal character: '\u00a0'
?????????
 ^
Main.java:11: error: illegal character: '\u00a0'
?????????
  ^
Main.java:11: error: illegal character: '\u00a0'
?????????
   ^
Main.java:11: error: illegal character: '\u00a0'
?????????
    ^
Main.java:11: error: illegal character: '\u00a0'
?????????
     ^
Main.java:11: error: illegal character: '\u00a0'
?????????
      ^
Main.java:11: error: illegal character: '\u00a0'
?????????
       ^
Main.java:11: error: illegal character: '\u00a0'
?????????
        ^
Main.java:12: error: illegal character: '\u00a0'
????????for(int i = 0; i < n; i++) {
^
Main.java:12: error: illegal character: '\u00a0'
????????for(int i = 0; i < n; i++) {
 ^
Main.java:12: error: illegal character: '\u00a0'
????????for(int i = 0; i < n; i++) {
  ^
Main.java:12: error: illegal character: '\u00a0'
????????for(int i = 0; i < n; i++) {
   ^
Main.java:12: error: illegal character: '\u00a0'
????????for(int i = 0; i < n; i++) {
    ^
Main.java:12: error: illegal character: '\u00a0'
????????for(int i = 0; i < n; i++) {
     ^
Main.java:12: error: illegal character: '\u00a0'
????????for(int i = 0; i < n; i++) {
      ^
Main.java:12: error: illegal character: '\u00a0'
????????for(int i = 0; i < n; i++) {
       ^
Main.java:13: error: illegal character: '\u00a0'
????????????int b = stdIn.nextInt();
^
Main.java:13: error: illegal character: '\u00a0'
????????????int b = stdIn.nextInt();
 ^
Main.java:13: error: illegal character: '\u00a0'
????????????int b = stdIn.nextInt();
  ^
Main.java:13: error: illegal character: '\u00a0'
????????????int b = stdIn.nextInt();
   ^
Main.java:13: error: illegal character: '\u00a0'
????????????int b = stdIn.nextInt();
    ^
Main.java:13: error: illegal character: '\u00a0'
????????????int b = stdIn.nextInt();
     ^
Main.java:13: error: illegal character: '\u00a0'
????????????int b = stdIn.nextInt();
      ^
Main.java:13: error: illegal character: '\u00a0'
????????????int b = stdIn.nextInt();
       ^
Main.java:13: error: illegal character: '\u00a0'
????????????int b = stdIn.nextInt();
        ^
Main.java:13: error: illegal character: '\u00a0'
????????????int b = stdIn.nextInt();
         ^
Main.java:13: error: illegal character: '\u00a0'
????????????int b = stdIn.nextInt();
          ^
Main.java:13: error: illegal character: '\u00a0'
????????????int b = stdIn.nextInt();
           ^
Main.java:14: error: illegal character: '\u00a0'
????????????int f = stdIn.nextInt();
^
Main.java:14: error: illegal character: '\u00a0'
????????????int f = stdIn.nextInt();
 ^
Main.java:14: error: illegal character: '\u00a0'
????????????int f = stdIn.nextInt();
  ^
Main.java:14: error: illegal character: '\u00a0'
????????????int f = stdIn.nextInt();
   ^
Main.java:14: error: illegal character: '\u00a0'
????????????int f = stdIn.nextInt();
    ^
Main.java:14: error: illegal character: '\u00a0'
????????????int f = stdIn.nextInt();
     ^
Main.java:14: error: illegal character: '\u00a0'
????????????int f = stdIn.nextInt();
      ^
Main.java:14: error: illegal character: '\u00a0'
????????????int f = stdIn.nextInt();
       ^
Main.java:14: error: illegal character: '\u00a0'
????????????int f = stdIn.nextInt();
        ^
Main.java:14: error: illegal character: '\u00a0'
????????????int f = stdIn.nextInt();
         ^
Main.java:14: error: illegal character: '\u00a0'
????????????int f = stdIn.nextInt();
          ^
Main.java:14: error: illegal character: '\u00a0'
????????????int f = stdIn.nextInt();
           ^
Main.java:15: error: illegal character: '\u00a0'
????????????int r = stdIn.nextInt();
^
Main.java:15: error: illegal character: '\u00a0'
????????????int r = stdIn.nextInt();
 ^
Main.java:15: error: illegal character: '\u00a0'
????????????int r = stdIn.nextInt();
  ^
Main.java:15: error: illegal character: '\u00a0'
????????????int r = stdIn.nextInt();
   ^
Main.java:15: error: illegal character: '\u00a0'
????????????int r = stdIn.nextInt();
    ^
Main.java:15: error: illegal character: '\u00a0'
????????????int r = stdIn.nextInt();
     ^
Main.java:15: error: illegal character: '\u00a0'
????????????int r = stdIn.nextInt();
      ^
Main.java:15: error: illegal character: '\u00a0'
????????????int r = stdIn.nextInt();
       ^
Main.java:15: error: illegal character: '\u00a0'
????????????int r = stdIn.nextInt();
        ^
Main.java:15: error: illegal character: '\u00a0'
????????????int r = stdIn.nextInt();
         ^
Main.java:15: error: illegal character: '\u00a0'
????????????int r = stdIn.nextInt();
          ^
Main.java:15: error: illegal character: '\u00a0'
????????????int r = stdIn.nextInt();
           ^
Main.java:16: error: illegal character: '\u00a0'
????????????int v = stdIn.nextInt();
^
Main.java:16: error: illegal character: '\u00a0'
????????????int v = stdIn.nextInt();
 ^
Main.java:16: error: illegal character: '\u00a0'
????????????int v = stdIn.nextInt();
  ^
Main.java:16: error: illegal character: '\u00a0'
????????????int v = stdIn.nextInt();
   ^
Main.java:16: error: illegal character: '\u00a0'
????????????int v = stdIn.nextInt();
    ^
Main.java:16: error: illegal character: '\u00a0'
????????????int v = stdIn.nextInt();
     ^
Main.java:16: error: illegal character: '\u00a0'
????????????int v = stdIn.nextInt();
      ^
Main.java:16: error: illegal character: '\u00a0'
????????????int v = stdIn.nextInt();
       ^
Main.java:16: error: illegal character: '\u00a0'
????????????int v = stdIn.nextInt();
        ^
Main.java:16: error: illegal character: '\u00a0'
????????????int v = stdIn.nextInt();
         ^
Main.java:16: error: illegal character: '\u00a0'
????????????int v = stdIn.nextInt();
          ^
100 errors
only showing the first 100 errors, of 293 total; use -Xmaxerrs if you would like to see more