Language: Java

#include<iostream>
#include<string>
using namespace std;

int main() {
　　　int e;
　　　cin >> e;
　　　for(int i=0;i<e;i++){
　　　　　　int o=0,r=0,c=0;
　　　　　　while(1){
　　　　　　　　　string str;
　　　　　　　　　if(o==3) break;
　　　　　　　　　cin >> str;
　　　　　　　　　if(str=="HIT"){
　　　　　　　　　　　　if(r==3) c++,r--;
　　　　　　　　　　　　r++;
　　　　　　　　　}
　　　　　　　　　else if(str=="OUT") o++;
　　　　　　　　　else{
　　　　　　　　　　　　c+=r+1;
　　　　　　　　　　　　r=0;
　　　　　　　　　}
　　　}
　　　cout << c << endl;
　　　}
　　　return 0;
}

Compiler output:
Main.java:1: error: illegal character: '#'
#include<iostream>
^
Main.java:2: error: illegal character: '#'
#include<string>
^
Main.java:6: error: illegal character: '\u3000'
???int e;
^
Main.java:6: error: illegal character: '\u3000'
???int e;
 ^
Main.java:6: error: illegal character: '\u3000'
???int e;
  ^
Main.java:7: error: illegal character: '\u3000'
???cin >> e;
^
Main.java:7: error: illegal character: '\u3000'
???cin >> e;
 ^
Main.java:7: error: illegal character: '\u3000'
???cin >> e;
  ^
Main.java:7: error: not a statement
???cin >> e;
       ^
