Language: C++


#include<iostream>
using namespace std;

int main(){
    int n, b, f, r, v;
    int i,j,k;
    int a[3][4][10];
    cin >> n;
    for (i = 0; i < 3; i++) {
        for (j = 0; j < 4; j++) {
            for (k = 0; k < 10; k++) {
                a[i][j][k] = 0;

            
        }
    }

    }
    for (int s = 0; s < n; s++) {
        cin >> b >> f >> r?????????;
        a[b][f][r] += v;

    }
    

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:28: error: expected primary-expression before '?' token
   21 |         cin >> b >> f >> r?????????;
      |                            ^
a.cc:21:29: error: expected primary-expression before '?' token
   21 |         cin >> b >> f >> r?????????;
      |                             ^
a.cc:21:30: error: expected primary-expression before '?' token
   21 |         cin >> b >> f >> r?????????;
      |                              ^
a.cc:21:31: error: expected primary-expression before '?' token
   21 |         cin >> b >> f >> r?????????;
      |                               ^
a.cc:21:32: error: expected primary-expression before '?' token
   21 |         cin >> b >> f >> r?????????;
      |                                ^
a.cc:21:33: error: expected primary-expression before '?' token
   21 |         cin >> b >> f >> r?????????;
      |                                 ^
a.cc:21:34: error: expected primary-expression before '?' token
   21 |         cin >> b >> f >> r?????????;
      |                                  ^
a.cc:21:35: error: expected primary-expression before '?' token
   21 |         cin >> b >> f >> r?????????;
      |                                   ^
a.cc:21:36: error: expected primary-expression before ';' token
   21 |         cin >> b >> f >> r?????????;
      |                                    ^
a.cc:21:36: error: expected ':' before ';' token
   21 |         cin >> b >> f >> r?????????;
      |                                    ^
      |                                    :
a.cc:21:36: error: expected primary-expression before ';' token
a.cc:21:36: error: expected ':' before ';' token
   21 |         cin >> b >> f >> r?????????;
      |                                    ^
      |                                    :
a.cc:21:36: error: expected primary-expression before ';' token
a.cc:21:36: error: expected ':' before ';' token
   21 |         cin >> b >> f >> r?????????;
      |                                    ^
      |                                    :
a.cc:21:36: error: expected primary-expression before ';' token
a.cc:21:36: error: expected ':' before ';' token
   21 |         cin >> b >> f >> r?????????;
      |                                    ^
      |                                    :
a.cc:21:36: error: expected primary-expression before ';' token
a.cc:21:36: error: expected ':' before ';' token
   21 |         cin >> b >> f >> r?????????;
      |                                    ^
      |                                    :
a.cc:21:36: error: expected primary-expression before ';' token
a.cc:21:36: error: expected ':' before ';' token
   21 |         cin >> b >> f >> r?????????;
      |                                    ^
      |                                    :
a.cc:21:36: error: expected primary-expression before ';' token
a.cc:21:36: error: expected ':' before ';' token
   21 |         cin >> b >> f >> r?????????;
      |                                    ^
      |                                    :
a.cc:21:36: error: expected primary-expression before ';' token
a.cc:21:36: error: expected ':' before ';' token
   21 |         cin >> b >> f >> r?????????;
      |                                    ^
      |                                    :
a.cc:21:36: error: expected primary-expression before ';' token
a.cc:21:36: error: expected ':' before ';' token
   21 |         cin >> b >> f >> r?????????;
      |                                    ^
      |                                    :
a.cc:21:36: error: expected primary-expression before ';' token