criyle/codenet-compile-errors huggingface dataset:
Language: Java

import java.util.*

fun main(args: Array<String>) {
    val sc = Scanner(System.`in`)
    val n = sc.nextInt()
    println(if (n < 1200) "ABC" else "ARC")
}

Compiler output:
Main.java:1: error: ';' expected
import java.util.*
                  ^
Main.java:4: error: illegal character: '`'
    val sc = Scanner(System.`in`)
                            ^
Main.java:4: error: illegal character: '`'
    val sc = Scanner(System.`in`)
                               ^
3 errors
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  int a;
  cin >> a;   
  if(a >= 1200){
    cout << "ARC" << endl;
  } else {
    cout << "ABC" << endl;
  }
  return 0;
}p

Compiler output:
a.cc:13:2: error: 'p' does not name a type
   13 | }p
      |  ^
Language: C++

#include<iostream>
using namespace std;

int main(){
	int a;
	cin>>a;

	cout<< (a<1200)?"ABC":"ARC"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:36: error: invalid operands of types 'const char [4]' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 |         cout<< (a<1200)?"ABC":"ARC"<<endl;
      |                               ~~~~~^~~~~~
Language: C++

#include <bits/stdc++.h>
#include <typeinfo>
#include <cxxabi.h>
#ifdef LOCAL
  #include "dbgtoki.hpp"
  #define DUMP(i) dump((string)TOSTRING(i), demangle(typeid(i).name()), __LINE__ , i) 
DbgTimer D_t;
  #define TSTART() D_t.start()
  #define TSTOP() D_t.stop()
#else
  #define DUMP(i) 
  #define TSTART()
  #define TSTOP()  
#endif
 
#define TOSTRING(x) #x
#define SZ(x) (int)(x).size()
#define REP(i,n) for(int i=0;i<(n);i++)
#define FOR(i,a,b) for(int i=(a);i<(b);i++)
#define ALL(s) (s).begin(), (s).end()
#define UNIQUE(v) v.erase( unique(v.begin(), v.end()) , v.end());
using namespace std;
typedef long long unsigned int llu;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vll;

const int EPS = 1e-9;



int main (){
  cin.tie(0);
  ios::sync_with_stdio(false);
  int x;
  whil(cin >> x ){
    TSTART();
    
    string ans;
    if(x < 1200)ans = "ABC";
    else ans = "ARC";
    
    cout << ans << endl;
    TSTOP();
  }
    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:36:3: error: 'whil' was not declared in this scope
   36 |   whil(cin >> x ){
      |   ^~~~
Language: C++

int main(void)
{
	int x;
	scanf("%d",&x);
	if(x<1200){
			printf("ABC\n");
	}
	else{
			printf("ARC\n");
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'scanf' was not declared in this scope
    4 |         scanf("%d",&x);
      |         ^~~~~
a.cc:6:25: error: 'printf' was not declared in this scope
    6 |                         printf("ABC\n");
      |                         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:9:25: error: 'printf' was not declared in this scope
    9 |                         printf("ARC\n");
      |                         ^~~~~~
a.cc:9:25: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

#!/usr/bin/env perl

use strict;
use warnings;

print <> < 1200 ? "ABC\n" : "ARC\n";


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #!
    1 | #!/usr/bin/env perl
      |  ^
a.cc:3:1: error: 'use' does not name a type
    3 | use strict;
      | ^~~
a.cc:4:1: error: 'use' does not name a type
    4 | use warnings;
      | ^~~
a.cc:6:1: error: 'print' does not name a type; did you mean 'int'?
    6 | print <> < 1200 ? "ABC\n" : "ARC\n";
      | ^~~~~
      | int
Language: C++

#include <stdio.h>
int main(){
int a;
scanf(''%d'',&a);
if(a>=1200)
printf("ARC");
else
printf("ABC");
}

Compiler output:
a.cc:4:7: error: empty character constant
    4 | scanf(''%d'',&a);
      |       ^~
a.cc:4:11: error: empty character constant
    4 | scanf(''%d'',&a);
      |           ^~
a.cc: In function 'int main()':
a.cc:4:10: error: 'd' was not declared in this scope
    4 | scanf(''%d'',&a);
      |          ^
Language: C++

#include<iostream>
using namespace std;

int main(){
  int x;
  cin>>x;
  if(x<1200)cout<<ABC<<endl;
  else cout<<ARC<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: 'ABC' was not declared in this scope
    7 |   if(x<1200)cout<<ABC<<endl;
      |                   ^~~
a.cc:8:14: error: 'ARC' was not declared in this scope
    8 |   else cout<<ARC<<endl;
      |              ^~~
Language: C++

#include<bits/stdc++.h>
#include<algorithm>
#include<math.h>
#include<set>
#include<vector>
#include<string>
#include<iostream>
using namespace std;
int main() {
  string S;
  cin>>S;
int x=0;
int y=0;
  for(int i=0;i<S.size();i++){
    if(s[i]=='A'){
      x=i;
      break;
    }
  }
  for(int i=0;i<S.size();i++)
    if(S[S.size()-i]=='Z')
    {
      y=S.size()-i;
      break;
    }
  cout<<b-a+1<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:8: error: 's' was not declared in this scope
   15 |     if(s[i]=='A'){
      |        ^
a.cc:26:9: error: 'b' was not declared in this scope
   26 |   cout<<b-a+1<<endl;
      |         ^
a.cc:26:11: error: 'a' was not declared in this scope
   26 |   cout<<b-a+1<<endl;
      |           ^
Language: C++

#include <iostream>


using namespace std;
int main() {

    int x;

    cin>>x;


    if(x>1200&&x<=3000){
        cout<<"ARC"<<endl;
    }
    elseif(x<1200&&x>=1){
        cout<<"ABC"<<endl;
    }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:5: error: 'elseif' was not declared in this scope
   15 |     elseif(x<1200&&x>=1){
      |     ^~~~~~
Language: C++

#include<iostream>
using namespace std;
 
int main(void){
  int a;
  cin >> a;
  if(a<1200){
    cut << "ABC" << endl;
  }
  else{
    cout << "ARC" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: 'cut' was not declared in this scope
    8 |     cut << "ABC" << endl;
      |     ^~~
Language: C++

#include<iostream>
using namsespace std;
 
int main(void){
  int a;
  cin >> a;
  if(a<1200){
    cut << "ABC" << endl;
  }
  else{
    cout << "ARC" << endl;
  }
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namsespace'
    2 | using namsespace std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> a;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:5: error: 'cut' was not declared in this scope
    8 |     cut << "ABC" << endl;
      |     ^~~
a.cc:8:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cut << "ABC" << endl;
      |                     ^~~~
      |                     std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     cout << "ARC" << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |     cout << "ARC" << endl;
      |                      ^~~~
      |                      std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include(iostream>
using namsespace std;

int main(void){
  int a;
  cin >> a;
  if(a<1200){
    cut << "ABC" << endl;
  }
  else{
    cout << "ARC" << endl;
  }
}

Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream>
      |         ^
a.cc:2:7: error: expected nested-name-specifier before 'namsespace'
    2 | using namsespace std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a;
      |   ^~~
a.cc:8:5: error: 'cut' was not declared in this scope
    8 |     cut << "ABC" << endl;
      |     ^~~
a.cc:8:21: error: 'endl' was not declared in this scope
    8 |     cut << "ABC" << endl;
      |                     ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout << "ARC" << endl;
      |     ^~~~
a.cc:11:22: error: 'endl' was not declared in this scope
   11 |     cout << "ARC" << endl;
      |                      ^~~~
Language: C++

#include<iostream>
#include<string>
#include <cmath>
#include <algorithm>
#define MOD 1000000007
using namespace std;
typedef long long ll;

int main(){

int x;

cin >> x;

if(x < 1200) cout << "ABC" << endl;
else cout << ARC" << endl; 

return 0;
}

Compiler output:
a.cc:16:17: warning: missing terminating " character
   16 | else cout << ARC" << endl;
      |                 ^
a.cc:16:17: error: missing terminating " character
   16 | else cout << ARC" << endl;
      |                 ^~~~~~~~~~ 
a.cc: In function 'int main()':
a.cc:16:14: error: 'ARC' was not declared in this scope
   16 | else cout << ARC" << endl;
      |              ^~~
Language: C++

#include <stdio.h.
int main(){
  int n;
  scanf("%d",&n);
  
  if(n<1200){
    printf("ABC\n");
  }
  else{
    printf("ARC\n");
  }
  
  return 0;
}

Compiler output:
a.cc:1:19: error: missing terminating > character
    1 | #include <stdio.h.
      |                   ^
a.cc:1:10: fatal error: stdio.h.: No such file or directory
    1 | #include <stdio.h.
      |          ^
compilation terminated.
Language: C++

#include<cstdio>

int main()
{
    int x;
    cin >> x;
    if(x > 1200) printf("ARC");
    else printf("ABC");
    printf("\n");
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin >> x;
      |     ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

int main() {
    ll x;
    cin x;

    if(x < 1200){
        cout << "ABC" << endl;
    }
    else cout << "ARC" << endl;
    
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: expected ';' before 'x'
    7 |     cin x;
      |        ^~
      |        ;
Language: C++

#include <bits/stdc++.h>

using namespace std;

struct Fast {Fast(){std::cin.tie(0);ios::sync_with_stdio(false);}} fast;

/* cpp template {{{ */

/* short */
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define Fi first
#define Se second
#define ALL(v) (v).begin(), (v).end()
#define RALL(v) (v).rbegin(), (v).rend()
#define X real()
#define Y imag()

/* REPmacro */
#define REPS(i, a, n) for (ll i = (a); i < (ll)(n); ++i)
#define rep(i, n) REPS(i, 0, n)
#define REP0(i,n) for (ll i = 0; i <= (ll)(n); ++i)
#define REP1(i,n) for (ll i = 1; i <= (ll)(n); ++i)
#define RREP(i, n) REPS(i, 1, n + 1)
#define DEPS(i, a, n) for (ll i = (a); i >= (ll)(n); --i)
#define DEP(i, n) DEPS(i, n, 0)
#define EACH(i, n) for (auto&& i : n)

/* debug */
#define debug(x) cerr << x << " " << "(L:" << __LINE__ << ")" << '\n';

/* alias */
using ll = long long;
using ull = unsigned long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vvvi = vector<vvi>;
using pii = pair<int, int>;
using D = double;
using P = complex<D>;
using vs = vector<string>;
template <typename T> using PQ = priority_queue<T>;
template <typename T> using minPQ = priority_queue<T, vector<T>, greater<T>>;

/* const */
const int INF = 1001001001;
const ll LINF = 1001001001001001001ll;
const int MOD = 1e9 + 7;
const D EPS = 1e-9;
const int dx[] = {0, 1, 0, -1, 1, -1, 1, -1}, dy[] = {1, 0, -1, 0, 1, -1, -1, 1};

/* func */
inline bool inside(int y, int x, int H, int W) {return y >= 0 && x >= 0 && y < H && x < W;}
inline int in() {int x; cin >> x; return x;}
inline ll IN() {ll x; cin >> x; return x;}
inline vs split(const string& t, char c) {vs v; stringstream s(t); string b; while(getline(s, b, c)) v.eb(b); return v;}
template <typename T> inline bool chmin(T& a, const T& b) {if (a > b) a = b; return a > b;}
template <typename T> inline bool chmax(T& a, const T& b) {if (a < b) a = b; return a < b;}
template <typename T, typename S> inline void print(const pair<T, S>& p) {cout << p.first << " " << p.second << endl;}
template <typename T> inline void print(const T& x) {cout << x << '\n';}
template <typename T, typename S> inline void print(const vector<pair<T, S>>& v) {for (auto&& p : v) print(p);}
template <typename T> inline void print(const vector<T>& v, string s = " ") {rep(i, v.size()) cout << v[i] << (i != (ll)v.size() - 1 ? s : "\n");}
template<typename T>

int main() 
{
  int x=in();
  x<1200?print("ABC"):print("ARC");

  return 0;
}




Compiler output:
a.cc:66:5: error: cannot declare '::main' to be a template
   66 | int main()
      |     ^~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

struct Fast {Fast(){std::cin.tie(0);ios::sync_with_stdio(false);}} fast;

/* cpp template {{{ */

/* short */
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define Fi first
#define Se second
#define ALL(v) (v).begin(), (v).end()
#define RALL(v) (v).rbegin(), (v).rend()
#define X real()
#define Y imag()

/* REPmacro */
#define REPS(i, a, n) for (ll i = (a); i < (ll)(n); ++i)
#define rep(i, n) REPS(i, 0, n)
#define REP0(i,n) for (ll i = 0; i <= (ll)(n); ++i)
#define REP1(i,n) for (ll i = 1; i <= (ll)(n); ++i)
#define RREP(i, n) REPS(i, 1, n + 1)
#define DEPS(i, a, n) for (ll i = (a); i >= (ll)(n); --i)
#define DEP(i, n) DEPS(i, n, 0)
#define EACH(i, n) for (auto&& i : n)

/* debug */
#define debug(x) cerr << x << " " << "(L:" << __LINE__ << ")" << '\n';

/* alias */
using ll = long long;
using ull = unsigned long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vvvi = vector<vvi>;
using pii = pair<int, int>;
using D = double;
using P = complex<D>;
using vs = vector<string>;
template <typename T> using PQ = priority_queue<T>;
template <typename T> using minPQ = priority_queue<T, vector<T>, greater<T>>;

/* const */
const int INF = 1001001001;
const ll LINF = 1001001001001001001ll;
const int MOD = 1e9 + 7;
const D EPS = 1e-9;
const int dx[] = {0, 1, 0, -1, 1, -1, 1, -1}, dy[] = {1, 0, -1, 0, 1, -1, -1, 1};

/* func */
inline bool inside(int y, int x, int H, int W) {return y >= 0 && x >= 0 && y < H && x < W;}
inline int in() {int x; cin >> x; return x;}
inline ll IN() {ll x; cin >> x; return x;}
inline vs split(const string& t, char c) {vs v; stringstream s(t); string b; while(getline(s, b, c)) v.eb(b); return v;}
template <typename T> inline bool chmin(T& a, const T& b) {if (a > b) a = b; return a > b;}
template <typename T> inline bool chmax(T& a, const T& b) {if (a < b) a = b; return a < b;}
template <typename T, typename S> inline void print(const pair<T, S>& p) {cout << p.first << " " << p.second << endl;}
template <typename T> inline void print(const T& x) {cout << x << '\n';}
template <typename T, typename S> inline void print(const vector<pair<T, S>>& v) {for (auto&& p : v) print(p);}
template <typename T> inline void print(const vector<T>& v, string s = " ") {rep(i, v.size()) cout << v[i] << (i != (ll)v.size() - 1 ? s : "\n");}
template<typename T>

signed main() 
{
  int x=in();
  x<1200?print("ABC"):print("ARC");

  return 0;
}




Compiler output:
a.cc:66:8: error: cannot declare '::main' to be a template
   66 | signed main()
      |        ^~~~
Language: C++

use std::env;
use std::io::*;
use std::str::*;

fn read<T: FromStr>() -> T {
    let stdin = stdin();
    let s = stdin.bytes().map(|c| c.unwrap() as char)
        .skip_while(|c| c.is_whitespace())
        .take_while(|c| !c.is_whitespace())
        .collect::<String>();
    s.parse::<T>().ok().unwrap()
}

fn main() {
    // main の引数
    /*
        引数なしのときargs.len() = 1;
    */
    let args: Vec<String> = env::args().collect();

    let rate = read<i32>();
    if rate < 1200 {
        println!("ABC");
    } else {
        println!("ARC");
    }
}


Compiler output:
a.cc:1:1: error: 'use' does not name a type
    1 | use std::env;
      | ^~~
a.cc:2:1: error: 'use' does not name a type
    2 | use std::io::*;
      | ^~~
a.cc:3:1: error: 'use' does not name a type
    3 | use std::str::*;
      | ^~~
a.cc:5:1: error: 'fn' does not name a type
    5 | fn read<T: FromStr>() -> T {
      | ^~
a.cc:14:1: error: 'fn' does not name a type
   14 | fn main() {
      | ^~
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main() {
  string s;
  cin>>s;
  for(int i=0;s[i]!='A';i++);
  for(int j=s.size();s[j]!='Z';j--);
  cout<<j-i+1;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: 'j' was not declared in this scope
    9 |   cout<<j-i+1;
      |         ^
a.cc:9:11: error: 'i' was not declared in this scope
    9 |   cout<<j-i+1;
      |           ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int j;
string s;
int main(){
  cin>>s;

  for(int i=0;s[i];i++){
    if (s[i]=='Z'){j=i}
    for(i=0;s[i]!='A';i++){
      cout<<j-i+1;
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: expected ';' before '}' token
    9 |     if (s[i]=='Z'){j=i}
      |                       ^
      |                       ;
Language: C++

#include<iostream>
#include<string>
using namespace std;
int main()
  int x;
cin>>x;
if(x<1200)cout<<"ABC¥n";
else cout<<"ARC¥n";
  return 0;
  }

Compiler output:
a.cc:5:3: error: expected initializer before 'int'
    5 |   int x;
      |   ^~~
a.cc:6:1: error: 'cin' does not name a type
    6 | cin>>x;
      | ^~~
a.cc:7:1: error: expected unqualified-id before 'if'
    7 | if(x<1200)cout<<"ABC¥n";
      | ^~
a.cc:8:1: error: expected unqualified-id before 'else'
    8 | else cout<<"ARC¥n";
      | ^~~~
a.cc:9:3: error: expected unqualified-id before 'return'
    9 |   return 0;
      |   ^~~~~~
a.cc:10:3: error: expected declaration before '}' token
   10 |   }
      |   ^
Language: C++

import Control.Applicative
import Control.Monad
import Data.List
import Data.Char
strToInt s = (read :: String -> Int) s
strToInteger s = (read :: String -> Integer) s
strToDouble s = (read :: String -> Double) s

main :: IO ()
main = do
    -- 整数の入力
    a <- readLn
    -- 出力
    putStrLn $ if a >= 1200 then "ARC" else "ABC"


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import Control.Applicative
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: Java

import java.util.Scanner;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    if(x<1200){
      System.out.println("ABC");
    }else(1200<=x){
      System.out.println("ARC")
    }
  }
}

Compiler output:
Main.java:8: error: not a statement
    }else(1200<=x){
         ^
Main.java:8: error: ';' expected
    }else(1200<=x){
                  ^
Main.java:9: error: ';' expected
      System.out.println("ARC")
                               ^
3 errors
Language: C

#include <stdio.h>

int main(void){
  int n;
  scanf("%d", &n);
  if (n < 1200){
    printf("ABC\n");
  else{
   	printf("ARC\n");
  }
  return 0;
  }
  

Compiler output:
main.c: In function 'main':
main.c:8:3: error: expected '}' before 'else'
    8 |   else{
      |   ^~~~
Language: Java

public class Main {
	 
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		int rate = sc.nextInt();
		sc.close();
		
		String ans = rate>=1200 ? "ARC" : "ABC";
		System.out.println(ans);
 
	}
 
}

Compiler output:
Main.java:5: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: C++

#include "stdio.h"
int main (void)
{
 int x;
 scanf("%d",&x);
 if(x<120)
{ printf("ABC")}
else
{printf("ARC")}
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: expected ';' before '}' token
    7 | { printf("ABC")}
      |                ^
      |                ;
a.cc:9:15: error: expected ';' before '}' token
    9 | {printf("ARC")}
      |               ^
      |               ;
Language: C++

#include "stdio.h"
int main ()
{
 int x;
 scanf("%d",&x);
 if(x<120)
{ printf("ABC")}
else
{printf("ARC")}
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: expected ';' before '}' token
    7 | { printf("ABC")}
      |                ^
      |                ;
a.cc:9:15: error: expected ';' before '}' token
    9 | {printf("ARC")}
      |               ^
      |               ;
Language: C++

include "stdio.h"
int main ()
{
 int x;
 scanf("%d",&x);
 if(x<120)
{ printf("ABC")}
else
{printf("ARC")}
return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include "stdio.h"
      | ^~~~~~~
Language: C++

include<stdio.h>
int main ()
{
 int x;
 scanf("%d",&x);
 if(x<120)
{ printf("ABC")}
else
{printf("ARC")}
return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<stdio.h>
      | ^~~~~~~
Language: C++

include<stdio.h>
int main ()
{
 int x;
 scanf("%d",&x);
 if(x<120)
{ printf("ABC")}
else
{printf(ARC)}
return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<stdio.h>
      | ^~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
    int n0;
    cin>>n;
    if(n<1200)
         cout<<"ABC";
    else
        cout<<"ARC";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'n' was not declared in this scope; did you mean 'n0'?
    5 |     cin>>n;
      |          ^
      |          n0
Language: C++

include<bits/stdc++.h>
using namespace std;

int main(){
    int x;
    cin >> x;
    if(x<1200) puts("ABC");
    else puts("ARC");
    return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin >> x;
      |     ^~~
a.cc:7:16: error: 'puts' was not declared in this scope
    7 |     if(x<1200) puts("ABC");
      |                ^~~~
a.cc:8:10: error: 'puts' was not declared in this scope
    8 |     else puts("ARC");
      |          ^~~~
Language: C++

using namespace std;

typedef long long LL;
typedef pair<int, int> PII;


int main() {
    ios_base::sync_with_stdio(false);
    int n;
    cin >> n;
    if (n < 1200) {
        cout << "ABC" << endl;
    } else {
        cout << "ARC" << endl;
    }
    return 0;
}


Compiler output:
a.cc:4:9: error: 'pair' does not name a type
    4 | typedef pair<int, int> PII;
      |         ^~~~
a.cc: In function 'int main()':
a.cc:8:5: error: 'ios_base' has not been declared
    8 |     ios_base::sync_with_stdio(false);
      |     ^~~~~~~~
a.cc:10:5: error: 'cin' was not declared in this scope
   10 |     cin >> n;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:12:9: error: 'cout' was not declared in this scope
   12 |         cout << "ABC" << endl;
      |         ^~~~
a.cc:12:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:26: error: 'endl' was not declared in this scope
   12 |         cout << "ABC" << endl;
      |                          ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
a.cc:14:9: error: 'cout' was not declared in this scope
   14 |         cout << "ARC" << endl;
      |         ^~~~
a.cc:14:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:26: error: 'endl' was not declared in this scope
   14 |         cout << "ARC" << endl;
      |                          ^~~~
a.cc:14:26: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C

#include <stdio.h>
int main()
{
    int x;
    scanf("%d",&x)
        if(x<1200) printf("ABC\n");
        else printf("ARC\n");
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:19: error: expected ';' before 'if'
    5 |     scanf("%d",&x)
      |                   ^
      |                   ;
    6 |         if(x<1200) printf("ABC\n");
      |         ~~         
main.c:7:9: error: 'else' without a previous 'if'
    7 |         else printf("ARC\n");
      |         ^~~~
Language: Java

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		System.out.pritnln(a < 1200 ? "ABC" : "ARC");
	}
}


Compiler output:
Main.java:7: error: cannot find symbol
		System.out.pritnln(a < 1200 ? "ABC" : "ARC");
		          ^
  symbol:   method pritnln(a < 1200 ?[...]"ARC")
  location: variable out of type PrintStream
1 error
Language: Java

import java.util.Scanner;

public class ABCARC {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		System.out.pritnln(a < 1200 ? "ABC" : "ARC");
	}
}


Compiler output:
Main.java:3: error: class ABCARC is public, should be declared in a file named ABCARC.java
public class ABCARC {
       ^
Main.java:7: error: cannot find symbol
		System.out.pritnln(a < 1200 ? "ABC" : "ARC");
		          ^
  symbol:   method pritnln(a < 1200 ?[...]"ARC")
  location: variable out of type PrintStream
2 errors
Language: Java

package abc0603;

import java.util.Scanner;

public class C004 {

	public static void main(String args[]){
		Scanner cin = new Scanner(System.in);
		long target = cin.nextLong();
		cin.close();

		long tmp = (long)target/11;
		long result;
		if(target==tmp*11){
			result = tmp*2;
		}else if(target-tmp*11<=6){
			result = tmp*2+1;
		}else{
			result = tmp*2+2;
		}

		System.out.println(result);
	}
}


Compiler output:
Main.java:5: error: class C004 is public, should be declared in a file named C004.java
public class C004 {
       ^
1 error
Language: Java

public class Atcoder {
	public static void main(String args[]){
		int x = new java.util.Scanner(System.in).nextInt();
		if(x < 1200){
			System.out.println("ABC");
		}else{
			System.out.println("ARC");
		}
	}
}


Compiler output:
Main.java:1: error: class Atcoder is public, should be declared in a file named Atcoder.java
public class Atcoder {
       ^
1 error
Language: C++

#include<iostream>
using namespace std;

int main()
{
	int64 x;
	cin >> x;

	int64 times = x / 11;
	int64 a = x % 11;

	int64 add = 0;
	if (a){
		add = 1;
		if (a > 6){
			add = 2;
		}
	}
	cout << times*2+add;


	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'int64' was not declared in this scope; did you mean 'int64_t'?
    6 |         int64 x;
      |         ^~~~~
      |         int64_t
a.cc:7:16: error: 'x' was not declared in this scope
    7 |         cin >> x;
      |                ^
a.cc:9:14: error: expected ';' before 'times'
    9 |         int64 times = x / 11;
      |              ^~~~~~
      |              ;
a.cc:10:14: error: expected ';' before 'a'
   10 |         int64 a = x % 11;
      |              ^~
      |              ;
a.cc:12:14: error: expected ';' before 'add'
   12 |         int64 add = 0;
      |              ^~~~
      |              ;
a.cc:13:13: error: 'a' was not declared in this scope
   13 |         if (a){
      |             ^
a.cc:14:17: error: 'add' was not declared in this scope
   14 |                 add = 1;
      |                 ^~~
a.cc:19:17: error: 'times' was not declared in this scope; did you mean 'timex'?
   19 |         cout << times*2+add;
      |                 ^~~~~
      |                 timex
a.cc:19:25: error: 'add' was not declared in this scope
   19 |         cout << times*2+add;
      |                         ^~~
Language: C++

#include<iostream>
using namespace std;
int main{
	int x;
	
	cin>>x;
	
	if(x>=1200){
		cout<<"ARC"<<endl;}
	else{
		cout<<"ABC"<<endl;}
		
return 0;
}

Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main{
      |     ^~~~
a.cc:4:9: error: expected primary-expression before 'int'
    4 |         int x;
      |         ^~~
a.cc:4:9: error: expected '}' before 'int'
a.cc:3:9: note: to match this '{'
    3 | int main{
      |         ^
a.cc:6:9: error: 'cin' does not name a type
    6 |         cin>>x;
      |         ^~~
a.cc:8:9: error: expected unqualified-id before 'if'
    8 |         if(x>=1200){
      |         ^~
a.cc:10:9: error: expected unqualified-id before 'else'
   10 |         else{
      |         ^~~~
a.cc:13:1: error: expected unqualified-id before 'return'
   13 | return 0;
      | ^~~~~~
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
Language: C++

#include<iostream>
using namespace std;
int main{
	int x;
	
	cin>>x>>;
	
	if(a>=1200){
		cout<<"ABC"<<endl;}
	else{
		cout<<"ARC"<<endl;}
		
return 0;
}

Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main{
      |     ^~~~
a.cc:4:9: error: expected primary-expression before 'int'
    4 |         int x;
      |         ^~~
a.cc:4:9: error: expected '}' before 'int'
a.cc:3:9: note: to match this '{'
    3 | int main{
      |         ^
a.cc:6:9: error: 'cin' does not name a type
    6 |         cin>>x>>;
      |         ^~~
a.cc:8:9: error: expected unqualified-id before 'if'
    8 |         if(a>=1200){
      |         ^~
a.cc:10:9: error: expected unqualified-id before 'else'
   10 |         else{
      |         ^~~~
a.cc:13:1: error: expected unqualified-id before 'return'
   13 | return 0;
      | ^~~~~~
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const double pi = acos(-1);
#define FOR(i,a,b) for (ll i=(a),__last_##i=(b);i<__last_##i;i++)
#define RFOR(i,a,b) for (ll i=(b)-1,__last_##i=(a);i>=__last_##i;i--)
#define REP(i,n) FOR(i,0,n)
#define RREP(i,n) RFOR(i,0,n)
#define __GET_MACRO3(_1, _2, _3, NAME, ...) NAME
#define rep(...) __GET_MACRO3(__VA_ARGS__, FOR, REP)(__VA_ARGS__)
#define rrep(...) __GET_MACRO3(__VA_ARGS__, RFOR, RREP)(__VA_ARGS__)
template<typename T> ostream& operator<<(ostream& os, const vector<T>& v) {
REP(i,v.size()){if(i)os<<" ";os<<v[i];}return os;}
template<typename T> ostream& operator<<(ostream& os, const vector<vector<T>>& v) {
REP(i,v.size()){if(i)os<<endl;os<<v[i];}return os;}

int main() {
    string s;
    int count = 0;
    int maxcount = 0;
    bool flag = false;
    
    cin >> s;
    
    for(int i=0; i<s.size(); i++){
        if(s[i]=='A' && flag==false){
            count++;
            flag = true;
        }
        
        if(s[i]=='Z' && flag==true){
            count++;
            
            if(count > maxcount){
                maxcount = count;
            }
            
            flag = false;
            flag2 = true;
        }else if(flag==true){
            count++;
        }
    }
    
    cout << maxcount << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:39:13: error: 'flag2' was not declared in this scope; did you mean 'flag'?
   39 |             flag2 = true;
      |             ^~~~~
      |             flag
Language: C++

#include<iostream>
#include<string>
#include<algorithm>
#include<cmath>
#include<stdio.h>
using namespace std;
 
int main(){
    int n;
    cin>>n;
    if(n<1200){
        cout<<"ABC";
    }else{
        cout<<"ARC";
    }
    cout<<endl;
    return 0;
}

Compiler output:
a.cc:7:1: error: extended character   is not valid in an identifier
    7 |  
      | ^
a.cc:7:1: error: '\U000000a0' does not name a type
    7 |  
      | ^
Language: C++

#include<iostream>
#include<string>
#include<algorithm>
#include<cmath>
#include<stdio.h>
using namespace std;

int main(){
    int n;
    cin>>n;
    if(n<1200){
        cout<<"ABC";
    }else(n<2000){
        cout<<"ARC";
    }
    cout<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:18: error: expected ';' before '{' token
   13 |     }else(n<2000){
      |                  ^
      |                  ;
Language: C++

#include <iostream>
using namespace std;

int main() {
int x;
cin>>x>>;
if(x<1200)cout<<"ABC"<<endl;
else cout<<"ARC"<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: expected primary-expression before ';' token
    6 | cin>>x>>;
      |         ^
Language: Java

import java.util.Scanner;

public class kougi {
    public static void main(String[] args) {

        int x;
        Scanner scanner = new Scanner(System.in);

        x = scanner.nextInt();

        if(x < 1200){
            System.out.println("ABC");
        }else{
            System.out.println("ARC");
        }
        return;


    }
}


Compiler output:
Main.java:3: error: class kougi is public, should be declared in a file named kougi.java
public class kougi {
       ^
1 error
Language: Java

import java.util.Scanner;

public class kougi {
    public static void main(String[] args) {

        int x;
        Scanner scanner = new Scanner(System.in);

        x = scanner.nextInt();

        if(x < 1200){
            System.out.println("ABC");
        }else if(x <= 3000){
            System.out.println("ARC");
        }


    }
}


Compiler output:
Main.java:3: error: class kougi is public, should be declared in a file named kougi.java
public class kougi {
       ^
1 error
Language: Java

import java.util.Scanner;

public class kougi {
    public static void main(String[] args) {

        int x;
        Scanner scanner = new Scanner(System.in);

        x = scanner.nextInt();

        if(x <= 1200){
            System.out.println("ABC");
        }else{
            System.out.println("ARC");
        }


    }
}


Compiler output:
Main.java:3: error: class kougi is public, should be declared in a file named kougi.java
public class kougi {
       ^
1 error
Language: Java

import java.util.Scanner;

public class kougi {
    public static void main(String[] args) {

        int x;
        Scanner scanner = new Scanner(System.in);

        x = scanner.nextInt();

        if(1 <= x && x < 1200){
            System.out.println("ABC");
        }else if(1200 < x && x <= 3000){
            System.out.println("ARC");
        }


    }
}


Compiler output:
Main.java:3: error: class kougi is public, should be declared in a file named kougi.java
public class kougi {
       ^
1 error
Language: Java

import java.util.Scanner;

public class kougi {
    public static void main(String[] args) {

        int x;
        Scanner scanner = new Scanner(System.in);

        x = scanner.nextInt();

        if(x >= 1200){
            System.out.println("ABC");
        }else{
            System.out.println("ARC");
        }


    }
}


Compiler output:
Main.java:3: error: class kougi is public, should be declared in a file named kougi.java
public class kougi {
       ^
1 error
Language: Java

import java.util.Scanner;

public class kougi {
    public static void main(String[] args) {

        int x;
        Scanner scanner = new Scanner(System.in);

        x = scanner.nextInt();

        if(x < 1200){
            System.out.println("ABC");
        }else{
            System.out.println("ARC");
        }


    }
}


Compiler output:
Main.java:3: error: class kougi is public, should be declared in a file named kougi.java
public class kougi {
       ^
1 error
Language: C++

#include "stdafx.h"


int _tmain(int argc, _TCHAR* argv[])
{

	int x;

	scanf_s("%d",&x);
	if(x < 1200){
		printf("ABC\n");
	}

	else{
		printf("ARC\n");
	}

	return 0;
}


Compiler output:
a.cc:1:10: fatal error: stdafx.h: No such file or directory
    1 | #include "stdafx.h"
      |          ^~~~~~~~~~
compilation terminated.
Language: Java

import java.util;

public class Main { 
public static void main(String[] args) {
  Scanner sc = new Scanner(System.in);
  int a = sc.nextInt();
  if (a < 1200) {
    System.out.println("ABC");
  } else {
    System.out.println("ARC");
  }
}
}

Compiler output:
Main.java:1: error: cannot find symbol
import java.util;
           ^
  symbol:   class util
  location: package java
Main.java:5: error: cannot find symbol
  Scanner sc = new Scanner(System.in);
  ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
  Scanner sc = new Scanner(System.in);
                   ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: Java

import java.util;

public static void main() {
  Scanner sc = new Scanner(System.in);
  int a = sc.nextInt();
  if (a < 1200) {
    System.out.println("ABC");
  } else {
    System.out.println("ARC");
  }
}


Compiler output:
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
public static void main() {
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++

#include <stdio.h>
int main{
    int x=0;
    scanf("%d",&x)
    if(x<1200){
        printf("ABC");
    } else {
        printf("ARC");
    }
    return 0;
}

Compiler output:
a.cc:2:5: error: cannot declare '::main' to be a global variable
    2 | int main{
      |     ^~~~
a.cc:3:5: error: expected primary-expression before 'int'
    3 |     int x=0;
      |     ^~~
a.cc:3:5: error: expected '}' before 'int'
a.cc:2:9: note: to match this '{'
    2 | int main{
      |         ^
a.cc:4:10: error: expected constructor, destructor, or type conversion before '(' token
    4 |     scanf("%d",&x)
      |          ^
a.cc:7:7: error: expected unqualified-id before 'else'
    7 |     } else {
      |       ^~~~
a.cc:10:5: error: expected unqualified-id before 'return'
   10 |     return 0;
      |     ^~~~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

#include <bits/stdc++.h>                                                                                                                                                                                                           
  2 using namespace std;
  3 int main(void) {
  4     int n;
  5     cin >> n;
  6     if(n<1200) cout << "ABC" << endl;
  7     else cout << "ARC" << endl;
  8 }

Compiler output:
a.cc:2:3: error: expected unqualified-id before numeric constant
    2 |   2 using namespace std;
      |   ^
a.cc:3:3: error: expected unqualified-id before numeric constant
    3 |   3 int main(void) {
      |   ^
Language: C++

#include<stdio.h>
#include<stdlib.h>
int x;
int main(void){
	scanf("%d",&x);
		
		if(x<1200){
		printf("ABC")
		}
		
		else{
		printf("ARC");
		}

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:30: error: expected ';' before '}' token
    8 |                 printf("ABC")
      |                              ^
      |                              ;
    9 |                 }
      |                 ~
Language: C++

#include<iostream>
#include<cstdio>
#include<cmath>
#include<cstring>
#include<string>
#include<stack>
#include<queue>
#include<vector>
#include<algorithm>
#include <iomanip>
typedef long long int ll;
using namespace std;
#define FOR(i,a,b) for (int i=(a);i<(b);i++)
#define REP(i,n) for (int i=0;i<(n);i++)
#define EREP(i,n) for (int i=1;i<=(n);i++)
#define ALL(a) (a).begin(),(a).end()
#define EVEL 1

#ifndef EVEL
#define DEB(X) cout << #X << ":" <<X<<" " ;
#define TF(f) f ? cout<<"true  " : cout<<"false ";
#define END cout<<"\n";
#else
#define DEB(X) {X=X;}
#define TF(f) {f=f;}
#define END {}
#endif
const int MOD = 1000000007;
const int INF = 1000000;
#define NMAX 50
#define MAX 10

    int N,M,A[100010],B;
    string S;
    ll X,ans=0;


    bool f[100010];


int main(){
    ios_base::sync_with_stdio(false);
    cin>>N;
    REP(i,N)cin>>A[i];
    REP(i,N){
      if(!f[A[i]]){f=true;ans++}
      else {B++;}
    }
    cout<<ans-(B%2)<<endl;


}
//ABC057 Maximum Average Sets


Compiler output:
a.cc: In function 'int main()':
a.cc:46:21: error: incompatible types in assignment of 'bool' to 'bool [100010]'
   46 |       if(!f[A[i]]){f=true;ans++}
      |                    ~^~~~~
a.cc:46:32: error: expected ';' before '}' token
   46 |       if(!f[A[i]]){f=true;ans++}
      |                                ^
      |                                ;
Language: C++

#include <iostream>
#include <string>
using namespace std;
int main(){
		
		int a;
		
		cin>>a;
		if(x<1200)cout<<"ABC"<<endl;
		else cout<<"ARC"<<endl;
		
		return 0;
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:20: error: 'x' was not declared in this scope
    9 |                 if(x<1200)cout<<"ABC"<<endl;
      |                    ^
Language: C++

#include <iostream>
int main() {
int x;
while(cin >> x) {
if(x < 1200)
cout << "ABC" << endl;
else
cout << "ARC" << endl;
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:7: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 | while(cin >> x) {
      |       ^~~
      |       std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 | cout << "ABC" << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 | cout << "ABC" << endl;
      |                  ^~~~
      |                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:8:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 | cout << "ARC" << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 | cout << "ARC" << endl;
      |                  ^~~~
      |                  std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
	Scanner sc = new Scanner(System.in);
	int x =sc.nextInt();
	if(x<1200)System.out.println("ABC");
	}else{
		System.out.println("ARC");
		}
		}
		}

Compiler output:
Main.java:7: error: illegal start of type
	}else{
	 ^
Main.java:11: error: class, interface, enum, or record expected
		}
		^
2 errors
Language: Java

import java.util.*;
public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
	int x =sc.nextInt();
	if(x<1200)System.out.println("ABC");
	}else{
		System.out.println("ARC");
		}
		}
		}

Compiler output:
Main.java:7: error: illegal start of type
	}else{
	 ^
Main.java:11: error: class, interface, enum, or record expected
		}
		^
2 errors
Language: Java

import java.util.*;
public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
	int x =sc.nextInt();
	if(1200>=x)System.out.println("ABC");
	}else{
		System.out.println("ARC");
		}
		}
		}

Compiler output:
Main.java:7: error: illegal start of type
	}else{
	 ^
Main.java:11: error: class, interface, enum, or record expected
		}
		^
2 errors
Language: Java

import java.util.*;
public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
	int x =sc.nextInt();
	if(1200>=)System.out.println("ABC");
	}else{
		System.out.println("ARC");
		}
		}
		}

Compiler output:
Main.java:6: error: illegal start of expression
	if(1200>=)System.out.println("ABC");
	         ^
Main.java:7: error: illegal start of type
	}else{
	 ^
Main.java:11: error: class, interface, enum, or record expected
		}
		^
3 errors
Language: Java

import java.util.*;
public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
	int x =sc.nextInt();
	if(x>=1200)System.out.println("ARC");
	}else{
		System.out.println("ABC");
		}
		}
		}

Compiler output:
Main.java:7: error: illegal start of type
	}else{
	 ^
Main.java:11: error: class, interface, enum, or record expected
		}
		^
2 errors
Language: Java

import java.util.*;
public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
	int x =sc.nextInt();
	if(x>=1200)System.out.println("ARC")
	}else{
		System.out.println("ABC")
		}
		}

Compiler output:
Main.java:6: error: ';' expected
	if(x>=1200)System.out.println("ARC")
	                                    ^
Main.java:7: error: illegal start of type
	}else{
	 ^
Main.java:8: error: ';' expected
		System.out.println("ABC")
		                         ^
3 errors
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        if(x<1200)
        System.out.println("ABC");
        else{
            system.out.println("ARC");
        }
    }
}

Compiler output:
Main.java:10: error: package system does not exist
            system.out.println("ARC");
                  ^
1 error
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        if(x<1200)
        System.out.println("ABC");
        else{
            system.out.println("ARC");
        }
        

Compiler output:
Main.java:11: error: reached end of file while parsing
        }
         ^
1 error
Language: Java

public class ABC053_A {
	public static void main(String[] args){
		int x=1000;
		if(x<1200){
			System.out.println("ABC");
		}
		else{
			System.out.println("ARC");
		}
	}
}

Compiler output:
Main.java:1: error: class ABC053_A is public, should be declared in a file named ABC053_A.java
public class ABC053_A {
       ^
1 error
Language: C++

main(n){scanf("%d",&n);printf("A%cC\n",(n<1200?'B':'R'));}


Compiler output:
a.cc:1:5: error: expected constructor, destructor, or type conversion before '(' token
    1 | main(n){scanf("%d",&n);printf("A%cC\n",(n<1200?'B':'R'));}
      |     ^