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

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

///******************************** C o n t a i n e r ********************************///

typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef vector<pii> vii;
typedef vector<pll> vll;
typedef map<int,int> mii;
typedef map<ll,int> mli;

///*********************************** C o n s t ***********************************///

int const N=1e6+3;
const double PI = acos(-1);

///********************************** M a r c o ***********************************///

#define pb push_back
#define F first
#define S second
#define test int tc; cin>>tc; while(tc--)
#define forn(i,n) for(i=0;i<n;i++)
#define rforn(i,n) for(i=n-1;i>=0;i--)
#define all(a) a.begin(),a.end()
#define rall(a) a.rbegin(),a.rend()
#define sz(x) x.size()
#define el <<'\n'
#define sp <<' '
#define print(a) {for(auto x:a)cout<<x<<" ";cout<<endl;}
#define mem(a,b) memset(a, b, sizeof(a))
#define gcd(a,b) __gcd(a,b)
#define lcm(a,b) (a*(b/gcd(a,b)))
#define sqr(a) (a)*(a)

#define fastio() ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define file() freopen("input.txt","r",stdin);freopen("output.txt","w",stdout);
#define fraction() cout.unsetf(ios::floatfield); cout.precision(10); cout.setf(ios::fixed,ios::floatfield);

///*********************************** F u n c t i o n ***********************************///

ll powmod(ll a,ll b){ll p=MOD;a%=p;if(!a) return 0;ll pr=1;while(b>0){if(b&1){pr*=a;pr%=p;--b;}a*=a;a%=p;b/=2;}return pr;}
bool isPrime(ll n){ if(n<=1)return false;if(n<=3)return true;if(n%2==0 or n%3==0)return false;for(ll i=5;i*i<=n;i+=6){if(n%i==0n%(i+2)==0)return false;}return true;}

///************************************************ C o d e ************************************************///
///-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=///



void _case()
{
    char a;
    cin>>a;
    if(a>='a') cout<<'a' el;
    else cout<<'A' el;

}

main()
{
///    test
///    while(1)
        _case();

}


///Thank you.


///Brainless_Loco Terminates Here!


Compiler output:
a.cc: In function 'll powmod(ll, ll)':
a.cc:46:27: error: 'MOD' was not declared in this scope
   46 | ll powmod(ll a,ll b){ll p=MOD;a%=p;if(!a) return 0;ll pr=1;while(b>0){if(b&1){pr*=a;pr%=p;--b;}a*=a;a%=p;b/=2;}return pr;}
      |                           ^~~
a.cc: In function 'bool isPrime(ll)':
a.cc:47:127: error: unable to find numeric literal operator 'operator""n'
   47 | bool isPrime(ll n){ if(n<=1)return false;if(n<=3)return true;if(n%2==0 or n%3==0)return false;for(ll i=5;i*i<=n;i+=6){if(n%i==0n%(i+2)==0)return false;}return true;}
      |                                                                                                                               ^~
a.cc: At global scope:
a.cc:63:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   63 | main()
      | ^~~~
Language: C++

#include <iostream>
using namespace std;

//Compiler version g++ 6.3.0

