Language: C++

#include <algorithm>
#include <array>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <vector>

#define REP(X, Y, Z) for (ll(X) = (Y); (X) < (Z); (X)++)
#define REV(X, Y, Z) for (ll(X) = (Y); (X) > (Z); (X)--)

using namespace std;
using ld = long double;
using ll = long long;
using dll = deque<ll>;
using pll = pair<ll, ll>;
using qll = queue<ll>;
using usll = unordered_set<ll>;
using umll = unordered_map<ll, ll>;
using sll = stack<int>;
using vll = vector<ll>;
using vvll = vector<vll>;

constexpr ll kMax = 1e12 + 1;
constexpr ll kMod = 1e9 + 7;
constexpr long double kPI = 3.14159265358979323846;

ll gcd(ll a, ll b) {
  if (a < b) {
    return gcd(b, a);
  }
  ll c = a % b;
  while (c != 0) {
    a = b;
    b = c;
    c = a % b;
  }
  return b;
}

ll lcm(ll a, ll b) {
  return a / gcd(a, b) * b;
}

void init() {
  cin.tie(nullptr);
  ios_base::sync_with_stdio(false);
  cout << fixed << setprecision(15);
}

int main() {
  init();

  ll N;
  cin >> N;
  vector<string> S(N);
  ll a = 0, b = 0, c = 0, d = 0;
  REP(i, 0, N) {
    cin >> S[i];
    if (S[i] == "AC") {
      a++;
    } else if (S[i] == "WA") {
      b++;
    } else if (S[i] == "TLE") {
      c++;
    } else {
      d++;#include <algorithm>
#include <array>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <vector>

#define REP(X, Y, Z) for (ll(X) = (Y); (X) < (Z); (X)++)
#define REV(X, Y, Z) for (ll(X) = (Y); (X) > (Z); (X)--)

using namespace std;
using ld = long double;
using ll = long long;
using dll = deque<ll>;
using pll = pair<ll, ll>;
using qll = queue<ll>;
using usll = unordered_set<ll>;
using umll = unordered_map<ll, ll>;
using sll = stack<int>;
using vll = vector<ll>;
using vvll = vector<vll>;

constexpr ll kMax = 1e12 + 1;
constexpr ll kMod = 1e9 + 7;
constexpr long double kPI = 3.14159265358979323846;

ll gcd(ll a, ll b) {
  if (a < b) {
    return gcd(b, a);
  }
  ll c = a % b;
  while (c != 0) {
    a = b;
    b = c;
    c = a % b;
  }
  return b;
}

ll lcm(ll a, ll b) {
  return a / gcd(a, b) * b;
}

void init() {
  cin.tie(nullptr);
  ios_base::sync_with_stdio(false);
  cout << fixed << setprecision(15);
}

int main() {
  init();

  ll N;
  cin >> N;
  vector<string> S(N);
  ll a = 0, b = 0, c = 0, d = 0;
  REP(i, 0, N) {
    cin >> S[i];
    if (S[i] == "AC") {
      a++;
    } else if (S[i] == "WA") {
      b++;
    } else if (S[i] == "TLE") {
      c++;
    } else {
      d++;
    }
  }

  cout << "AC x " << a << endl;
  cout << "WA x " << b << endl;
  cout << "TLE x " << c << endl;
  cout << "RE x " << d << endl;

  return 0;
}

    }
  }

  cout << "AC x " << a << endl;
  cout << "WA x " << b << endl;
  cout << "TLE x " << c << endl;
  cout << "RE x " << d << endl;

  return 0;
}


Compiler output:
a.cc:81:11: error: stray '#' in program
   81 |       d++;#include <algorithm>
      |           ^
a.cc: In function 'int main()':
a.cc:81:12: error: 'include' was not declared in this scope
   81 |       d++;#include <algorithm>
      |            ^~~~~~~
a.cc:81:21: error: 'algorithm' was not declared in this scope
   81 |       d++;#include <algorithm>
      |                     ^~~~~~~~~
a.cc:106:1: error: expected primary-expression before 'using'
  106 | using namespace std;
      | ^~~~~
a.cc:122:20: error: a function-definition is not allowed here before '{' token
  122 | ll gcd(ll a, ll b) {
      |                    ^
a.cc:135:20: error: a function-definition is not allowed here before '{' token
  135 | ll lcm(ll a, ll b) {
      |                    ^
a.cc:139:13: error: a function-definition is not allowed here before '{' token
  139 | void init() {
      |             ^
a.cc:145:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
  145 | int main() {
      |         ^~
a.cc:145:9: note: remove parentheses to default-initialize a variable
  145 | int main() {
      |         ^~
      |         --
a.cc:145:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:145:12: error: a function-definition is not allowed here before '{' token
  145 | int main() {
      |            ^