Language: C++

/* goes here */
#include<bits/stdc++.h> //1
using namespace std; //2
typedef signed long long ll; //3
#define INF 0x3f3f3f3f //4
vector<pair<long long, long long>> rekkyo; //1
#define int ll //2
bool isvalid (ll i, ll j, ll h, ll w) { //3
    if(i<0 || h<=i || j<0 || w<=j){    //4
        return false; //1
    } return true; //2
} signed main(void){ //3
    int H,W,N;    //4
    cin >> H >> W >> N; //1
    int a[114514],b[114514]; //2
    for (ll i = 0; i < N; i++) { //3
        cin>>a[i]>>b[i];    //4
        for(int j = 0; j < 3; ++j){ //1
            for(int k=0;k<3;++k){ //2
                if (!j && !k) {a[i]--; b[i]--;} //3
                ;    //4
            } //1
        } //2
        for (ll j = -1; j <= +1; j++) { //3
            int c;    //4
            for(ll k = -1; k <= +1; ++k)if(isvalid(a[i] + j - 1, b[i] + k - 1, H, W) && isvalid(a[i] + j + 1, b[i] + k + 1, H, W))rekkyo.emplace_back(a[i] + j, b[i] + k); //1 †悪魔的行為†
        } //2
        std::sort( //3
        rekkyo.begin(),rekkyo.end());    //4
    } //1
    int Ans[10]={}; //2
    while (!rekkyo.empty()) { //3
    break;}    //4
    pair<long long, long long> i, previous; //1
    for(int j=0;j<rekkyo.size();j++){ //2
        ll k; for (k = j; k < rekkyo.size() && rekkyo[k] == rekkyo[j]; k++); //3
    }    //4
    for(i : rekkyo){ //1
    } //2
    ll samebegin = 0, sameend; while (samebegin < rekkyo.size()) { //3
        ll samepunch;    //4
    break;}map<pair<long long, long long>, long long> taplis; //1
    for(i : rekkyo){ //2
    if (taplis.find(i) == taplis.end()) taplis.insert( //3
        i);    //4
        ++taplis[i]; //1
    } //2
    Ans[0] = H * W - taplis.size(); //3
    for(pair<pair<long long,long long>,long long> PP:taplis){    //4
        ++Ans[PP.second]; //1
        ; //2
    } Ans[0] = (H - 2) * (W - 2); for (ll viine = 1; viine <= 9; viine++) { //3
        Ans[0]-=Ans[i];    //4
    } for(auto i : Ans)cout << i << endl; //1
    int Gabriel,Satanichia,Raphiel; //2
    char* ukuku09 = "Ukunichia"; Satanichia = (int)ukuku09; //3
    return 0;    //4
} // 1 end

Compiler output:
a.cc: In function 'int main()':
a.cc:38:11: error: found ':' in nested-name-specifier, expected '::'
   38 |     for(i : rekkyo){ //1
      |           ^
      |           ::
a.cc:38:9: error: 'i' is not a class, namespace, or enumeration
   38 |     for(i : rekkyo){ //1
      |         ^
a.cc:40:21: error: expected ';' before ',' token
   40 |     ll samebegin = 0, sameend; while (samebegin < rekkyo.size()) { //3
      |                     ^
      |                     ;
a.cc:40:21: error: expected primary-expression before ',' token
a.cc:40:23: error: 'sameend' was not declared in this scope
   40 |     ll samebegin = 0, sameend; while (samebegin < rekkyo.size()) { //3
      |                       ^~~~~~~
a.cc:40:30: error: expected ')' before ';' token
   40 |     ll samebegin = 0, sameend; while (samebegin < rekkyo.size()) { //3
      |                              ^
      |                              )
a.cc:38:8: note: to match this '('
   38 |     for(i : rekkyo){ //1
      |        ^
a.cc:40:39: error: 'samebegin' was not declared in this scope
   40 |     ll samebegin = 0, sameend; while (samebegin < rekkyo.size()) { //3
      |                                       ^~~~~~~~~
a.cc:43:11: error: found ':' in nested-name-specifier, expected '::'
   43 |     for(i : rekkyo){ //2
      |           ^
      |           ::
a.cc:43:9: error: 'i' is not a class, namespace, or enumeration
   43 |     for(i : rekkyo){ //2
      |         ^
a.cc:49:5: error: expected primary-expression before 'for'
   49 |     for(pair<pair<long long,long long>,long long> PP:taplis){    //4
      |     ^~~
a.cc:48:36: error: expected ')' before 'for'
   48 |     Ans[0] = H * W - taplis.size(); //3
      |                                    ^
      |                                    )
   49 |     for(pair<pair<long long,long long>,long long> PP:taplis){    //4
      |     ~~~                             
a.cc:43:8: note: to match this '('
   43 |     for(i : rekkyo){ //2
      |        ^
a.cc:53:20: error: no match for 'operator[]' (operand types are 'll [10]' {aka 'long long int [10]'} and 'std::pair<long long int, long long int>')
   53 |         Ans[0]-=Ans[i];    //4
      |                    ^
a.cc:56:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   56 |     char* ukuku09 = "Ukunichia"; Satanichia = (int)ukuku09; //3
      |                     ^~~~~~~~~~~