int main()
{
   char x;
   cin>>x;
   if(x>=65&&x<=97)
  b cout<<"A"<<endl;
   else
   cout<<"a"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: 'b' was not declared in this scope
   11 |   b cout<<"A"<<endl;
      |   ^
Language: C++

#include <bits/stdc++.h>
#define fi first
#define se second
#define rep(i,n) for (int i=0; i<(n); ++i)
#define rrep(i,n) for (int i=1; i<=(n); ++i)
#define drep(i,n) for (int i=(n)-1; i>=0; --i)
#define srep(i,s,t) for (int i=s; i<t; ++i)
//#define pu push_back
//#define po pop_back
#define pi (acos(-1))
#define fast ios::sync_with_stdio(false); cin.tie(0)
//#define pii pair<int,int>
//#define pll pair<ll,ll>
//#define vec vector
template<class T> inline bool chmin(T& a, T b) {
	if (a > b) {
		a = b;
		return true;
	}
	return false;
}
template<class T> inline bool chmax(T& a, T b) {
	if (a < b) {
		a = b;
		return true;
	}
	return false;
}
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<ll> vl;
typedef pair<int, int> P;
const int INF = 1001001001;

// Gcd & Lcm
ll gcd (ll a, ll b) {
  return b ? gcd(b, a%b) : a;
}
ll lcm (ll a, ll b) {
  return a/gcd(a,b)*b;
}

int main(void) {
  string s;
  cin >> s;
  if (isupper(s)) {
    cout << A << endl;
  } else {
    cout << a << endl;
  }
  return 0;
}
  







  



Compiler output:
a.cc: In function 'int main()':
a.cc:48:14: error: no matching function for call to 'isupper(std::string&)'
   48 |   if (isupper(s)) {
      |       ~~~~~~~^~~
In file included from /usr/include/c++/14/bits/basic_ios.h:37,
                 from /usr/include/c++/14/ios:46,
                 from /usr/include/c++/14/istream:40,
                 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,
                 from a.cc:1:
/usr/include/c++/14/bits/locale_facets.h:2631:5: note: candidate: 'template<class _CharT> bool std::isupper(_CharT, const locale&)'
 2631 |     isupper(_CharT __c, const locale& __loc)
      |     ^~~~~~~
/usr/include/c++/14/bits/locale_facets.h:2631:5: note:   candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/14/cctype:42,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:35:
/usr/include/ctype.h:117:1: note: candidate: 'int isupper(int)'
  117 | __exctype (isupper);
      | ^~~~~~~~~
/usr/include/ctype.h:117:1: note:   no known conversion for argument 1 from 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'int'
  117 | __exctype (isupper);
      | ^~~~~~~~~
a.cc:49:13: error: 'A' was not declared in this scope
   49 |     cout << A << endl;
      |             ^
a.cc:51:13: error: 'a' was not declared in this scope
   51 |     cout << a << endl;
      |             ^
Language: C++

/******************************************************************************

                              Online C++ Compiler.
               Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.

*******************************************************************************/

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

typedef long long ll;
const ll mod=1000000007;



int main()
{
    std::ios::sync_with_stdio(false);
    std::cin.tie(0);

   
    char c;
    cin>>a;
    if(c>='a' && c<='z')
    cout<<"a";
    else
    cout<<"A";
    
    


    

    return 0;
}


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


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

int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  char n;
  cin >> n;
  if(islower(n))
    cout << "a\n" 
  else
    cout << "A\n" 
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:18: error: expected ';' before 'else'
   14 |     cout << "a\n"
      |                  ^
      |                  ;
   15 |   else
      |   ~~~~
Language: C++

#include <bits/stdc++.h>
#define boost ios::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#define int long long
#define M 1000000007
#define eb emplace_back
#define watch(x) cout << (#x) <<" is "<< x <<"\n";


using namespace std;
//const int N = 1e6;

int32_t main(){
  boost;
  int tc = 1; //cin >> tc;
  while(tc--)
  {
  	char c; cin >> c;
  	if(c == islower)
  		cout << "a\n";
  	else
  		cout <<"A\n";
  }
}



Compiler output:
a.cc: In function 'int32_t main()':
a.cc:18:14: error: invalid operands of types 'char' and '<unresolved overloaded function type>' to binary 'operator=='
   18 |         if(c == islower)
      |            ~~^~~~~~~~~~
Language: C

#include <bits/stdc++.h>
#include <vector>
#include <string>

using namespace std;

vector<string> split(const string &s, char delim) {
  vector<string> elems;
  string item;
  for (char ch: s) {
    if (ch == delim) {
      if (!item.empty()) {
        elems.push_back(item);
      }
      item.clear();
    }
    else {
      item += ch;
    }
  }
  if (!item.empty()) {
    elems.push_back(item);
  }
  return elems;
}

string to_str_with_zero(int i, int w) {
  ostringstream sout;
  sout << std::setfill('0') << std::setw(w) << i;
  string s = sout.str();
  return s;
}

int letter_to_int(char c) {
  return tolower(c) - 'a';
}

bool array_equal(vector<int> a1, vector<int>a2) {
  if (a1.size() != a2.size()) {
    return false;
  }
  for (int i=0; i<a1.size(); i++) {
    if (a1.at(i) != a2.at(i)) {
      return false;
    }
  }
  return true;
}

int gcd(int a, int b) {
  if (a == b) {
    return a;
  }
  else if (a > b) {
    return gcd(a - b, b);
  }
  else {
    return gcd(a, b - a);
  }
}

int main() {
  std::cout << std::setprecision(9);
  char a;
  cin >> a;

  if (tolower(a) == a) {
    cout << 'B' << endl;
  }
  else {
    cout << 'A' << 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 <stdlib.h>
#include <stdio.h>
#include <cmath>
#include <algorithm>
#include <vector>
#include <map>
#include <iostream>
#include <set>


using namespace std;
char s;
int main() {
    cin>>s;

    if(islower(s)) {
        cout<<"a"<<endl;
    }
    else {
        cout<<"A"<<endl;
    }
    return 0;
}

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

#include<bitsstdc++.h>
using namespace std;
int main(){
  char a;
  cin>>a;
  if(isupper(a))
    cout<<'A';
  else
    cout<<'a';
  return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
#define _rep(n, a, b) for (ll n = (a); n <= (b); ++n)
#define _rev(n, a, b) for (ll n = (a); n >= (b); --n)
#define _for(n, a, b) for (ll n = (a); n < (b); ++n)
#define _rof(n, a, b) for (ll n = (a); n > (b); --n)
#define oo 0x3f3f3f3f3f3f
#define ll long long
#define db double
#define eps 1e-3
#define bin(x) cout << bitset<10>(x) << endl;
#define what_is(x) cerr << #x << " is " << x << endl
#define met(a, b) memset(a, b, sizeof(a))
#define all(x) x.begin(), x.end()
#define pii pair<ll, ll>
#define pdd pair<db, db>
const ll mod = 1e9 + 9;
const db pi = acos(-1.0);
const ll maxn = 5e5+10;
signed main(){
    char c;
    cin >> c;
    if(c >= "A" && c <= "Z"){
        cout << "A" << endl;
    }else {
        cout << 'a' << endl;
    }
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:23:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   23 |     if(c >= "A" && c <= "Z"){
      |        ~~^~~~~~
a.cc:23:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   23 |     if(c >= "A" && c <= "Z"){
      |                    ~~^~~~~~
Language: C++

#include"bits/stdc++.h:
using namespace std ;
int main(){
  char x ;
  cin >> x ;
  if(x >= 'A' && x <= 'Z)
     cout << ('a' + (x-'A');
   else cout << ('A' + (x-'a');
}

Compiler output:
a.cc:1:9: warning: missing terminating " character
    1 | #include"bits/stdc++.h:
      |         ^
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include"bits/stdc++.h:
      |         ^~~~~~~~~~~~~~~
a.cc:6:23: warning: missing terminating ' character
    6 |   if(x >= 'A' && x <= 'Z)
      |                       ^
a.cc:6:23: error: missing terminating ' character
    6 |   if(x >= 'A' && x <= 'Z)
      |                       ^~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> x ;
      |   ^~~
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:6: error: 'cout' was not declared in this scope
    7 |      cout << ('a' + (x-'A');
      |      ^~~~
a.cc:7:6: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:28: error: expected ')' before ';' token
    7 |      cout << ('a' + (x-'A');
      |              ~             ^
      |                            )
a.cc:7:28: error: expected ')' before ';' token
    7 |      cout << ('a' + (x-'A');
      |                            ^
      |                            )
a.cc:6:5: note: to match this '('
    6 |   if(x >= 'A' && x <= 'Z)
      |     ^
a.cc:8:31: error: expected ')' before ';' token
    8 |    else cout << ('A' + (x-'a');
      |                 ~             ^
      |                               )
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
    char a; 
    cin >> a;
    if (isupper(s))
   {
       cout << "A" << endl;
   }
   else
   {
       cout << "a" << endl;
   }

    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:17: error: 's' was not declared in this scope
    6 |     if (isupper(s))
      |                 ^
Language: C

#include <bits/stdc++.h>
using namespace std;
int main(void){
    char S;
    cin >> S;
    if(isupper(S)){
        cout << "A" << endl;
    }else{
        cout << "a" << 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 <algorithm>
#include <cctype>
#include <iostream>
#include <string>

int main()
{
    std::string s;
    td::cin<<s;

    std::transform(s.begin(), s.end(), s.begin(), std::toupper);
    std::cout << s << std::endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'td' has not been declared
    9 |     td::cin<<s;
      |     ^~
a.cc:11:19: error: no matching function for call to 'transform(std::__cxx11::basic_string<char>::iterator, std::__cxx11::basic_string<char>::iterator, std::__cxx11::basic_string<char>::iterator, <unresolved overloaded function type>)'
   11 |     std::transform(s.begin(), s.end(), s.begin(), std::toupper);
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/algorithm:61,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algo.h:4209:5: note: candidate: 'template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)'
 4209 |     transform(_InputIterator __first, _InputIterator __last,
      |     ^~~~~~~~~
/usr/include/c++/14/bits/stl_algo.h:4209:5: note:   template argument deduction/substitution failed:
a.cc:11:19: note:   couldn't deduce template parameter '_UnaryOperation'
   11 |     std::transform(s.begin(), s.end(), s.begin(), std::toupper);
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algo.h:4247:5: note: candidate: 'template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)'
 4247 |     transform(_InputIterator1 __first1, _InputIterator1 __last1,
      |     ^~~~~~~~~
/usr/include/c++/14/bits/stl_algo.h:4247:5: note:   candidate expects 5 arguments, 4 provided
In file included from /usr/include/c++/14/algorithm:86:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:156:1: note: candidate: 'template<class _ExecutionPolicy, class _ForwardIterator1, class _ForwardIterator2, class _UnaryOperation> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, _ForwardIterator2> std::transform(_ExecutionPolicy&&, _ForwardIterator1, _ForwardIterator1, _ForwardIterator2, _UnaryOperation)'
  156 | transform(_ExecutionPolicy&& __exec, _ForwardIterator1 __first, _ForwardIterator1 __last, _ForwardIterator2 __result,
      | ^~~~~~~~~
/usr/include/c++/14/pstl/glue_algorithm_defs.h:156:1: note:   candidate expects 5 arguments, 4 provided
/usr/include/c++/14/pstl/glue_algorithm_defs.h:162:1: note: candidate: 'template<class _ExecutionPolicy, class _ForwardIterator1, class _ForwardIterator2, class _ForwardIterator, class _BinaryOperation> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, _ForwardIterator2> std::transform(_ExecutionPolicy&&, _ForwardIterator1, _ForwardIterator1, _ForwardIterator2, _ForwardIterator, _BinaryOperation)'
  162 | transform(_ExecutionPolicy&& __exec, _ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2,
      | ^~~~~~~~~
/usr/include/c++/14/pstl/glue_algorithm_defs.h:162:1: note:   candidate expects 6 arguments, 4 provided
Language: C

#include <bits/stdc++.h>
using namespace std;
using  ll = long long;
#define rep(i,n) for (int i = 0; i < (n); ++i)

int main(){
  char c;
  std::cin >> c;

  if(isupper(c))std::cout << "A" << '\n';
  else std::cout << "a" << '\n';

  return 0;
}


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(){
  char s;
  sin >> s;
  if(isupper(s))
    cout << "A" << endl;
  else
    cout << "a" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: invalid operands of types '<unresolved overloaded function type>' and 'char' to binary 'operator>>'
    6 |   sin >> s;
      |   ~~~~^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
using ll=long long;
int main()
{
	ios::sync_with_stdio(false);
	cin.tie(0);
	ll t,i,j,n,a,b,c,d,k;
	char a;
	cin>>a;
	if('a'<=a and a<='z') cout<<"a\n";
	else cout<<"A\n";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: conflicting declaration 'char a'
    9 |         char a;
      |              ^
a.cc:8:20: note: previous declaration as 'll a'
    8 |         ll t,i,j,n,a,b,c,d,k;
      |                    ^
Language: C++

#include <bits/stdc++.h>
#define dbg(x) cout << #x << ": " << (x) << '\n'
#define ff first
#define ss second
#define ll long long
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;

int main() {

   ios::sync_with_stdio(false);   cin.tie(NULL);   cout.tie(NULL);

   char x;
   cin >> x;
   if (a <= x && x <= z) {
      cout << 'a' << endl;
   } else {
      cout << 'A' << endl;
   }


   return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:8: error: 'a' was not declared in this scope
   15 |    if (a <= x && x <= z) {
      |        ^
a.cc:15:23: error: 'z' was not declared in this scope
   15 |    if (a <= x && x <= z) {
      |                       ^
Language: C++

#include <bits/stdc++.h>
typedef unsigned long long int uint;
typedef long double ldb;
#define int long long
#define gcd            __gcd
#define setbits(x)     __builtin_popcountll(x)
#define zrobits(x)     __builtin_ctzll(x)
#define mod            1000000007
#define mod2           998244353
#define maxe           *max_element
#define mine           *min_element
#define inf            1e18
#define deci(x,y)      fixed<<setprecision(y)<<x
#define w(t)           int t; cin>>t; while(t--)
#define nitin          ios_base::sync_with_stdio(false); cin.tie(NULL)
using namespace std;

int power(int x, int y, int p)
{
    int res = 1;
    x = x % p;
    while (y > 0)
    {
        if (y & 1)
            res = (res * x) % p;
        y = y >> 1;
        x = (x * x) % p;
    }
    return res;
}
int modi(int a, int m)
{
    return power(a, m - 2, m);
}
int32_t main()
{
    nitin;
    char c;
    cin>>c;
    if(c>='A' && c<='Z')
        cout<<'A';
    else
        cout<<'a';
}

Compiler output:
a.cc:2:32: error: conflicting declaration 'typedef long long unsigned int uint'
    2 | typedef unsigned long long int uint;
      |                                ^~~~
In file included from /usr/include/stdlib.h:514,
                 from /usr/include/c++/14/cstdlib:79,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:42,
                 from a.cc:1:
/usr/include/x86_64-linux-gnu/sys/types.h:150:22: note: previous declaration as 'typedef unsigned int uint'
  150 | typedef unsigned int uint;
      |                      ^~~~
Language: C

#define rep(i, n) for (int i = 0; i < (n); i++)
#include <bits/stdc++.h>
using namespace std;

int main() {
    char s;
   cin >> s;

   if (isupper(s))
   {
       cout << "A" << endl;
   }
   else
   {
       cout << "a"<< endl;
   }
}

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

#include<bits/stdc++.h>
int main()
{
  char c; cin>>c;
  if(c>='A'&&c<='Z')cout<<'A'<<endl;
  else cout<<'a'<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:11: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   char c; cin>>c;
      |           ^~~
      |           std::cin
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:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:5:21: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |   if(c>='A'&&c<='Z')cout<<'A'<<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:5:32: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 |   if(c>='A'&&c<='Z')cout<<'A'<<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:6:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   else cout<<'a'<<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:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   else cout<<'a'<<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<bits/stdc++.h>
using namespace std;

///******************************** C o n t a i n e r ********************************///

typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef vector<pii> vii;
typedef vector<pll> vll;
typedef map<int,int> mii;
typedef map<ll,int> mli;

///*********************************** C o n s t ***********************************///

int const N=1e6+3;
const double PI = acos(-1);
const ll MOD 1000000007  ///1e9+7

///********************************** M a r c o ***********************************///

#define pb push_back
#define F first
#define S second
#define test int tc; cin>>tc; while(tc--)
#define forn(i,n) for(i=0;i<n;i++)
#define rforn(i,n) for(i=n-1;i>=0;i--)
#define all(a) a.begin(),a.end()
#define rall(a) a.rbegin(),a.rend()
#define sz(x) x.size()
#define el <<'\n'
#define sp <<' '
#define print(a) {for(auto x:a)cout<<x<<" ";cout<<endl;}
#define mem(a,b) memset(a, b, sizeof(a))
#define gcd(a,b) __gcd(a,b)
#define lcm(a,b) (a*(b/gcd(a,b)))
#define sqr(a) (a)*(a)

#define fastio() ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define file() freopen("input.txt","r",stdin);freopen("output.txt","w",stdout);
#define fraction() cout.unsetf(ios::floatfield); cout.precision(10); cout.setf(ios::fixed,ios::floatfield);

///*********************************** F u n c t i o n ***********************************///

ll powmod(ll a,ll b){ll p=MOD;a%=p;if(!a) return 0;ll pr=1;while(b>0){if(b&1){pr*=a;pr%=p;--b;}a*=a;a%=p;b/=2;}return pr;}
bool isPrime(ll n){ if(n<=1)return false;if(n<=3)return true;if(n%2==0 or n%3==0)return false;for(ll i=5;i*i<=n;i+=6){if(n%i==0n%(i+2)==0)return false;}return true;}

///************************************************ C o d e ************************************************///
///-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=///



void _case()
{
    char a;
    cin>>a;
    if(a>='a') cout<<'a' el;
    else cout<<'A' el;
    
}

main()
{
///    test
///    while(1)
        _case();
        
}


///Thank you.


///Brainless_Loco Terminates Here!

Compiler output:
a.cc:20:14: error: expected initializer before numeric constant
   20 | const ll MOD 1000000007  ///1e9+7
      |              ^~~~~~~~~~
a.cc: In function 'bool isPrime(ll)':
a.cc:48:127: error: unable to find numeric literal operator 'operator""n'
   48 | bool isPrime(ll n){ if(n<=1)return false;if(n<=3)return true;if(n%2==0 or n%3==0)return false;for(ll i=5;i*i<=n;i+=6){if(n%i==0n%(i+2)==0)return false;}return true;}
      |                                                                                                                               ^~
a.cc: At global scope:
a.cc:64:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   64 | main()
      | ^~~~
Language: C++

# coding: utf-8
# Your code here!

s=input()
if(s.lower()==s):
    print("a")
else:
    print("A")

Compiler output:
a.cc:1:3: error: invalid preprocessing directive #coding
    1 | # coding: utf-8
      |   ^~~~~~
a.cc:2:3: error: invalid preprocessing directive #Your
    2 | # Your code here!
      |   ^~~~
a.cc:4:1: error: 's' does not name a type
    4 | s=input()
      | ^
Language: C++

#include<bits/stdc++>h>
using namespace std;
int main(){
    char ch;
    cin>>ch;
    if(isupper(ch)){cout<<"A";}
    else{cout<<"a";}
    return 0;
}

Compiler output:
a.cc:1:23: warning: extra tokens at end of #include directive
    1 | #include<bits/stdc++>h>
      |                       ^
a.cc:1:9: fatal error: bits/stdc++>: No such file or directory
    1 | #include<bits/stdc++>h>
      |         ^~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
char x;
  cin>>x;
  if(x>=a)cout<<"a";
  else cout<<"A";

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'a' was not declared in this scope
    6 |   if(x>=a)cout<<"a";
      |         ^
a.cc:7:18: error: expected '}' at end of input
    7 |   else cout<<"A";
      |                  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C


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

#define ll                 long long
#define ull                unsigned long long
#define ld                 long double
#define fastio             ios_base::sync_with_stdio(false);cin.tie(NULL);
#define NO                 cout << "NO" << endl
#define YES                cout << "YES" << endl
#define vec                vector<ll>
#define pi                 pair<ll, ll>
#define intarr(arr, n)     ll arr[n]; for (ll i = 0; i < n; i++) cin >> arr[i]
#define intvec(v, n)       for (ll i = 0; i < n; i++) { ll x;cin >> x; v.pb(x);}
#define loop(i, a, b, c)   for (ll i = a; i < b; i += c)
#define pb                 push_back
#define mkp                make_pair
#define print(a, n, m)     for (ll i = n; i < m; i++) {  cout << a[i] << " "; }  cout << endl
#define endl               "\n"
#define mod2               998244353
#define mod                1000000007
#define mem(dp, a)         memset(dp, a, sizeof(dp));
#define all(v)             v.begin(), v.end()
#define ump                unordered_map<ll, ll>
#define ff                 first
#define ss                 second
#define PI                 3.14159265358979
#define minh               priority_queue<ll>
#define maxh               priority_queue<ll,vector<ll>,greater<ll>>
#define flush              cout<<flush


ll Ceil(ll a, ll b)
{
  if (a % b == 0)
    return a / b;
  else
    return a / b + 1;
}

ll gcd(ll a, ll b)
{
  if (b == 0)
    return a;
  return gcd(b, a % b);
}

ll inv(ll a)
{
  ll p = mod;
  ll b = p - 2, ans = 1;
  for (; b > 0; a = a * a % p, b >>= 1)
    if (b & 1)
      ans = ans * a % p;
  return ans;
}

ll ncrmod(ll n, ll m)
{
  ll p = mod;
  if (m > n)
    return 0;
  ll up = 1, down = 1;
  for (ll i = n - m + 1; i < n + 1; i++)
    up *= i, up %= p;
  for (ll i = 1; i < m + 1; i++)
    down *= i, down %= p;
  return up * inv(down) % p;
}

ll powmod(ll a, ll n)
{
  if (!n)
    return 1;
  ll pt = powmod(a, n / 2);
  pt *= pt, pt %= mod;
  if (n & 1)
    pt *= a, pt %= mod;
  return pt;
}

// void factorize(long long int n)
// {
//   ll count = 0;

//   while (!(n % 2)) {
//     n >>= 1;
//     count++;
//   }

//   if (count)
//   {
//     sum2 += count;
//   }

//   for (long long i = 3; i <= sqrt(n); i += 2) {
//     count = 0;
//     while (n % i == 0) {
//       count++;
//       n = n / i;
//     }
//     if (count)
//     {
//       if (i & 1)sum += count;
//     }
//   }
//   if (n > 2)
//   {
//     sum++;
//   }
// }

void solve()
{
  char a;
  cin >> a;
  if (a >= 'a' and a <= 'z') cout << 'a';
  else cout << 'A';
}
int main()
{
#ifndef ONLINE_JUDGE
  freopen("input.txt", "r", stdin);
  freopen("output.txt", "w", stdout);
#endif

  fastio;
  ll t;
  t = 1;
  //cin >> t;
  while (t--)
  {
    solve();
  }

  cerr << "\nTime elapsed: " << 1000 * clock() / CLOCKS_PER_SEC << "ms\n";

  return 0;
}

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

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

using namespace std;
using ll = long long;
ll gcd(ll a, ll b);
int main(){
cin.tie(0);
char a;
 cin a;
 if(isupper(a))cout<<"A";
 else cout << "a";
  

return 0;
}






ll gcd(ll a, ll b){

   if (a%b == 0)
   {
       return(b);
   }
   else
   {
       return(gcd(b, a%b));
   }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:5: error: expected ';' before 'a'
   12 |  cin a;
      |     ^~
      |     ;
Language: Java

import java.io.*;
import java.util.*;

public class A {
    public static void main(String[] args) throws Exception {
        BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();
        char ch = buffer.readLine().charAt(0);
        if (Character.isUpperCase(ch))
            sb.append("A\n");
        else
            sb.append("a\n");
        System.out.println(sb);
    }
}


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

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

typedef long long int ll;
typedef string str;

int main ()
{
	// ios::sync_with_stdio(0);
 //    cin.tie(0);
 //    cout.tie(0);
	ll t,n,m,k,i,a,b,j;
	char x;
	cin >> x;
	if(x>='A' && x<='Z')
		cout << "A\n";
	else
		cout << "a\n"
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:30: error: expected ';' before 'return'
   18 |                 cout << "a\n"
      |                              ^
      |                              ;
   19 |         return 0;
      |         ~~~~~~
Language: C++


#include<bits/stdc++.h>

using namespace std;
 
#define  fastio         ios:: sync_with_stdio(0);cin.tie(0);cout.tie(0);cout<<fixed;cout<<setprecision(10);
#define  f              first                 
#define  s              second
#define  endl           "\n"
#define  pb             push_back  
#define  mset(a,x)      memset(a,x,sizeof(a))
#define  debv(a)        for(auto it: a)cout<<it<<" ";cout<<endl;
#define  deb1(a)        cout<<a<<endl;
#define  deb2(a,b)      cout<<a<<" "<<b<<endl;
#define  deb3(a,b,c)    cout<<a<<" "<<b<<" "<<c<<endl;
#define  deb4(a,b,c,d)  cout<<a<<" "<<b<<" "<<c<<" "<<d<<endl;            
          
 
typedef  long long             ll;
typedef  long double           ld;
typedef  pair<ll,ll>           pll;
typedef  vector<ll>            vll;
typedef  unordered_map<ll,ll>  um;
typedef  vector<pll>           vpll;
 
const ll   N     =  5e5+5;
const ll   mod   =  998244353;
const ll   INF   =  1e18;
const int  INFi  =  0x7f7f7f7f;

ll test = 1, n;
char s;

void solve(){
    cin>>s;
    if(a <= s and s <= z) cout<<"a"<<endl;
    else cout<<"A"<<endl;
}

int main(){
    fastio;
    //cin>>test;
    for(int i = 1; i <= test; i++){
        solve();
    }

}

Compiler output:
a.cc: In function 'void solve()':
a.cc:36:8: error: 'a' was not declared in this scope
   36 |     if(a <= s and s <= z) cout<<"a"<<endl;
      |        ^
a.cc:36:24: error: 'z' was not declared in this scope
   36 |     if(a <= s and s <= z) cout<<"a"<<endl;
      |                        ^
Language: C++

#include <bits/stdc++.h>
#define tt long t;cin>>t;while(t--)
#define tez ios_base::sync_with_stdio(false); cin.tie(NULL);
#define lli long long int
#define plli pair<lli,lli>
#define vlli vector<lli>
#define vplli vector<plli>
#define pqlli priority_queue <lli>
#define pqplli priority_queue <plli>
#define mplli map<lli,lli>
#define all(v) v.begin(),v.end()
#define alll(s) s.begin(),s.end(),s.begin(), ::tolower
#define allu(s) s.begin(),s.end(),s.begin(), ::toupper

#define mod 1000000007
#define ff first
#define ss second
#define fori(i,a,b)    for(int i=a;i<b;i++)
#define ford(i,a,b)    for(int i=a;i>=b;i--)
#define br cout<<endl
#define sz(v) (long)v.size()
#define YS cout<<"YES"<<endl
#define ys cout<<"yes"<<endl
#define Ys cout<<"Yes"<<endl
#define NO cout<<"NO"<<endl
#define No cout<<"No"<<endl
#define no cout<<"no"<<endl
#define lb lower_bound
#define ub upper_bound
#define pb push_back
#define bs binary_search
#define mp make_pair
#define llmn LLONG_MIN
#define llmx  LLONG_MAX
#define stp setprecision
#define fxd fixed
#define tu (char)toupper
#define tl (char)tolower
#define coutv(v) for(lli index=0;index<v.size();index++) {cout<<v[index]<<" ";} br;

using namespace std;

/*
lli count01(string s,char ch){
  lli mx=0,c=0;
  if(ch=='0'){

   fori(i,0,sz(s)){
     if(s[i]=='0'){
        c++;}
     else{
        c=0;}
        if(c>mx){mx=c;}

   }

  }
  else{

    fori(i,0,sz(s)){
     if(s[i]=='1'){
        c++;}
     else{
        c=0;}
        if(c>mx){mx=c;}

    }

  }
return mx;

}*/
/*
vector<lli> prime(lli n){
  bool a[n+1];
  memset(a,true,sizeof(a));
  for(lli i=2;i*i<=n;i++){
    if(a[i]){
      for(lli j=i*i;j<=n;j+=i)
      {  a[j]=false;}
    }
  }
  vector<lli>v;
  for(lli i=2;i<=n;i++){
    if(a[i]){
      v.pb(i);
    }
  }
  return v;
}

*/
void solve(){
    lli n=0,m;
    string s,ss;
    vlli v,vv;
    for(lli i=0;i<n;i++){

    }
    char ch;
    cin>>ch;
    if(isupper(c)){
        cout<<'A';br;
    }else{
        cout<<'a';br;
    }



}

int main(){
tez
    solve();
return 0;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:102:16: error: 'c' was not declared in this scope; did you mean 'ch'?
  102 |     if(isupper(c)){
      |                ^
      |                ch
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define repr(i, a, b) for (int i = a; i < b; i++)
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
#define mod 1000000007

ll gcd(ll x,ll y) {return y ? gcd(y,x%y) : x;} 
ll lcm(ll x,ll y) {return x/gcd(x,y)*y;}

int main(){
    char c;
    cin >> c;
    if(isupper(c)) cout << 'A' << endl;
    else cout << 'a' << endl;AC

    return 0;
}











Compiler output:
a.cc: In function 'int main()':
a.cc:15:30: error: 'AC' was not declared in this scope
   15 |     else cout << 'a' << endl;AC
      |                              ^~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int,int>;
 
int main() {
  int a;
  cin >> a;
  
  if (isupper(s))
   {
       cout << "A" << endl;
   }
   else
   {
       cout << "a" << endl;
   }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:15: error: 's' was not declared in this scope
   11 |   if (isupper(s))
      |               ^
Language: C++

#include <bits/stdc++.h>
#define dbg(x) cout << #x << ": " << (x) << '\n'
#define ff first
#define ss second
#define ll long long
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;

int main() {
#ifndef ONLINE_JUDGE
   freopen("inp.txt", "r", stdin);      freopen("outp.txt", "w", stdout);
#endif
   ios::sync_with_stdio(false);   cin.tie(NULL);   cout.tie(NULL);

   char x;
   cin >> x;
   if (a <= x && x <= z) {
      cout << 'a' << endl;
   } else {
      cout << 'A' << endl;
   }


   return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:8: error: 'a' was not declared in this scope
   17 |    if (a <= x && x <= z) {
      |        ^
a.cc:17:23: error: 'z' was not declared in this scope
   17 |    if (a <= x && x <= z) {
      |                       ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
using ll=long long;
int main()
{
	ios::sync_with_stdio(false);
	cin.tie(0);
	ll t,i,j,n,a,b,c,d,k;
	char a;
	cin>>a;
	if('a'<=a and a<='z') cout<<"a\n"
	else cout<<"A\n"
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: conflicting declaration 'char a'
    9 |         char a;
      |              ^
a.cc:8:20: note: previous declaration as 'll a'
    8 |         ll t,i,j,n,a,b,c,d,k;
      |                    ^
a.cc:11:42: error: expected ';' before 'else'
   11 |         if('a'<=a and a<='z') cout<<"a\n"
      |                                          ^
      |                                          ;
   12 |         else cout<<"A\n"
      |         ~~~~
Language: C

#include "bits/stdc++.h"
using namespace std;
#define Rep(i, n) for (int i = 0; i < (int)(n); i++)
#define BitRep(i, n) for (int i = 0; i < (int)(1 << n); i++)
#define All(vec) vec.begin(), vec.end()
#define Sum(vec) accumulate(vec.begin(), vec.end(), 0)
#define Sort(vec) sort(vec.begin(), vec.end())
#define Reverse(vec) reverse(vec.begin(), vec.end())
#define Next_permutation(vec) next_permutation(vec.begin(), vec.end())
#define PI acos(-1)

int main() {
    char a;
    cin >> a;
    if ('a' <= a && a <= 'z') cout << "a" << endl;
    else cout << "A" << endl;
    return 0;
}

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() {
    char a;
    cin >> a;
    if(a>='a')
        cout << "a\n";
    else
        cout << "A\n";
}

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 <stdio.h>
int main(void){
    // Your code here!
    cahr c;
    
    scanf("%c",&c);
    
    if(c >= 'A' && c <= 'Z'){
        printf("A\n");
    }
    else{
        printf("a\n");
    }
}

Compiler output:
main.c: In function 'main':
main.c:4:5: error: unknown type name 'cahr'; did you mean 'char'?
    4 |     cahr c;
      |     ^~~~
      |     char
Language: C++

#include<bits/stdc++.h>
#define ll long long int
#define pb push_back
#define mod 1000000007
#define pi (3.141592653589)
#define deb(n) cerr << #n << " = " << (n) << " ";
using namespace std;

int main() {
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	cout.tie(NULL);
	cout << fixed;
	cout.precision(10);
	
	char c;
	cin >> c;
	if(islower(c))
	{
		c = toupper(c);
	}
	else
	{
		c = tolower(c);
	}
	cout << c;a

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:26:19: error: 'a' was not declared in this scope
   26 |         cout << c;a
      |                   ^
Language: C++

#include <string>
#include <iostream>
#include <vector>
#include <string>
#include <utility>
#include <algorithm>
#include <math.h>
 
using namespace std;
int main() {
	cin.tie(0);
   	ios::sync_with_stdio(false);
 
	string x;
	cin >> x;
    if (isupper(x))
   {
       cout << "A" << endl;
   }
   else
   {
       cout << "a" << endl;
   }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:16: error: no matching function for call to 'isupper(std::string&)'
   16 |     if (isupper(x))
      |         ~~~~~~~^~~
In file included from /usr/include/c++/14/bits/basic_ios.h:37,
                 from /usr/include/c++/14/ios:46,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:2:
/usr/include/c++/14/bits/locale_facets.h:2631:5: note: candidate: 'template<class _CharT> bool std::isupper(_CharT, const locale&)'
 2631 |     isupper(_CharT __c, const locale& __loc)
      |     ^~~~~~~
/usr/include/c++/14/bits/locale_facets.h:2631:5: note:   candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/14/cctype:42,
                 from /usr/include/c++/14/bits/localefwd.h:42,
                 from /usr/include/c++/14/string:45,
                 from a.cc:1:
/usr/include/ctype.h:117:1: note: candidate: 'int isupper(int)'
  117 | __exctype (isupper);
      | ^~~~~~~~~
/usr/include/ctype.h:117:1: note:   no known conversion for argument 1 from 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'int'
  117 | __exctype (isupper);
      | ^~~~~~~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define rep1(i,n) for (int i = 1; i <= (n); ++i)

using namespace std;
using ll = long long;
using P = pair<int,int>;
using ull= unsigned long long;
const ll K_MAX=1e5+5;
const int INF=1e9;


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

  if(usupper(a)){
    cout<<"A"<<endl;
  }else{
    cout<<"a"<<endl;
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:6: error: 'usupper' was not declared in this scope; did you mean 'isupper'?
   17 |   if(usupper(a)){
      |      ^~~~~~~
      |      isupper
Language: C++

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

#define lli long long int
#define mpr make_pair
#define pr pair<lli,lli>
#define pb push_back
#define vl vector<lli>
#define mp map<lli,lli>
#define all(x) x.begin(),x.end()
#define FOR(i,n) for(lli i=0;i<(lli)n;i++)
#define FOR1(i,j,n) for(lli i=j;i<(lli)n;i++)
#define mod 1000000007

lli power(lli x,lli n,lli m)
{
	lli res=1;
	while(n>0)
	{
		if(n&1) res=(res*x)%m;
		x=(x*x)%m;
		n=n>>1;
	}
	return res;
}

int main()
{
	ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
    char ch;
    cin>>ch;
    if(ch>='A'&&ch<='Z')
    cout<<"A\n";
    else
    cour<<"a\n";
	
	
	
	
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:37:5: error: 'cour' was not declared in this scope
   37 |     cour<<"a\n";
      |     ^~~~
Language: C++

//#pragma GCC optimize("03,unroll-loops")
//#pragma GCC target("avx,avx2,fma")

#include<bits/stdc++.h>
typedef long long ll;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define ordered_set tree<int, null_type,less_equal<int>, rb_tree_tag,tree_order_statistics_node_update>
#define pb           push_back
#define ff           first
#define ss           second
#define gcd(a, b)    __gcd(a, b)
#define lcm(a, b)    ((a)*((b)/gcd(a,b)))
#define all(v)       v.begin(),v.end()
#define lllim        2147483648
#define Pi           2*acos(0.0)
#define sci(n)	     scanf("%d",&n)
#define scii(n,m)    scanf("%d%d",&n,&m)
#define scl(n)       scanf("%lld",&n)
#define scll(n,m)    scanf("%lld%lld",&n,&m)
#define pii          pair<int,int>
#define pll 	     pair<ll,ll>
#define mem(a,b)     memset(a, b, sizeof(a))
#define fill_(a,b)   fill(a,a+n,b);
#define MOD          1000000007
#define fast_cin     ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
#define filein       freopen("input.txt","r", stdin)
#define D(x)         cerr << __LINE__ << ": " << #x << " = " << (x) << '\n'
#define case		 int t,cas=1;cin>>t;while(t--)
#define rep(i,a,n)   for(int i=a;i<n;i++)
#define rev(i,n,a)   for(int i=n;i>=a;i--)

/*------------------------------Graph Moves----------------------------*/
//const int fx[]= {+1,-1,+0,+0};
//const int fy[]= {+0,+0,+1,-1};
//const int fx[]= {+0,+0,+1,-1,-1,+1,-1,+1};  // Kings Move
//const int fy[]= {-1,+1,+0,+0,+1,+1,-1,-1}; // Kings Move
//const int fx[]={-2, -2, -1, -1,  1,  1,  2,  2};  // Knights Move
//const int fy[]={-1,  1, -2,  2, -2,  2, -1,  1}; // Knights Move
/*---------------------------------------------------------------------*/

template<class T> void ckmin(T& a, const T& b) {
    a= b < a? b:a;
}
template<class T> void ckmax(T& a, const T& b) {
    a= b > a? b:a;
}



template<class T> void read(T& a) {
    std::cin>>a;
}
template<class T> void read(T& a,const int sidx, const int eidx) {
    for(int i=sidx; i<eidx; i++)
        std::cin>>a[i];
}



using namespace std;
using namespace __gnu_pbds;

const int maxn=100005;


vector<int>pr;
bool mark[maxn];

void si()
{
    mem(mark,0);
    for(int i=4; i<maxn; i+=2) mark[i]=1;
    for(int i=3; i*i<maxn; i+=2)
    {
        if(!mark[i])
            for(int j=i*i; j<maxn; j+=2*i)
                mark[j]=1;
    }

    pr.pb(2);
    for(int i=3; i<maxn; i+=2)
        if(!mark[i])
            pr.pb(i);
}


void solve()
{
    char a;
    cin>>a;
    if(a>='A' && a<='Z')
		cout<<'A'<<endl;
	else
	cout<<'a'<<endl;
	
}


int main()
{
    fast_cin;
    // si();

    //while(scanf("%d",&n)!=EOF)
//case
    {
		cas=cas;
        //cout<<""<<cas++<<""<<endl;
        solve();
    }

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:108:17: error: 'cas' was not declared in this scope; did you mean 'cos'?
  108 |                 cas=cas;
      |                 ^~~
      |                 cos
Language: C++

Problem Statement
An uppercase or lowercase English letter 
α
 will be given as input. If 
α
 is uppercase, print A; if it is lowercase, print a.

Constraints
α
 is an uppercase (A - Z) or lowercase (a - z) English letter.
Input
Input is given from Standard Input in the following format:

α

Output
If 
α
 is uppercase, print A; if it is lowercase, print a.

Sample Input 1 
Copy
B
Sample Output 1 
Copy
A
B is uppercase, so we should print A.

Sample Input 2 
Copy
a
Sample Output 2 
Copy
a
a is lowercase, so we should print a.



Compiler output:
a.cc:1:1: error: 'Problem' does not name a type
    1 | Problem Statement
      | ^~~~~~~
a.cc:6:25: error: expected unqualified-id before 'if'
    6 |  is uppercase, print A; if it is lowercase, print a.
      |                         ^~
a.cc:19:25: error: expected unqualified-id before 'if'
   19 |  is uppercase, print A; if it is lowercase, print a.
      |                         ^~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main(){
	//~ freopen("input.txt", "r", stdin);
	//~ freopen("output.txt", "w", stdout);
	char s[2];
	scanf("%s", s);
	if (s[0] >= 'A' && s[i] <= 'Z')
		printf("A\n");
	else 
		printf("a\n");
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:30: error: 'i' was not declared in this scope
   10 |         if (s[0] >= 'A' && s[i] <= 'Z')
      |                              ^