Language: Java

#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cmath>
#include <ctime>
#include <cassert>
#include <string>
#include <algorithm>
#include <vector>
#include <queue>
#include <stack>
#include <functional>
#include <iostream>
#include <iomanip>
#include <map>
#include <set>
#include <list>
#include <limits>
#include <numeric>
#include <utility>
#include <deque>
#include <valarray>
#include <unordered_set>
#include <unordered_map>
#include <regex>
#include <array>
#include <bitset>
#include <complex>
#include <string>
#include <tuple>

using namespace std;
using ll = long long;
const int INF = 1e9;
const ll MOD = 1e9 + 7;

int main()
{
  int a, b;
  cin >> a >> b;
  if (a <= 5)
    cout << 0 << endl;
  else if (a <= 12)
    cout << b / 2 << endl;
  else
    cout << b << endl;

  return 0;
}


Compiler output:
Main.java:1: error: illegal character: '#'
#include <cstdio>
^
Main.java:2: error: illegal character: '#'
#include <cstring>
^
Main.java:3: error: illegal character: '#'
#include <cstdlib>
^
Main.java:4: error: illegal character: '#'
#include <cmath>
^
Main.java:5: error: illegal character: '#'
#include <ctime>
^
Main.java:6: error: illegal character: '#'
#include <cassert>
^
Main.java:7: error: illegal character: '#'
#include <string>
^
Main.java:8: error: illegal character: '#'
#include <algorithm>
^
Main.java:9: error: illegal character: '#'
#include <vector>
^
Main.java:10: error: illegal character: '#'
#include <queue>
^
Main.java:11: error: illegal character: '#'
#include <stack>
^
Main.java:12: error: illegal character: '#'
#include <functional>
^
Main.java:13: error: illegal character: '#'
#include <iostream>
^
Main.java:14: error: illegal character: '#'
#include <iomanip>
^
Main.java:15: error: illegal character: '#'
#include <map>
^
Main.java:16: error: illegal character: '#'
#include <set>
^
Main.java:17: error: illegal character: '#'
#include <list>
^
Main.java:18: error: illegal character: '#'
#include <limits>
^
Main.java:19: error: illegal character: '#'
#include <numeric>
^
Main.java:20: error: illegal character: '#'
#include <utility>
^
Main.java:21: error: illegal character: '#'
#include <deque>
^
Main.java:22: error: illegal character: '#'
#include <valarray>
^
Main.java:23: error: illegal character: '#'
#include <unordered_set>
^
Main.java:24: error: illegal character: '#'
#include <unordered_map>
^
Main.java:25: error: illegal character: '#'
#include <regex>
^
Main.java:26: error: illegal character: '#'
#include <array>
^
Main.java:27: error: illegal character: '#'
#include <bitset>
^
Main.java:28: error: illegal character: '#'
#include <complex>
^
Main.java:29: error: illegal character: '#'
#include <string>
^
Main.java:30: error: illegal character: '#'
#include <tuple>
^
Main.java:33: error: unnamed classes are a preview feature and are disabled by default.
using ll = long long;
^
  (use --enable-preview to enable unnamed classes)
Main.java:33: error: '.class' expected
using ll = long long;
                ^
Main.java:34: error: class, interface, enum, or record expected
const int INF = 1e9;
^
Main.java:35: error: class, interface, enum, or record expected
const ll MOD = 1e9 + 7;
^
Main.java:40: error: not a statement
  cin >> a >> b;
           ^
Main.java:42: error: not a statement
    cout << 0 << endl;
              ^
Main.java:44: error: not a statement
    cout << b / 2 << endl;
                  ^
Main.java:46: error: not a statement
    cout << b << endl;
              ^
38 errors