criyle/codenet-compile-errors huggingface dataset:
Language: C++

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

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

Compiler output:
a.cc:1:2: error: stray '#' in program
    1 | v#include<bits/stdc++.h>
      |  ^
a.cc:1:1: error: 'v' does not name a type
    1 | v#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:5: error: 'cout' was not declared in this scope
    7 |     cout<<(x<1200?"ABC":"ARC")<<endl;
      |     ^~~~
a.cc:7:33: error: 'endl' was not declared in this scope
    7 |     cout<<(x<1200?"ABC":"ARC")<<endl;
      |                                 ^~~~
Language: C++

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

int main() {

int x;
  cin >>x;
  if(x<1200){
    cout <<"ABC;
  }
  else{
    cout <<"ARC":
      
  }
}
 

Compiler output:
a.cc:9:12: warning: missing terminating " character
    9 |     cout <<"ABC;
      |            ^
a.cc:9:12: error: missing terminating " character
    9 |     cout <<"ABC;
      |            ^~~~~
a.cc: In function 'int main()':
a.cc:10:3: error: expected primary-expression before '}' token
   10 |   }
      |   ^
a.cc:12:17: error: expected ';' before ':' token
   12 |     cout <<"ARC":
      |                 ^
      |                 ;
Language: C++

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

int main() {

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

Compiler output:
a.cc:9:12: warning: missing terminating " character
    9 |     cout <<"ABC;
      |            ^
a.cc:9:12: error: missing terminating " character
    9 |     cout <<"ABC;
      |            ^~~~~
a.cc: In function 'int main()':
a.cc:10:3: error: expected primary-expression before '}' token
   10 |   }
      |   ^
Language: C++

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

int main(){
	int x;cin>>x;
  	cout<(x<1200?"ABC":"ARC")<<endl;
}

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

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

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

Compiler output:
a.cc:1:10: fatal error: bits/stdcpp.h: No such file or directory
    1 | #include <bits/stdcpp.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <stdio.h>
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:3: error: 'cin' was not declared in this scope
    6 |   cin>>x;
      |   ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include <stdio.h>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<"ABC"<<endl;
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:18: error: 'endl' was not declared in this scope
    9 |     cout<<"ABC"<<endl;
      |                  ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    1 | #include <stdio.h>
  +++ |+#include <ostream>
    2 | using namespace std;
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout<<"ARC"<<endl;
      |     ^~~~
a.cc:11:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:18: error: 'endl' was not declared in this scope
   11 |     cout<<"ARC"<<endl;
      |                  ^~~~
a.cc:11:18: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include<stdio.h>

