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

#include <iostream>
#include <string>

using namespace std;

int main(){
          string s;
          cin>>s;
          if (s==ABC){
                       cout<<ARC};
          else{
                cout<<ABC};
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:18: error: 'ABC' was not declared in this scope
    9 |           if (s==ABC){
      |                  ^~~
a.cc:10:30: error: 'ARC' was not declared in this scope
   10 |                        cout<<ARC};
      |                              ^~~
a.cc:11:11: error: 'else' without a previous 'if'
   11 |           else{
      |           ^~~~
a.cc:12:23: error: 'ABC' was not declared in this scope
   12 |                 cout<<ABC};
      |                       ^~~
Language: C++

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

typedef long long ll;
typedef pair<ll, ll> l_l;
typedef pair<int, int> i_i;

template<class T>
inline bool chmax(T &a, T b) {
    if(a < b) {
        a = b;
        return true;
    }
    return false;
}
 
template<class T>
inline bool chmin(T &a, T b) {
    if(a > b) {
        a = b;
        return true;
    }
    return false;
}

const ll INF = 1e18;
const ll MOD = 998244353;
const ll MX = 1000001;

str S;

void solve() {
    cin >> S;
    if (S == "ABC") cout << "ARC";
    else cout << "ABC";
}

int main() {
	cin.sync_with_stdio(0); cin.tie(0);
    ll T = 1; // cin >> T;
    while (T--) solve();
    return 0;
    // You should actually read the stuff at the bottom
}

/* Stuff to Look For
 * -----------------
 * Int overflow, array bounds
 * Initializing all variables, avoid weird behavior
 * Edge cases(n = 0, n = 1)
 * Just return 0 after result
 */


Compiler output:
a.cc:30:1: error: 'str' does not name a type
   30 | str S;
      | ^~~
a.cc: In function 'void solve()':
a.cc:33:12: error: 'S' was not declared in this scope
   33 |     cin >> S;
      |            ^
Language: C++

#include<bits/stdc++.h>

int main(){
    string s;
    cin >>s;
    if(s =="ABC") cout <<"ARC";
    else cout<< "ABC";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'string' was not declared in this scope
    4 |     string s;
      |     ^~~~~~
a.cc:4:5: note: suggested alternatives:
In file included from /usr/include/c++/14/string:41,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:5:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |     cin >>s;
      |     ^~~
      |     std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:5:11: error: 's' was not declared in this scope
    5 |     cin >>s;
      |           ^
a.cc:6:19: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |     if(s =="ABC") cout <<"ARC";
      |                   ^~~~
      |                   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:10: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     else cout<< "ABC";
      |          ^~~~
      |          std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<bits/stdc++>

int main(){
    string s;
    cin >>s;
    if(s =="ABC") cout <<"ARC";
    else cout<< "ABC";
    return 0;
}

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

int main() {
	//ios::sync_with_stdio(false);
	//cin.tie(0);
  //ll N,M,K;
  string S,A = "ABC",B = "ARC";
 
	cin >> S;

  if(S == A){
    cout << B << endl;
  }
  else{
    cout << A << endl;
  }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'string' was not declared in this scope
    5 |   string S,A = "ABC",B = "ARC";
      |   ^~~~~~
a.cc:7:9: error: 'cin' was not declared in this scope
    7 |         cin >> S;
      |         ^~~
a.cc:7:16: error: 'S' was not declared in this scope
    7 |         cin >> S;
      |                ^
a.cc:9:11: error: 'A' was not declared in this scope
    9 |   if(S == A){
      |           ^
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout << B << endl;
      |     ^~~~
a.cc:10:13: error: 'B' was not declared in this scope
   10 |     cout << B << endl;
      |             ^
a.cc:10:18: error: 'endl' was not declared in this scope
   10 |     cout << B << endl;
      |                  ^~~~
a.cc:13:5: error: 'cout' was not declared in this scope
   13 |     cout << A << endl;
      |     ^~~~
a.cc:13:18: error: 'endl' was not declared in this scope
   13 |     cout << A << endl;
      |                  ^~~~
Language: C++

#include <iostream>
{
  string ch;
  cin>>ch;
  if(ch=="ABC") {
    cout<<"ARC"<<endl;
  } else {
    cout<<"ABC"<<endl;
  }
  return 0;
}

Compiler output:
a.cc:2:1: error: expected unqualified-id before '{' token
    2 | {
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |   if(S == "ABC")
      |      ~~^~~~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
    6 |   if(S = "ABC")
      |          ^~~~~
      |          |
      |          const char*
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:8: error: found ':' in nested-name-specifier, expected '::'
    4 |   int S:
      |        ^
      |        ::
a.cc:4:7: error: 'S' has not been declared
    4 |   int S:
      |       ^
a.cc:5:7: error: qualified-id in declaration before '>>' token
    5 |   cin >> S;
      |       ^~
a.cc:6:6: error: 'S' was not declared in this scope
    6 |   if(S = "ABC")
      |      ^
Language: C++

#include<bits/stdc++.h>

int main()
{
  string s;
  cin>>s;
  if(strcmp(s,"ABC"))
    cout<<"ARC";
  else 
    cout<<"ABC";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'string' was not declared in this scope
    5 |   string s;
      |   ^~~~~~
a.cc:5:3: note: suggested alternatives:
In file included from /usr/include/c++/14/string:41,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>s;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:8: error: 's' was not declared in this scope
    6 |   cin>>s;
      |        ^
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout<<"ARC";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     cout<<"ABC";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: Java

import java.util.Scanner;
public class Main{
  public static void main(String[] args){
    String s = sc.next();
     
    if(s.contains("ABC")){
      System.out.println("ARC");
  }else{
      System.out.println("ABC");
    }
       }
}

Compiler output:
Main.java:4: error: cannot find symbol
    String s = sc.next();
               ^
  symbol:   variable sc
  location: class Main
1 error
Language: Java

import java.util.Scanner;
public class Main{
  public satic void main(String[] args){
    String s = sc.next();
     
    if(s.contains("ABC"){
      System.out.println("ARC");
  }else{
      System.out.println("ABC");
    }
       }
}
    

Compiler output:
Main.java:3: error: <identifier> expected
  public satic void main(String[] args){
              ^
Main.java:6: error: ')' expected
    if(s.contains("ABC"){
                        ^
2 errors
Language: Java

import java.util.Scanner;
import java.util.Set;

public class Example1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner (System.in);
        String s = sc.next();
        if(s.equals("ABC")){
            System.out.println("ARC");
        }
        else {
            System.out.println("ABC"); 
        }
    }    
}

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

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

int main(){
  string s;
  cin >> s;
  cout << (s == "ABC" ? "ARC" : "ABC");
}

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

#include <bits/stdc++.h>
using namespace std;
int main(){
  string s;
  cin>>s;
  cout<<S=="ARC" ? ABC:ARC;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'S' was not declared in this scope
    6 |   cout<<S=="ARC" ? ABC:ARC;
      |         ^
a.cc:6:20: error: 'ABC' was not declared in this scope
    6 |   cout<<S=="ARC" ? ABC:ARC;
      |                    ^~~
a.cc:6:24: error: 'ARC' was not declared in this scope
    6 |   cout<<S=="ARC" ? ABC:ARC;
      |                        ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
	ios_base::sync_with_stdio(false); 
    cin.tie(NULL); 
#ifndef ONLINE_JUDGE 
    freopen("input.txt", "r", stdin); 
    freopen("output.txt", "w", stdout); 
#endif
  string s;
    cin>> s;
  if (s=="ABC"){
  cout<<"ARC;
  }
  else{
  cout<<"ABC";
  }
	return 0;
}

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

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

int main(){
	ios_base::sync_with_stdio(false); 
    cin.tie(NULL); 
#ifndef ONLINE_JUDGE 
    freopen("input.txt", "r", stdin); 
    freopen("output.txt", "w", stdout); 
#endif
  string s;
    cin>> s;
  if (s=="ABC"){
  cout<<"ARC;
  }
  else{
  cout<<"ABC";
  }
	return 0;
}

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

int main() {
	string s;
    cin >> s;
    if(s[1]=='B') s[1]='R';
    else s[1]='B';
  	cout << s << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:2:9: error: 'string' was not declared in this scope
    2 |         string s;
      |         ^~~~~~
a.cc:3:5: error: 'cin' was not declared in this scope
    3 |     cin >> s;
      |     ^~~
a.cc:3:12: error: 's' was not declared in this scope
    3 |     cin >> s;
      |            ^
a.cc:6:9: error: 'cout' was not declared in this scope
    6 |         cout << s << endl;
      |         ^~~~
a.cc:6:22: error: 'endl' was not declared in this scope
    6 |         cout << s << endl;
      |                      ^~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
  string s;
  cin>>s;
  s[1]=='R' ? cout<<"ABC"; : cout<<"ARC";
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:26: error: expected ':' before ';' token
    7 |   s[1]=='R' ? cout<<"ABC"; : cout<<"ARC";
      |                          ^
      |                          :
a.cc:7:26: error: expected primary-expression before ';' token
a.cc:7:28: error: expected primary-expression before ':' token
    7 |   s[1]=='R' ? cout<<"ABC"; : cout<<"ARC";
      |                            ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
  string s;
  cin>>s;
  s[1]==R ? cout<<"ABC"; : cout<<"ARC";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'R' was not declared in this scope
    7 |   s[1]==R ? cout<<"ABC"; : cout<<"ARC";
      |         ^
a.cc:7:24: error: expected ':' before ';' token
    7 |   s[1]==R ? cout<<"ABC"; : cout<<"ARC";
      |                        ^
      |                        :
a.cc:7:24: error: expected primary-expression before ';' token
a.cc:7:26: error: expected primary-expression before ':' token
    7 |   s[1]==R ? cout<<"ABC"; : cout<<"ARC";
      |                          ^
Language: Java

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

Compiler output:
Main.java:6: error: ')' expected
          if(s.equals("ABC"){
                            ^
1 error
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  string s;
  cin>>s;
  if(s=="ABC")
    cout<<"ARC\n";
  else
    cout<<"ABC\n";

Compiler output:
a.cc: In function 'int main()':
a.cc:10:19: error: expected '}' at end of input
   10 |     cout<<"ABC\n";
      |                   ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

#incluDe <bits/stdc++.h>
using namespace std;
 
int main()
{
  string str;
  cin>>str;
  if(str[1]=='B')
    cout<<"ARC";
  else cout<<"ABC";
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incluDe; did you mean #include?
    1 | #incluDe <bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'string' was not declared in this scope
    6 |   string str;
      |   ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | #incluDe <bits/stdc++.h>
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin>>str;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #incluDe <bits/stdc++.h>
a.cc:7:8: error: 'str' was not declared in this scope; did you mean 'std'?
    7 |   cin>>str;
      |        ^~~
      |        std
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<"ARC";
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:8: error: 'cout' was not declared in this scope
   10 |   else cout<<"ABC";
      |        ^~~~
a.cc:10:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#inclue <bits/stdc++.h?
usiNg namespace std;

int main()
{
  string str;
  cin>>str;
  if(str[1]=='B')
    cout<<"ARC";
  else cout<<"ABC";
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue <bits/stdc++.h?
      |  ^~~~~~
      |  include
a.cc:2:1: error: 'usiNg' does not name a type
    2 | usiNg namespace std;
      | ^~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'string' was not declared in this scope
    6 |   string str;
      |   ^~~~~~
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin>>str;
      |   ^~~
a.cc:7:8: error: 'str' was not declared in this scope; did you mean 'std'?
    7 |   cin>>str;
      |        ^~~
      |        std
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<"ARC";
      |     ^~~~
a.cc:10:8: error: 'cout' was not declared in this scope
   10 |   else cout<<"ABC";
      |        ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
string s;
cin>>s;
cout<<"ABC"?a=="ARC":"ARC";
}


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

#include <bits/stdc++.h>

#define ll long long
#define fr first
#define se second
#define pb push_back

using namespace std;

const long long N = 1e5 + 7;

ll res, n, m, cnt, ans , a , b , sum , mx = -1e9 , mn, c , d;
int main()
{
    cin >> s;
    cout << "ARC";
}


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

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

int main(){
  char s;
  cin>>s;
  if(s=="ABC") cout<<"ARC"<<endl;
  else cout<<"ABC"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(s=="ABC") cout<<"ARC"<<endl;
      |      ~^~~~~~~
Language: Java

import java.util.*;

public class AC {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    String title = sc.next();

    switch (title) {
      case "ABC":
        System.out.println("ARC");
        break;
      case "ARC":
        System.out.println("ABC");
        break;
    }
    sc.close();
  }
}

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

#include<bits/stdc++.h>
using namespace std;
#define int long long int
#define ld long double
#define mod 1000000007
#define endl "\n"
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define MAXX 1000000000000000000

int32_t main()
{
    ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	
	string s;
	cin >> s;
	if(s == "ABC")
	{
		cout << "ARC"
	}
	else
	{
		cout << "ABC"
	}
	
	
	
	
	return 0;
}

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:22:30: error: expected ';' before '}' token
   22 |                 cout << "ARC"
      |                              ^
      |                              ;
   23 |         }
      |         ~                     
a.cc:26:30: error: expected ';' before '}' token
   26 |                 cout << "ABC"
      |                              ^
      |                              ;
   27 |         }
      |         ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int sz = 3e5+5

int main()
{
    string s;
    cin >> s;
    if(s == "ABC") cout << "ARC" << endl;
    else cout << "ABC" << endl;
}


Compiler output:
a.cc:6:1: error: expected ',' or ';' before 'int'
    6 | int main()
      | ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int sz = 3e5+5

int main()
{
    string s;
    cin >> s;
    if(s == 'ABC') cout << "ARC" << endl;
    else cout << "ABC" << endl;
}


Compiler output:
a.cc:10:13: warning: multi-character character constant [-Wmultichar]
   10 |     if(s == 'ABC') cout << "ARC" << endl;
      |             ^~~~~
a.cc:6:1: error: expected ',' or ';' before 'int'
    6 | int main()
      | ^~~
Language: C

#include <bits/stdc++.h>
#include <iostream>

using namespace std;
typedef long long ll;

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


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

#include<bits/stdc++.h>
using namespace std;
#define int long long int
int32_t main(){int n,i,ans=0,k,a,c;
      map<int,int>mp;
      cin>>n;
               int c[n+1];
      for(i=1;i<=n;i++){
          cin>>c[i];
          //k=i-c;
          //ans+=mp[k];
          a=i+c[i];
          mp[a]++;
      }
               for(i=1;i<=n;i++){
         
          k=i-c[i];
          ans+=mp[k];
          //a=i+c;
          //mp[a]++;
      }
               cout<<ans;
    return 0;}

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:7:20: error: conflicting declaration 'long long int c [(n + 1)]'
    7 |                int c[n+1];
      |                    ^
a.cc:4:34: note: previous declaration as 'long long int c'
    4 | int32_t main(){int n,i,ans=0,k,a,c;
      |                                  ^
a.cc:9:17: error: invalid types 'long long int[long long int]' for array subscript
    9 |           cin>>c[i];
      |                 ^
a.cc:12:16: error: invalid types 'long long int[long long int]' for array subscript
   12 |           a=i+c[i];
      |                ^
a.cc:17:16: error: invalid types 'long long int[long long int]' for array subscript
   17 |           k=i-c[i];
      |                ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  string a;
  cin>>a;
  if(s=="ABC")
    cout<<"ARC"<<"\n";
    if(s=="ARC")
    cout<<"ABC"<<"\n";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:6: error: 's' was not declared in this scope
    7 |   if(s=="ABC")
      |      ^
a.cc:9:8: error: 's' was not declared in this scope
    9 |     if(s=="ARC")
      |        ^
Language: C++

#include<bits/stdc++.h>
namespace std;
int main()
{
  string a;
  cin>>a;
  if(s=="ABC")
    cout<<"ARC"<<"\n";
    if(s=="ARC")
    cout<<"ABC"<<"\n";
  return 0;
}

Compiler output:
a.cc:2:14: error: expected '{' before ';' token
    2 | namespace std;
      |              ^
a.cc: In function 'int main()':
a.cc:5:3: error: 'string' was not declared in this scope
    5 |   string a;
      |   ^~~~~~
a.cc:5:3: note: suggested alternatives:
In file included from /usr/include/c++/14/string:41,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
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 /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:8: error: 'a' was not declared in this scope
    6 |   cin>>a;
      |        ^
a.cc:7:6: error: 's' was not declared in this scope
    7 |   if(s=="ABC")
      |      ^
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout<<"ARC"<<"\n";
      |     ^~~~
      |     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:8: error: 's' was not declared in this scope
    9 |     if(s=="ARC")
      |        ^
a.cc:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     cout<<"ABC"<<"\n";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<iostream>
#include<string>
using namespace std;
int main(){
  string str;
  cin>>str;
  if(str[1]=='B'){
    cout<<"ARC"<<'\n;
  }
  else{
    cout<<"ABC"<<'\n;
}

Compiler output:
a.cc:8:18: warning: missing terminating ' character
    8 |     cout<<"ARC"<<'\n;
      |                  ^
a.cc:8:18: error: missing terminating ' character
    8 |     cout<<"ARC"<<'\n;
      |                  ^~~~
a.cc:11:18: warning: missing terminating ' character
   11 |     cout<<"ABC"<<'\n;
      |                  ^
a.cc:11:18: error: missing terminating ' character
   11 |     cout<<"ABC"<<'\n;
      |                  ^~~~
a.cc: In function 'int main()':
a.cc:9:3: error: expected primary-expression before '}' token
    9 |   }
      |   ^
a.cc:12:1: error: expected primary-expression before '}' token
   12 | }
      | ^
a.cc:12:2: error: expected '}' at end of input
   12 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

void solve1() {

// }

// void solve2() {

// }

// void solve3() {

// }
// void solve4() {

// }

// void solve5() {

// }

Compiler output:
a.cc: In function 'void solve1()':
a.cc:1:16: error: expected '}' at end of input
    1 | void solve1() {
      |               ~^
Language: C

#include<stdio.h>
#include<math.h>
#include<stdlib.h>
#include<string.h>
int main(){
    char s[5]
      scanf("%s",s);
  if(s=="ABC")
    printf("ARC");
  else
    printf("ABC");
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    7 |       scanf("%s",s);
      |       ^~~~~
main.c:7:18: error: 's' undeclared (first use in this function)
    7 |       scanf("%s",s);
      |                  ^
main.c:7:18: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include<iostream>
#include<string>

int main(){
	string a;
	cin>>a;
	if(a=='ABC'){
		cout<<'ARC';
	}else{
		cout<<'ABC';
	}
}

Compiler output:
a.cc:7:15: warning: multi-character character constant [-Wmultichar]
    7 |         if(a=='ABC'){
      |               ^~~~~
a.cc:8:23: warning: multi-character character constant [-Wmultichar]
    8 |                 cout<<'ARC';
      |                       ^~~~~
a.cc:10:23: warning: multi-character character constant [-Wmultichar]
   10 |                 cout<<'ABC';
      |                       ^~~~~
a.cc: In function 'int main()':
a.cc:5:9: error: 'string' was not declared in this scope
    5 |         string a;
      |         ^~~~~~
a.cc:5:9: note: suggested alternatives:
In file included from /usr/include/c++/14/iosfwd:41,
                 from /usr/include/c++/14/ios:40,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
In file included 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:
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:6:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |         cin>>a;
      |         ^~~
      |         std::cin
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:14: error: 'a' was not declared in this scope
    6 |         cin>>a;
      |              ^
a.cc:8:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |                 cout<<'ARC';
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |                 cout<<'ABC';
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;
using LL = long long;

signed main() {
  // freopen("in", "r", stdin);
  cin >> s;
  if (s == "ABC") cout << "ARC" << endl;
  else cout << "ABC" << endl;  
  return 0;
}


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

#include <iostream>
#include<stdio.h>

using namespace std;

int main()

{
    char c[3];
    cin>>c;
    if(c[1]=='B'|| c[1]=='b')
    {
        printf("ARC");
    }
    else if(c[1]=='R'||c[1]=='r')
    {
        printf("ABC");
    }
    return 0;
}


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

#include<iostream>
#include<cstdio>
#include<algorithm>
#include<set>
#include<cmath>
#include<map>
#include<vector>
#include<unordered_map>
#include<queue>
#include<cstring>
using namespace std;
typedef long long LL;
typedef pair<int,int> PII;  
const int N=1e5+10;
const int M=N*2;
const int INF=0x3f3f3f3f;
long long mypow(int x)
{
    long long res=1;
    for(int i=1;i<=x;i++)
        res*=2;
    return res;
}
int gcd(int a,int b)
{
    return b?a:gcd(b,a%b);
}
void solve()
{

    string s;
    cin>>s;
    if(s=="ABC")
        cout<<"ARC";
    else
        cout<<"ABC";
    return 0;
    
    
}
int main()
{
    //ios::sync_with_stdio(false);
    //cin.tie(0);
    //cout.tie(0);
    solve();
    getchar();
    getchar();
    return 0;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:37:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
   37 |     return 0;
      |            ^
Language: C

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
	
	string s; cin>>s;
	if(s =="ABC") cout<<"ARC"<<"\n";
	if(s =="ARC") cout<<"ABC"<<"\n";
	
	
}

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

#include<bits/stdc++.h>
using namespace std;
#define FS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define ll long long int
#define ld long double
#define pb push_back
#define bp __builtin_popcount
#define sz size()
#define ff first
#define ss second
#define vll vector<ll>
#define vbool vector<bool>
#define vpll vector<pair<ll,ll>>
#define pll pair<ll,ll>
#define vllv vector<vector<ll>>
#define setpri(x) cout<<setprecision(x)<<fixed;
#define all(v) v.begin(),v.end()
#define allr(v) v.rbegin(),v.rend()
#define yesr {cout<<"YES"<<endl;return;}
#define nor {cout<<"NO"<<endl;return;}
// getline (std::cin,name);
ll MOD=1e9+7;
ll ceil1(ll n,ll x){if(n%x==0)return n/x; else return (n/x)+1;}
ll gcd(ll a,ll b){return __gcd(a,b);}
ll lcm(ll a,ll b){return (max(a,b)/gcd(a,b))*min(a,b);}
ll pow1(ll n,ll k,ll mm){
    if(k==0)return 1;
    if(k%2==0)return (pow1((n%mm)*(n%mm),k/2,mm))%mm;
    return ((n%mm)*(pow1((n%mm)*(n%mm),k/2,mm)%mm))%mm;
}
ll pow2(ll n,ll k){ll ans=1;
    while(k>0){
        if(k%2==1)ans=ans*n;n=n*n;k/=2;
    }return ans;
}
ll modinv(ll n,ll mod){
    return pow1(n,mod-2,mod);
}
bool func(pair<ll,ll> &a,pair<ll,ll> &b ){
    if(a.ff != b.ff)return a.ff < b.ff;
    return a.ss > b.ss;
}

void solve(){
    ll i,j,k,l,n,m,x,y,z,r;
	
	cin>>s;
	if(s=="ABC"){
		cout<<"ARC";
	}else{
		cout<<"ABC";
	}
  
}
int main(){
    FS;
    ll i,j,k,n,m,x,y,z,q;
    q=1;
    // cin>>q;
    while(q--){
        solve();
    }
    return 0;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:47:14: error: 's' was not declared in this scope
   47 |         cin>>s;
      |              ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define FS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define ll long long int
#define ld long double
#define pb push_back
#define bp __builtin_popcount
#define sz size()
#define ff first
#define ss second
#define vll vector<ll>
#define vbool vector<bool>
#define vpll vector<pair<ll,ll>>
#define pll pair<ll,ll>
#define vllv vector<vector<ll>>
#define setpri(x) cout<<setprecision(x)<<fixed;
#define all(v) v.begin(),v.end()
#define allr(v) v.rbegin(),v.rend()
#define yesr {cout<<"YES"<<endl;return;}
#define nor {cout<<"NO"<<endl;return;}
// getline (std::cin,name);
ll MOD=1e9+7;
ll ceil1(ll n,ll x){if(n%x==0)return n/x; else return (n/x)+1;}
ll gcd(ll a,ll b){return __gcd(a,b);}
ll lcm(ll a,ll b){return (max(a,b)/gcd(a,b))*min(a,b);}
ll pow1(ll n,ll k,ll mm){
    if(k==0)return 1;
    if(k%2==0)return (pow1((n%mm)*(n%mm),k/2,mm))%mm;
    return ((n%mm)*(pow1((n%mm)*(n%mm),k/2,mm)%mm))%mm;
}
ll pow2(ll n,ll k){ll ans=1;
    while(k>0){
        if(k%2==1)ans=ans*n;n=n*n;k/=2;
    }return ans;
}
ll modinv(ll n,ll mod){
    return pow1(n,mod-2,mod);
}
bool func(pair<ll,ll> &a,pair<ll,ll> &b ){
    if(a.ff != b.ff)return a.ff < b.ff;
    return a.ss > b.ss;
}

void solve(){
    ll i,j,k,l,n,m,x,y,z,r;
	
	cin>>s;
	if(s=="ABC"){
		cout<<"ARC"
	}else{
		cout<<"ABC";
	}
  
}
int main(){
    FS;
    ll i,j,k,n,m,x,y,z,q;
    q=1;
    // cin>>q;
    while(q--){
        solve();
    }
    return 0;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:47:14: error: 's' was not declared in this scope
   47 |         cin>>s;
      |              ^
a.cc:49:28: error: expected ';' before '}' token
   49 |                 cout<<"ARC"
      |                            ^
      |                            ;
   50 |         }else{
      |         ~
Language: Java

import java.io.BufferedWriter;
import java.io.OutputStreamWriter;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class AC {
    public static void main(String[] args) {
        FastReader reader = new FastReader();
        BufferedWriter log = new BufferedWriter(new OutputStreamWriter(System.out));
        try {
            String s = reader.nextLine();
            if (s.equals("ARC")) {
                log.write("ABC");
            } else {
                log.write("ARC");
            }
            log.flush();
            log.close();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
class FastReader {
    BufferedReader br;
    StringTokenizer st;

    public FastReader() {
        br = new BufferedReader(new InputStreamReader(System.in));
    }

    public String next() {
        while (st == null || !st.hasMoreElements()) {
            try {
                st = new StringTokenizer(br.readLine());
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
        return st.nextToken();
    }

    public int nextInt() {
        return Integer.parseInt(next());
    }

    public long nextLong() {
        return Long.parseLong(next());
    }

    public String nextLine() {
        String str = "";
        try {
            str = br.readLine();
        } catch (Exception e) {
            e.printStackTrace();
        }
        return str;
    }
}

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

#include<bits/stdc++.h>

using namespace std;
int main(){
  string s;
  cin>>s;
  if(s="ARC"){
    cout<<"ABC"<<endl;
  }
  else{
    cout<<"ARC"<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: could not convert 's.std::__cxx11::basic_string<char>::operator=(((const char*)"ARC"))' from 'std::__cxx11::basic_string<char>' to 'bool'
    7 |   if(s="ARC"){
      |      ~^~~~~~
      |       |
      |       std::__cxx11::basic_string<char>
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:11:20: error: expected ';' before '{' token
   11 |   else (S == "ARC") {
      |                    ^~
      |                    ;
a.cc:11:11: warning: ignoring return value of 'bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const _CharT*) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]', declared with attribute 'nodiscard' [-Wunused-result]
   11 |   else (S == "ARC") {
      |        ~~~^~~~~~~~~
In file included from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/c++/14/bits/basic_string.h:3772:5: note: declared here
 3772 |     operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
      |     ^~~~~~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:11:20: error: expected ';' before '{' token
   11 |   else (S == "ARC"){
      |                    ^
      |                    ;
a.cc:11:11: warning: ignoring return value of 'bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const _CharT*) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]', declared with attribute 'nodiscard' [-Wunused-result]
   11 |   else (S == "ARC"){
      |        ~~~^~~~~~~~~
In file included from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/c++/14/bits/basic_string.h:3772:5: note: declared here
 3772 |     operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
      |     ^~~~~~~~
Language: C++

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

int  main() {
  string  S;

  cin>>S;

 if(S==ABC){
cout<<"ARC"<< endl;
}

if(S==ARC){
cout<<"ABC"<<endl;
}

  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:8: error: 'ABC' was not declared in this scope
    9 |  if(S==ABC){
      |        ^~~
a.cc:13:7: error: 'ARC' was not declared in this scope
   13 | if(S==ARC){
      |       ^~~
Language: C++

#include<iostream>
#include<string>
int main(){
  string s;std::cin>>s;
  if(s=="ABC"){
    std::cout<<"ARC"<<std::endl;
  }else{
    std::cout<<"ABC"<<std::endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'string' was not declared in this scope
    4 |   string s;std::cin>>s;
      |   ^~~~~~
a.cc:4:3: note: suggested alternatives:
In file included from /usr/include/c++/14/iosfwd:41,
                 from /usr/include/c++/14/ios:40,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
In file included 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:
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:4:22: error: 's' was not declared in this scope
    4 |   string s;std::cin>>s;
      |                      ^
Language: C++

#include <iostream>
#include <math.h>
#include <stdio.h>
#include <map>

using namespace std;
char S;
int main(){

cin>>S;
  if(S=="ABC"){cout<<"ARC"<<endl;}
  else{cout<<"ABC"<<endl;}

}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   11 |   if(S=="ABC"){cout<<"ARC"<<endl;}
      |      ~^~~~~~~
Language: C++

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

int main() {
  string S;

  cin>>S;

 if(S==ABC){
cout<<"ARC"<< endl;
}

if(S==ARC){
cout<<"ABC"<<endl;
}

  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:8: error: 'ABC' was not declared in this scope
    9 |  if(S==ABC){
      |        ^~~
a.cc:13:7: error: 'ARC' was not declared in this scope
   13 | if(S==ARC){
      |       ^~~
Language: C++



#include<iostream>
int main(){
  
  string s; cin>>s;
  
  if(s == "ABC")cout<<"ARC";
  else cout<<"ABC";
 return 0; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'string' was not declared in this scope
    6 |   string s; cin>>s;
      |   ^~~~~~
a.cc:6:3: note: suggested alternatives:
In file included from /usr/include/c++/14/iosfwd:41,
                 from /usr/include/c++/14/ios:40,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:3:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
In file included 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:
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:6:13: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   string s; cin>>s;
      |             ^~~
      |             std::cin
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:18: error: 's' was not declared in this scope
    6 |   string s; cin>>s;
      |                  ^
a.cc:8:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   if(s == "ABC")cout<<"ARC";
      |                 ^~~~
      |                 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:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   else cout<<"ABC";
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C

#include <bits/stdc++.h>
using namespace std;
#define ALL(obj) obj.begin(),obj.end()
#define pb(obj) push_back(obj)
#define REP(i,N) for(int i=0;i<N;i++)
typedef long long ll;
int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);
    string S;
    cin>>S;
    cout<<(S=="ABC"?"ARC":"ABC")<<endl;
}

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

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

int main() {
  string S;

  cin>>S;

 if(S&ABC){
cout<<"ARC"<< endl;
}

if(S&ARC){
cout<<"ABC"<<endl;
}

  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:7: error: 'ABC' was not declared in this scope
    9 |  if(S&ABC){
      |       ^~~
a.cc:13:6: error: 'ARC' was not declared in this scope
   13 | if(S&ARC){
      |      ^~~
Language: C++

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

int main() {
  string S;

  cin>>S;

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

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

  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'ABC' was not declared in this scope
    9 |  if(ABC){
      |     ^~~
a.cc:13:4: error: 'ARC' was not declared in this scope
   13 | if(ARC){
      |    ^~~
Language: C++

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

Compiler output:
a.cc:2:20: error: expected ';' before ':' token
    2 | using namespace std:
      |                    ^
      |                    ;
a.cc:2:20: error: expected unqualified-id before ':' token
Language: C++

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

string main() {
  string S;

  cin>>S;

 if(S=ABC){
cout<<"ARC"<< endl;
}

if(S=ARC){
cout<<"ABC"<<endl;
}

  
}

Compiler output:
a.cc:4:1: error: '::main' must return 'int'
    4 | string main() {
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:9:7: error: 'ABC' was not declared in this scope
    9 |  if(S=ABC){
      |       ^~~
a.cc:13:6: error: 'ARC' was not declared in this scope
   13 | if(S=ARC){
      |      ^~~
Language: C++

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

int main() {
  string S;

  cin>>S;

 if(S=ABC){
cout<<"ARC"<< endl;
}

if(S=ARC){
cout<<"ABC"<<endl;
}

  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:7: error: 'ABC' was not declared in this scope
    9 |  if(S=ABC){
      |       ^~~
a.cc:13:6: error: 'ARC' was not declared in this scope
   13 | if(S=ARC){
      |      ^~~
Language: C++

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

int main() {
  int S;

  cin>>S;

 if(S=ABC){
cout<<"ARC"<< endl;
}

if(S=ARC){
cout<<"ABC"<<endl;
}

  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:7: error: 'ABC' was not declared in this scope
    9 |  if(S=ABC){
      |       ^~~
a.cc:13:6: error: 'ARC' was not declared in this scope
   13 | if(S=ARC){
      |      ^~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define int long long int
#define ld long double
#define F first
#define S second
#define P pair<int,int>
#define pb push_back
#define rep(i,n) for(int i=0;i<(n);++i)
#define repA(i,a,n) for(int i=a;i<=(n);++i)
#define repD(i,a,n) for(int i=a;i>=(n);--i)
const int N = 100005;
int32_t main()
{
    ios_base:: sync_with_stdio(false);
    cin.tie(NULL); cout.tie(NULL);
    // int t;cin>>t;while(t--)
    {
        String s;
      	cin >> s;
      	if(s == 'ABC'){
          cout << "ARC";
        }else{
          cout << "ABC";
      
    }
}

Compiler output:
a.cc:21:17: warning: multi-character character constant [-Wmultichar]
   21 |         if(s == 'ABC'){
      |                 ^~~~~
a.cc: In function 'int32_t main()':
a.cc:19:9: error: 'String' was not declared in this scope
   19 |         String s;
      |         ^~~~~~
a.cc:20:16: error: 's' was not declared in this scope
   20 |         cin >> s;
      |                ^
a.cc:27:2: error: expected '}' at end of input
   27 | }
      |  ^
a.cc:14:1: note: to match this '{'
   14 | {
      | ^