Main.java:8: error: illegal character: '\u3000'
???for(int i=0;i<e;i++){
^
Main.java:8: error: illegal character: '\u3000'
???for(int i=0;i<e;i++){
 ^
Main.java:8: error: illegal character: '\u3000'
???for(int i=0;i<e;i++){
  ^
Main.java:9: error: illegal character: '\u3000'
??????int o=0,r=0,c=0;
^
Main.java:9: error: illegal character: '\u3000'
??????int o=0,r=0,c=0;
 ^
Main.java:9: error: illegal character: '\u3000'
??????int o=0,r=0,c=0;
  ^
Main.java:9: error: illegal character: '\u3000'
??????int o=0,r=0,c=0;
   ^
Main.java:9: error: illegal character: '\u3000'
??????int o=0,r=0,c=0;
    ^
Main.java:9: error: illegal character: '\u3000'
??????int o=0,r=0,c=0;
     ^
Main.java:10: error: illegal character: '\u3000'
??????while(1){
^
Main.java:10: error: illegal character: '\u3000'
??????while(1){
 ^
Main.java:10: error: illegal character: '\u3000'
??????while(1){
  ^
Main.java:10: error: illegal character: '\u3000'
??????while(1){
   ^
Main.java:10: error: illegal character: '\u3000'
??????while(1){
    ^
Main.java:10: error: illegal character: '\u3000'
??????while(1){
     ^
Main.java:11: error: illegal character: '\u3000'
?????????string str;
^
Main.java:11: error: illegal character: '\u3000'
?????????string str;
 ^
Main.java:11: error: illegal character: '\u3000'
?????????string str;
  ^
Main.java:11: error: illegal character: '\u3000'
?????????string str;
   ^
Main.java:11: error: illegal character: '\u3000'
?????????string str;
    ^
Main.java:11: error: illegal character: '\u3000'
?????????string str;
     ^
Main.java:11: error: illegal character: '\u3000'
?????????string str;
      ^
Main.java:11: error: illegal character: '\u3000'
?????????string str;
       ^
Main.java:11: error: illegal character: '\u3000'
?????????string str;
        ^
Main.java:12: error: illegal character: '\u3000'
?????????if(o==3) break;
^
Main.java:12: error: illegal character: '\u3000'
?????????if(o==3) break;
 ^
Main.java:12: error: illegal character: '\u3000'
?????????if(o==3) break;
  ^
Main.java:12: error: illegal character: '\u3000'
?????????if(o==3) break;
   ^
Main.java:12: error: illegal character: '\u3000'
?????????if(o==3) break;
    ^
Main.java:12: error: illegal character: '\u3000'
?????????if(o==3) break;
     ^
Main.java:12: error: illegal character: '\u3000'
?????????if(o==3) break;
      ^
Main.java:12: error: illegal character: '\u3000'
?????????if(o==3) break;
       ^
Main.java:12: error: illegal character: '\u3000'
?????????if(o==3) break;
        ^
Main.java:13: error: illegal character: '\u3000'
?????????cin >> str;
^
Main.java:13: error: illegal character: '\u3000'
?????????cin >> str;
 ^
Main.java:13: error: illegal character: '\u3000'
?????????cin >> str;
  ^
Main.java:13: error: illegal character: '\u3000'
?????????cin >> str;
   ^
Main.java:13: error: illegal character: '\u3000'
?????????cin >> str;
    ^
Main.java:13: error: illegal character: '\u3000'
?????????cin >> str;
     ^
Main.java:13: error: illegal character: '\u3000'
?????????cin >> str;
      ^
Main.java:13: error: illegal character: '\u3000'
?????????cin >> str;
       ^
Main.java:13: error: illegal character: '\u3000'
?????????cin >> str;
        ^
Main.java:13: error: not a statement
?????????cin >> str;
             ^
Main.java:14: error: illegal character: '\u3000'
?????????if(str=="HIT"){
^
Main.java:14: error: illegal character: '\u3000'
?????????if(str=="HIT"){
 ^
Main.java:14: error: illegal character: '\u3000'
?????????if(str=="HIT"){
  ^
Main.java:14: error: illegal character: '\u3000'
?????????if(str=="HIT"){
   ^
Main.java:14: error: illegal character: '\u3000'
?????????if(str=="HIT"){
    ^
Main.java:14: error: illegal character: '\u3000'
?????????if(str=="HIT"){
     ^
Main.java:14: error: illegal character: '\u3000'
?????????if(str=="HIT"){
      ^
Main.java:14: error: illegal character: '\u3000'
?????????if(str=="HIT"){
       ^
Main.java:14: error: illegal character: '\u3000'
?????????if(str=="HIT"){
        ^
Main.java:15: error: illegal character: '\u3000'
????????????if(r==3) c++,r--;
^
Main.java:15: error: illegal character: '\u3000'
????????????if(r==3) c++,r--;
 ^
Main.java:15: error: illegal character: '\u3000'
????????????if(r==3) c++,r--;
  ^
Main.java:15: error: illegal character: '\u3000'
????????????if(r==3) c++,r--;
   ^
Main.java:15: error: illegal character: '\u3000'
????????????if(r==3) c++,r--;
    ^
Main.java:15: error: illegal character: '\u3000'
????????????if(r==3) c++,r--;
     ^
Main.java:15: error: illegal character: '\u3000'
????????????if(r==3) c++,r--;
      ^
Main.java:15: error: illegal character: '\u3000'
????????????if(r==3) c++,r--;
       ^
Main.java:15: error: illegal character: '\u3000'
????????????if(r==3) c++,r--;
        ^
Main.java:15: error: illegal character: '\u3000'
????????????if(r==3) c++,r--;
         ^
Main.java:15: error: illegal character: '\u3000'
????????????if(r==3) c++,r--;
          ^
Main.java:15: error: illegal character: '\u3000'
????????????if(r==3) c++,r--;
           ^
Main.java:16: error: illegal character: '\u3000'
????????????r++;
^
Main.java:16: error: illegal character: '\u3000'
????????????r++;
 ^
Main.java:16: error: illegal character: '\u3000'
????????????r++;
  ^
Main.java:16: error: illegal character: '\u3000'
????????????r++;
   ^
Main.java:16: error: illegal character: '\u3000'
????????????r++;
    ^
Main.java:16: error: illegal character: '\u3000'
????????????r++;
     ^
Main.java:16: error: illegal character: '\u3000'
????????????r++;
      ^
Main.java:16: error: illegal character: '\u3000'
????????????r++;
       ^
Main.java:16: error: illegal character: '\u3000'
????????????r++;
        ^
Main.java:16: error: illegal character: '\u3000'
????????????r++;
         ^
Main.java:16: error: illegal character: '\u3000'
????????????r++;
          ^
Main.java:16: error: illegal character: '\u3000'
????????????r++;
           ^
Main.java:17: error: illegal character: '\u3000'
?????????}
^
Main.java:17: error: illegal character: '\u3000'
?????????}
 ^
Main.java:17: error: illegal character: '\u3000'
?????????}
  ^
Main.java:17: error: illegal character: '\u3000'
?????????}
   ^
Main.java:17: error: illegal character: '\u3000'
?????????}
    ^
Main.java:17: error: illegal character: '\u3000'
?????????}
     ^
Main.java:17: error: illegal character: '\u3000'
?????????}
      ^
Main.java:17: error: illegal character: '\u3000'
?????????}
       ^
Main.java:17: error: illegal character: '\u3000'
?????????}
        ^
Main.java:18: error: illegal character: '\u3000'
?????????else if(str=="OUT") o++;
^
Main.java:18: error: illegal character: '\u3000'
?????????else if(str=="OUT") o++;
 ^
Main.java:18: error: illegal character: '\u3000'
?????????else if(str=="OUT") o++;
  ^
Main.java:18: error: illegal character: '\u3000'
?????????else if(str=="OUT") o++;
   ^
Main.java:18: error: illegal character: '\u3000'
?????????else if(str=="OUT") o++;
    ^
Main.java:18: error: illegal character: '\u3000'
?????????else if(str=="OUT") o++;
     ^
100 errors
only showing the first 100 errors, of 103 total; use -Xmaxerrs if you would like to see more
printing javac parameters to: /w/javac.20260128_022403.args