void main() {
    int a;

    scanf("%d", &a);

    if(a < 1200) {
        printf("ABC");
    } else {
        printf("ARC");
    }

    return 0;
}


Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main() {
      | ^~~~
Language: C++

#include <iostream>
#include <vector>
#include <map>
#include <algorithm>
#include <cstdlib>
#include <cmath>
#include <numeric>
#include <tuple>
#include <stack>
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define all(x) x.begin(),x.end()
#define rall(x) x.rbegin(),x.rend()
#define print(s) cout << s << endl
typedef long long ll;
using namespace std;
ll mod = pow(10,9) + 7;
int ctoi(char c) {
	if (c >= '0' && c <= '9') {
		return c - '0';
	}
	return 0;
}
char upper(char c){
	return c-0x20;
}
char lower(char c){
	return c+0x20;
}
int main() {
	int a, cin >> a;
	cout << (a < 1200? "ABC": "ARC") << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:30:20: error: expected initializer before '>>' token
   30 |         int a, cin >> a;
      |                    ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
int x;
cin >> x;
if(x<1200){
printf(“ABC”);
}
else{
printf(“ARC”);
}
}

Compiler output:
a.cc:8:8: error: extended character “ is not valid in an identifier
    8 | printf(“ABC”);
      |        ^
a.cc:8:8: error: extended character ” is not valid in an identifier
a.cc:11:8: error: extended character “ is not valid in an identifier
   11 | printf(“ARC”);
      |        ^
a.cc:11:8: error: extended character ” is not valid in an identifier
a.cc: In function 'int main()':
a.cc:8:8: error: '\U0000201cABC\U0000201d' was not declared in this scope
    8 | printf(“ABC”);
      |        ^~~~~
a.cc:11:8: error: '\U0000201cARC\U0000201d' was not declared in this scope
   11 | printf(“ARC”);
      |        ^~~~~
Language: Java

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

Compiler output:
Main.java:1: error: illegal character: '#'
#include <iostream>
^
Main.java:1: error: class, interface, enum, or record expected
#include <iostream>
         ^
Main.java:7: error: not a statement
    cin >> x;
        ^
Main.java:9: error: not a statement
        cout << "ABC" << endl;
                      ^
Main.java:11: error: not a statement
        cout << "ARC" << endl;
                      ^
Main.java:5: error: unnamed classes are a preview feature and are disabled by default.
int main(){
^
  (use --enable-preview to enable unnamed classes)
6 errors
Language: Java

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

Compiler output:
Main.java:1: error: illegal character: '#'
#include <iostream>
^
Main.java:1: error: class, interface, enum, or record expected
#include <iostream>
         ^
Main.java:7: error: not a statement
    cin >> x;
        ^
Main.java:9: error: not a statement
        cout << "ABC" << endl;
                      ^
Main.java:11: error: not a statement
        cout << "ARC" << endl;
                      ^
Main.java:5: error: unnamed classes are a preview feature and are disabled by default.
int main(){
^
  (use --enable-preview to enable unnamed classes)
6 errors
Language: Java

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

Compiler output:
Main.java:1: error: illegal character: '#'
#include <iostream>
^
Main.java:1: error: class, interface, enum, or record expected
#include <iostream>
         ^
Main.java:7: error: not a statement
    cin >> x;
        ^
Main.java:9: error: not a statement
        cout << "ABC" << endl;
                      ^
Main.java:11: error: not a statement
        cout << "ARC" << endl;
                      ^
Main.java:5: error: unnamed classes are a preview feature and are disabled by default.
int main(){
^
  (use --enable-preview to enable unnamed classes)
6 errors
Language: C++

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

int main() {
	int x;
  cin >> x;
  if (x<1200){
    printf('ABC');
  }else{
    printf('ARC');
  }
}

Compiler output:
a.cc:9:12: warning: multi-character character constant [-Wmultichar]
    9 |     printf('ABC');
      |            ^~~~~
a.cc:11:12: warning: multi-character character constant [-Wmultichar]
   11 |     printf('ARC');
      |            ^~~~~
a.cc: In function 'int main()':
a.cc:9:12: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    9 |     printf('ABC');
      |            ^~~~~
      |            |
      |            int
In file included from /usr/include/c++/14/cstdio:42,
                 from /usr/include/c++/14/ext/string_conversions.h:45,
                 from /usr/include/c++/14/bits/basic_string.h:4154,
                 from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:11:12: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
   11 |     printf('ARC');
      |            ^~~~~
      |            |
      |            int
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:10: error: 'ABC' was not declared in this scope
    9 |   printf(ABC);
      |          ^~~
a.cc:11:10: error: 'ARC' was not declared in this scope
   11 |   printf(ARC);
      |          ^~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:10: error: 'ABC' was not declared in this scope
    9 |   printf(ABC);
      |          ^~~
a.cc:11:10: error: 'ARC' was not declared in this scope
   11 |   printf(ARC);
      |          ^~~
Language: C++

include(iostream)
#include(cstdio)
using namespacestd;
 
int x;
intmain() {
  cin >> x;
  if(x < 1200)
    printf("ABC")
    else
      printf("ARC")
      return 0;
}

Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(cstdio)
      |         ^
a.cc:1:8: error: expected constructor, destructor, or type conversion before '(' token
    1 | include(iostream)
      |        ^
a.cc:6:1: error: ISO C++ forbids declaration of 'intmain' with no type [-fpermissive]
    6 | intmain() {
      | ^~~~~~~
a.cc: In function 'int intmain()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> x;
      |   ^~~
a.cc:9:5: error: 'printf' was not declared in this scope
    9 |     printf("ABC")
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | include(iostream)
a.cc:13:1: warning: no return statement in function returning non-void [-Wreturn-type]
   13 | }
      | ^
Language: C++

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

int x;
int main() {
  printf(x < 1200 ? ""ABC"" : ""ARC"");
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:26: error: unable to find string literal operator 'operator""ABC' with 'const char [1]', 'long unsigned int' arguments
    7 |   printf(x < 1200 ? ""ABC"" : ""ARC"");
      |                          ^~
a.cc:7:36: error: unable to find string literal operator 'operator""ARC' with 'const char [1]', 'long unsigned int' arguments
    7 |   printf(x < 1200 ? ""ABC"" : ""ARC"");
      |                                    ^~
Language: C++

#include(iostream)
#include(cstdio)
using namespacestd;

int x;
intmain() {
  cin >> x;
  if(x < 1200)
    printf("ABC")
    else
      printf("ABC")
      return 0;
}

Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(cstdio)
      |         ^
a.cc:3:7: error: expected nested-name-specifier before 'namespacestd'
    3 | using namespacestd;
      |       ^~~~~~~~~~~~
a.cc:6:1: error: ISO C++ forbids declaration of 'intmain' with no type [-fpermissive]
    6 | intmain() {
      | ^~~~~~~
a.cc: In function 'int intmain()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> x;
      |   ^~~
a.cc:9:5: error: 'printf' was not declared in this scope
    9 |     printf("ABC")
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | #include(iostream)
a.cc:13:1: warning: no return statement in function returning non-void [-Wreturn-type]
   13 | }
      | ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: 'xj' was not declared in this scope; did you mean 'x'?
    7 |   cin >> xj
      |          ^~
      |          x
a.cc:10:3: error: 'else' without a previous 'if'
   10 |   else
      |   ^~~~
Language: C++

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

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

Compiler output:
a.cc:2:16: error: expected identifier before ';' token
    2 | using namespace;
      |                ^
a.cc: In function 'int main()':
a.cc:7:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |         cout << "ABC" << endl;
      |         ^~~~
      |         std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |         cout << "ABC" << endl;
      |                          ^~~~
      |                          std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:9:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |         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:9:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |         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++

read a; [ $a -le 1200 ] && echo "ABC" || echo "ARC"

Compiler output:
a.cc:1:1: error: 'read' does not name a type
    1 | read a; [ $a -le 1200 ] && echo "ABC" || echo "ARC"
      | ^~~~
a.cc:1:9: error: expected unqualified-id before '[' token
    1 | read a; [ $a -le 1200 ] && echo "ABC" || echo "ARC"
      |         ^
Language: C++

#include <iostream>
using namespace std;

int main() {
  int x;

  if(x < 1200) cout << "ABC";
  else cout << "ARG"
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected ';' before '}' token
    8 |   else cout << "ARG"
      |                     ^
      |                     ;
    9 | }
      | ~
Language: C++

x=int(input())
if x<1200:
    print('ABC')
else:
    print('ARC')

Compiler output:
a.cc:3:11: warning: multi-character character constant [-Wmultichar]
    3 |     print('ABC')
      |           ^~~~~
a.cc:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('ARC')
      |           ^~~~~
a.cc:1:1: error: 'x' does not name a type
    1 | x=int(input())
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  int N;
  string str;
  cin >> N;
  if (N<1200){
    str = "ABC"}
  else {
    str ="ARC"
  }
  cout << str << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: expected ';' before '}' token
    8 |     str = "ABC"}
      |                ^
      |                ;
a.cc:10:15: error: expected ';' before '}' token
   10 |     str ="ARC"
      |               ^
      |               ;
   11 |   }
      |   ~
Language: C++

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

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


Compiler output:
a.cc:1:10: fatal error: bits/std/c++.h: No such file or directory
    1 | #include <bits/std/c++.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

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

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

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

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:33: error: expected ':' before ';' token
    7 |         x<1200?cout<<"ABC"<<endl;:cout<<"ARC"<<endl;
      |                                 ^
      |                                 :
a.cc:7:33: error: expected primary-expression before ';' token
a.cc:7:34: error: expected primary-expression before ':' token
    7 |         x<1200?cout<<"ABC"<<endl;:cout<<"ARC"<<endl;
      |                                  ^
Language: C++

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

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

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

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

int main(){
  string s;
  int ans,a,z;
  bool flag = 0;
  cin >> s;
  for(int i=0;i<s.size();i++){
    if(s[i] == 'A' && flag == false){
      a = i;
      flag = ture;
    }
    if(s[i] == 'Z') z = i;
  }
  ans = z-a+1;
  cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:14: error: 'ture' was not declared in this scope
   12 |       flag = ture;
      |              ^~~~
Language: C++

#include<cstdio>
#include<cmath>
#include<string>
#include<iostream>
#include<algorithm>
#include<utility>
#include<vector>
#include<map>
#include<set>
#include<limits>
#include<bitset>
#include<array>
#include<numeric>
#include<iomanip>
#include<functional>

using namespace std;
typedef long long int ll;

#define C(I) cout<<(I)<<endl

ll n,m,a,b,c,x,y,z,aa[100010],ba[100010];
bool r,ra,rb,rc;
string s,sa,sb,sc;
char ca,cb,cc;
vector<ll> va,vb,vc;

int main(){
    cin>>a;
    
    else C(a>=1200 ? "ARC":"ABC");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:31:5: error: 'else' without a previous 'if'
   31 |     else C(a>=1200 ? "ARC":"ABC");
      |     ^~~~
Language: C++

#include <iostream>
#include <array>
#include <vector>
#include <iomanip>
#include <string>
#include <cmath>
#include <algorithm>
#include <queue>
#include <map>
#include <set>
using namespace std;

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

const LL  INF=1<<31;
const LL MOD=1000000007;



int main(){
     int n;
     cin>>n;
     if(n<=1200)cout<<"ABC"<<endl;
     welse cout<<"ARC"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:6: error: 'welse' was not declared in this scope; did you mean 'wmemset'?
   25 |      welse cout<<"ARC"<<endl;
      |      ^~~~~
      |      wmemset
Language: C

include <stdio.h>

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

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

#include<iostream>

using namespace std;

int main(){

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


Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'cin' was not declared in this scope
    8 |         cin >> a;
      |         ^~~
a.cc:3:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    2 | #include<string>
  +++ |+#include <iostream>
    3 | using namespace std;
a.cc:9:25: error: 'cout' was not declared in this scope
    9 |         if (a < 1200) { cout << "ABC"; }
      |                         ^~~~
a.cc:9:25: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:16: error: 'cout' was not declared in this scope
   10 |         else { cout << "ARC"; }
      |                ^~~~
a.cc:10:16: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

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

#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
//const ll mod = 1000000007;

int main() {
    //cout.precision(10);
    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:14:8: error: 'x' was not declared in this scope
   14 |     if(x < 1200) cout << "ABC" << endl;
      |        ^
Language: C++

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

int main() {
	string ans = "ARC";
	int x;
	cin >> x;
	if(x<1200){
		ans = "ABC";
	}
	cout << ans << endl;


Compiler output:
a.cc: In function 'int main()':
a.cc:11:29: error: expected '}' at end of input
   11 |         cout << ans << endl;
      |                             ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |         if("A" == s[i]){
a.cc:11:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   11 |                 if("Z" == s[j]){
Language: C++

#include <iostream>
using namespace std;

int main() {
  int A;
  cin >> A+;
  if (A < 1200) {
    cout << "ABC" << endl;
  }
  else {
    cout << "ARC" << endl;
  }
}


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

import java.util.*

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

Compiler output:
Main.java:1: error: ';' expected
import java.util.*
                  ^
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for(int i = 0;i < n;i++)
#define REPR(i, n) for(int i = n;i >= 0;i--)
#define FOR(i, m, n) for(int i = m;i < n;i++)
#define itrfor(itr,A) for(auto itr = A.begin(); itr !=A.end();itr++)
typedef long long llong;
char moji[26]={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
char moji2[26]={'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'};
char moji3[10]={'0','1','2','3','4','5','6','7','8','9'};
#define Sort(a) sort(a.begin(),a.end());
#define Reverse(a) reverse(a.begin(),a.end());
#define print(a) cout << a << endl;


int main(){
  int x;
  cin >> x;
  if(x<1200) cout << "ABC" << endl;
  if(1200<=x) cout << "ARC" << endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:20:37: error: expected '}' at end of input
   20 |   if(1200<=x) cout << "ARC" << endl;
      |                                     ^
a.cc:16:11: note: to match this '{'
   16 | int main(){
      |           ^
Language: C++

#include<iostream>
using namespace std;

int main(){
  int x;
  cin>>x;
  cout<<(c<1200?"ABC":"ARC");
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: 'c' was not declared in this scope
    7 |   cout<<(c<1200?"ABC":"ARC");
      |          ^
Language: C++

#include <iosteam>
using namespace std;

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

Compiler output:
a.cc:1:10: fatal error: iosteam: No such file or directory
    1 | #include <iosteam>
      |          ^~~~~~~~~
compilation terminated.
Language: C++

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

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

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

  return 0;
}

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

x = int(input().rstrip())

print('ABC' if x < 1200 else 'ARC')



Compiler output:
a.cc:3:7: warning: multi-character character constant [-Wmultichar]
    3 | print('ABC' if x < 1200 else 'ARC')
      |       ^~~~~
a.cc:3:30: warning: multi-character character constant [-Wmultichar]
    3 | print('ABC' if x < 1200 else 'ARC')
      |                              ^~~~~
a.cc:1:1: error: 'x' does not name a type
    1 | x = int(input().rstrip())
      | ^
Language: C++

#include <bits/stdc++.h>
#define repd(i,a,b) for (int i=(a);i<(b);i++)
#define rep(i,n) repd(i,0,n)
typedef long long ll;
using namespace std;
const int MOD = 1000000007;
const int INF = 1010000000;
const double EPS = 1e-10;

int h,w,x;
char s[1000][1000];
bool visited [1000][1000];
pair<int,int> start,goal;
queue<pair<int,pair<int,int>>> q;
vector<pair<int,int>> ino;

int main(){
  int a,b,c;cin>>a>>b>>c;
  if(a<1200){
    cout << "ABC";
    return 0;
  }else{
    result = "ARC";
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:23:5: error: 'result' was not declared in this scope
   23 |     result = "ARC";
      |     ^~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: 'x' was not declared in this scope
    6 |         if (x < 1200) {
      |             ^
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected primary-expression before '<' token
    8 |        cout<<"ABC"<<<endl;
      |                     ^
Language: C

#include<stdio.h>

int main(){
int a;
scanf("%d",&a)
if(a>=1200)puts("ARC");
else puts("ABC");
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:15: error: expected ';' before 'if'
    5 | scanf("%d",&a)
      |               ^
      |               ;
    6 | if(a>=1200)puts("ARC");
      | ~~             
main.c:7:1: error: 'else' without a previous 'if'
    7 | else puts("ABC");
      | ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:11: error: expected ';' before 'if'
    5 |   cin >> x
      |           ^
      |           ;
    6 |   if(x<1200){cout << "ABC" << endl;}
      |   ~~       
a.cc:7:3: error: 'else' without a previous 'if'
    7 |   else{ cout << "ARC" << endl;}
      |   ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:11: error: expected ';' before 'if'
    5 |   cin >> x
      |           ^
      |           ;
    6 |   if(x<1200)cout << "ABC" << endl;
      |   ~~       
a.cc:7:3: error: 'else' without a previous 'if'
    7 |   else cout << "ARC" << endl;
      |   ^~~~
Language: C++

include <iostream>

using namespace std;

int main() 
{
    int x;

    cin >> x;

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


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:9:5: error: 'cin' was not declared in this scope
    9 |     cin >> x;
      |     ^~~
a.cc:12:9: error: 'cout' was not declared in this scope
   12 |         cout << "ABC" << endl;
      |         ^~~~
a.cc:12:26: error: 'endl' was not declared in this scope
   12 |         cout << "ABC" << endl;
      |                          ^~~~
a.cc:14:9: error: 'cout' was not declared in this scope
   14 |         cout << "ARC" << endl;
      |         ^~~~
a.cc:14:26: error: 'endl' was not declared in this scope
   14 |         cout << "ARC" << endl;
      |                          ^~~~
Language: C++

/*input
happy,newyear,enjoy
*/
#include <bits/stdc++.h>
#pragma GCC optimize("unroll-loops,no-stack-protector")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef pair<double,double> pdd;
#define IOS ios_base::sync_with_stdio(0); cin.tie(0)
#define ALL(a) a.begin(),a.end()
#define SZ(a) ((int)a.size())
#define F first
#define S second
#define REP(i,n) for(int i=0;i<((int)n);i++)
#define pb push_back
#define MP(a,b) make_pair(a,b)
#define SORT_UNIQUE(c) (sort(c.begin(),c.end()), c.resize(distance(c.begin(),unique(c.begin(),c.end()))))
#define GET_POS(c,x) (lower_bound(c.begin(),c.end(),x)-c.begin())
#ifdef leowang
#define debug(...) do{\
	fprintf(stderr,"%s - %d : (%s) = ",__PRETTY_FUNCTION__,__LINE__,#__VA_ARGS__);\
	_DO(__VA_ARGS__);\
}while(0)
template<typename I> void _DO(I&&x){cerr<<x<<endl;}
template<typename I,typename...T> void _DO(I&&x,T&&...tail){cerr<<x<<", ";_DO(tail...);}
#else
#define debug(...)
#endif
template<typename T1,typename T2>
ostream& operator<<(ostream& out,pair<T1,T2> P){
	out<<'('<<P.F<<','<<P.S<<')';
	return out;
}
//}}}
const ll maxn=300005;
const ll maxlg=__lg(maxn)+2;
const ll INF64=8000000000000000000LL;
const int INF=0x3f3f3f3f;
const ll MOD=ll(1e9+7);
const double PI=acos(-1);
//const ll p=880301;
//const ll P=31;

ll mypow(ll a,ll b){
	ll res=1LL;
	while(b){
		if(b&1) res=res*a%MOD;
		a=a*a%MOD;
		
		b>>=1;
	}
	return res;
}
int main()
{
	IOS;
	int n;
	cin>>n;
	if(n<1200){
		cout<<"ABC";
	}
	else cout<<"ARC"
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:65:25: error: expected ';' before 'return'
   65 |         else cout<<"ARC"
      |                         ^
      |                         ;
   66 |         return 0;
      |         ~~~~~~
Language: C++

#include <iostream>
using namespacestd;

int main()
{


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespacestd'
    2 | using namespacestd;
      |       ^~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:2: error: expected '}' at end of input
    5 | {
      | ~^
Language: C

#include <stdio.h>
int main(void){
  int x;scanf("%d",&x);
  print("%s\n",(x>=1200)?"ARC":"ABC");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    4 |   print("%s\n",(x>=1200)?"ARC":"ABC");
      |   ^~~~~
      |   printf
Language: C++

#include<bits/stdc++.h>
#define REP(i, n) for(int i = 0; i < n; ++i)
#define FOR(i, a, b) for(int i = a; i < b; ++i)
#define F first
#define S second
#define OUT(x) cout << (x) << "\n"
using namespace std;
using point = pair< int,int >;
using ll = long long;

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

    OUT(x < 1200 : "ABC" : "ARC");

    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:15:18: error: expected ')' before ':' token
   15 |     OUT(x < 1200 : "ABC" : "ARC");
      |                  ^
a.cc:6:25: note: in definition of macro 'OUT'
    6 | #define OUT(x) cout << (x) << "\n"
      |                         ^
a.cc:6:24: note: to match this '('
    6 | #define OUT(x) cout << (x) << "\n"
      |                        ^
a.cc:15:5: note: in expansion of macro 'OUT'
   15 |     OUT(x < 1200 : "ABC" : "ARC");
      |     ^~~
Language: C


int main (){
    int x;
    printf("Smeke's current rating : ");
    scanf("%d",&x);fflush(stdin);

    if(x<1200 && x>=1){
        printf("ABC\n");

    }else if(x>= 1200 && x<= 3000){
        printf("ARC\n");

    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    4 |     printf("Smeke's current rating : ");
      |     ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | 
main.c:4:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    4 |     printf("Smeke's current rating : ");
      |     ^~~~~~
main.c:4:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:5:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |     scanf("%d",&x);fflush(stdin);
      |     ^~~~~
main.c:5:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
main.c:5:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:20: error: implicit declaration of function 'fflush' [-Wimplicit-function-declaration]
    5 |     scanf("%d",&x);fflush(stdin);
      |                    ^~~~~~
main.c:5:27: error: 'stdin' undeclared (first use in this function)
    5 |     scanf("%d",&x);fflush(stdin);
      |                           ^~~~~
main.c:5:27: note: 'stdin' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
main.c:5:27: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main (){
    int x;
    printf("Smeke's current rating : ");
    scanf("%d",&x);fflush(stdin);

    if(x<1200 && x>=1){
        printf("ABC\n");
       
    }else if(x>= 1200 && x<= 3000){
        printf("ARC\n");
        

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:12:22: error: expected ';' before '}' token
   12 |         printf("ARC")
      |                      ^
      |                      ;
   13 |     }
      |     ~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:22: error: expected ';' before '}' token
   12 |         printf("ARC")
      |                      ^
      |                      ;
   13 |     }
      |     ~
Language: C

#include <stdio.h>
int main()
{
    int x;
    printf("enter x:");
    scanf("%d", &x);
    if(1 <= x <= 1200)
    {
        printf("\n Smeke's current rating is lower than 1200 thus it will be ABC.

", x);
    }
       else if(1200 <= x <= 3000)
       {
           printf("\n Smeke's current rating is higher than 1200 thus it will be ARC.

", x);
       }
       else
       {
           printf("\n can't participate", x);
       }
       return 0;
}


Compiler output:
main.c: In function 'main':
main.c:9:16: warning: missing terminating " character
    9 |         printf("\n Smeke's current rating is lower than 1200 thus it will be ABC.
      |                ^
main.c:9:16: error: missing terminating " character
    9 |         printf("\n Smeke's current rating is lower than 1200 thus it will be ABC.
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:11:1: warning: missing terminating " character
   11 | ", x);
      | ^
main.c:11:1: error: missing terminating " character
   11 | ", x);
      | ^~~~~~
main.c:12:5: error: expected expression before '}' token
   12 |     }
      |     ^
main.c:9:16: error: expected ';' before '}' token
    9 |         printf("\n Smeke's current rating is lower than 1200 thus it will be ABC.
      |                ^
      |                ;
......
   12 |     }
      |     ~           
main.c:15:19: warning: missing terminating " character
   15 |            printf("\n Smeke's current rating is higher than 1200 thus it will be ARC.
      |                   ^
main.c:15:19: error: missing terminating " character
   15 |            printf("\n Smeke's current rating is higher than 1200 thus it will be ARC.
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:1: warning: missing terminating " character
   17 | ", x);
      | ^
main.c:17:1: error: missing terminating " character
   17 | ", x);
      | ^~~~~~
main.c:18:8: error: expected expression before '}' token
   18 |        }
      |        ^
main.c:15:19: error: expected ';' before '}' token
   15 |            printf("\n Smeke's current rating is higher than 1200 thus it will be ARC.
      |                   ^
      |                   ;
......
   18 |        }
      |        ~
Language: C

#include <stdio.h>
int main()
{
    int x;
    printf("enter x:");
    scanf("%d", &x);
    if(1 <= x <= 1200)
    {
        printf("\n Smeke's current rating is less than 1200, thus the output should be ABC.

", x);
    }
       else if(1200 <= x <= 3000)
       {
           printf("\n Smeke's current rating is not less than 1200, thus the output should be ABC.

", x);
       }
       else
       {
           printf("\n can't participate", x);
       }
       return 0;
}


Compiler output:
main.c: In function 'main':
main.c:9:16: warning: missing terminating " character
    9 |         printf("\n Smeke's current rating is less than 1200, thus the output should be ABC.
      |                ^
main.c:9:16: error: missing terminating " character
    9 |         printf("\n Smeke's current rating is less than 1200, thus the output should be ABC.
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:11:1: warning: missing terminating " character
   11 | ", x);
      | ^
main.c:11:1: error: missing terminating " character
   11 | ", x);
      | ^~~~~~
main.c:12:5: error: expected expression before '}' token
   12 |     }
      |     ^
main.c:9:16: error: expected ';' before '}' token
    9 |         printf("\n Smeke's current rating is less than 1200, thus the output should be ABC.
      |                ^
      |                ;
......
   12 |     }
      |     ~           
main.c:15:19: warning: missing terminating " character
   15 |            printf("\n Smeke's current rating is not less than 1200, thus the output should be ABC.
      |                   ^
main.c:15:19: error: missing terminating " character
   15 |            printf("\n Smeke's current rating is not less than 1200, thus the output should be ABC.
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:1: warning: missing terminating " character
   17 | ", x);
      | ^
main.c:17:1: error: missing terminating " character
   17 | ", x);
      | ^~~~~~
main.c:18:8: error: expected expression before '}' token
   18 |        }
      |        ^
main.c:15:19: error: expected ';' before '}' token
   15 |            printf("\n Smeke's current rating is not less than 1200, thus the output should be ABC.
      |                   ^
      |                   ;
......
   18 |        }
      |        ~
Language: C

#include <stdio.h>
int main()
{
	int x;
	1 < x < 3{,}000;
	printf ("Smeke's current rating is =");
	scanf ("%d", &x);
	if (x < 1200) {
		printf ("Smeke's current rating is lower than 1200 thus it will be ABC");
	} else if (x > 1200) {
		printf ("Smeke's current rating is higher than 1200 thus it will be ARC");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:18: error: expected ';' before '{' token
    5 |         1 < x < 3{,}000;
      |                  ^
      |                  ;
Language: C

#include <stdio.h>
#include <stdlib.h>

int main(){

    int x;

    scanf("%d",&x);

    if (x < 1200){
        printf("ABC\n");
        printf("Smeke's current rating is less than 1200, thus the output should be ABC.");
    }
    else{
        printf("ARC");
        printf("\nSmeke's current rating is not less than 1200, thus the output should be ARC.")
    }

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:16:97: error: expected ';' before '}' token
   16 |         printf("\nSmeke's current rating is not less than 1200, thus the output should be ARC.")
      |                                                                                                 ^
      |                                                                                                 ;
   17 |     }
      |     ~
Language: C++

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

Compiler output:
a.cc:2:17: error: 'sd' is not a namespace-name
    2 | using namespace sd;
      |                 ^~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   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:13: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   if(x<1200)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:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   if(x<1200)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:7:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   else 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:7:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   else 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>
#include<string>

int main(){

	int rate;
	
	cin>>rate;
	
	if(rate<1200){
		cout<<"ABC"<<endl;
	}else{
		cout<<"ARC"<<endl;
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |         cin>>rate;
      |         ^~~
      |         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:11:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |                 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:11:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |                 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:13:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |                 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:13:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |                 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++

x = int(input())
if x < 1200:
    print('ABC')
else:
    print('ARC')

Compiler output:
a.cc:3:11: warning: multi-character character constant [-Wmultichar]
    3 |     print('ABC')
      |           ^~~~~
a.cc:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('ARC')
      |           ^~~~~
a.cc:1:1: error: 'x' does not name a type
    1 | x = int(input())
      | ^