Language: C++

¥#include "bits/stdc++.h"
using namespace std;
using ll = long long;
using ld = long double;
#define int ll
#define double ld
using pint = pair<int,int>;
using Graph = vector<vector<int>>;
void YN(bool flg) {cout<<(flg?"YES":"NO")<<'\n';}
void Yn(bool flg) {cout<<(flg?"Yes":"No")<<'\n';}
void yn(bool flg) {cout<<(flg?"yes":"no")<<'\n';}
#define SORT(a) sort(a.begin(),a.end())
#define REVERSE(a) reverse(a.begin(),a.end())
#define REP(i, n) for(int i = 0; i < n; i++)
#define REPR(i, n) for(int i = n; i >= 0; i--)
#define FOR(i, m, n) for(int i = m; i < n; i++)
#define out(n) cout << n << '\n'
typedef vector<int> VI;
typedef vector<string> VS;
typedef vector<bool> VB;
typedef vector<VI> VVI;
const int MOD = 1000000007;
const int INF = 1LL<<60;
const double PI = acos(-1.0L);
const int dx[4] = {1, 0, -1, 0} , dy[4] = {0, 1, 0, -1};
long long modinv(long long a, long long m) {long long b = m, u = 1, v = 0;while (b) {long long t = a / b;a -= t * b; swap(a, b);u -= t * v; swap(u, v);}u %= m;if (u < 0) u += m;return u;}
template< typename T >T mod_pow(T x, T n, T p=MOD) {T ret = 1;while(n > 0) {if(n & 1) (ret *= x) %= p;(x *= x) %= p;n >>= 1;}return ret;}
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
template<class T>auto MAX(const T& a) { return *max_element(a.begin(),a.end()); }
template<class T>auto MIN(const T& a) { return *min_element(a.begin(),a.end()); }
template<class T> auto SUM(const T& a) { return accumulate(a.begin(),a.end(), 0); }
template<class T, class U>U COUNT(const T& a, const U& v) { return count(a.begin(),a.end(), v); }
template<class T, class U>int LOWER(const T& a, const U& v) { return lower_bound(a.begin(),a.end(), v) - a.begin(); }
template<class T, class U>int UPPER(const T& a, const U& v) { return upper_bound(a.begin(),a.end(), v) - a.begin(); }
int GCD(int a, int b) { return b ? GCD(b, a%b) : a; }
int LCM(int a, int b) { int g = GCD(a, b); return a / g * b; }
int POW(int a, int n) { int r = 1; while (n > 0) { if (n & 1)r *= a; a *= a; n >>= 1; } return r; }
int isPrime(int n){if(n<2){return 0;}for(int i=2; i*i<=n; i++){if(n%i==0){return 0;}}return 1;}
bool isSquare(ll n) {ll d = (ll)sqrt(n) - 1; while (d * d < n) ++d; return d * d == n;}
/*素因数分解*/map< int, int >prime_factor(int n){map< int, int > ret;for(int i = 2; i * i <= n; i++) {while(n % i == 0) {ret[i]++;n /= i;}}if(n != 1) ret[n] = 1;return ret;}
/*約数列挙*/vector<int> divisor(int n){vector<int> v; for(int i=1; i*i<=n; i++){if(n%i==0){v.push_back(i);if(i!=n/i){v.push_back(n/i);}}}sort(v.begin(),v.end()); return v;}
//----------------ライブラリとか----------------

signed main(){
    cin.tie(0);
    ios::sync_with_stdio(0);
    cout<<fixed<<setprecision(15);
    srand((unsigned)time(NULL));

    bool ok = 1;
    char a,b; cin >> a;
    REP(i,3){
        cin >> b;
        if(a==b) ok = 0;
        a = b;
    }
    if(ok) out("Good"); else out("Bad");

    return 0;
}


Compiler output:
a.cc:1:1: error: extended character ¥ is not valid in an identifier
    1 | ¥#include "bits/stdc++.h"
      | ^
a.cc:1:2: error: stray '#' in program
    1 | ¥#include "bits/stdc++.h"
      |  ^
a.cc:1:1: error: '\U000000a5' does not name a type
    1 | ¥#include "bits/stdc++.h"
      | ^
a.cc:7:14: error: 'pair' does not name a type
    7 | using pint = pair<int,int>;
      |              ^~~~
a.cc:8:15: error: 'vector' does not name a type
    8 | using Graph = vector<vector<int>>;
      |               ^~~~~~
a.cc: In function 'void YN(bool)':
a.cc:9:20: error: 'cout' was not declared in this scope; did you mean 'out'?
    9 | void YN(bool flg) {cout<<(flg?"YES":"NO")<<'\n';}
      |                    ^~~~
      |                    out
a.cc: In function 'void Yn(bool)':
a.cc:10:20: error: 'cout' was not declared in this scope; did you mean 'out'?
   10 | void Yn(bool flg) {cout<<(flg?"Yes":"No")<<'\n';}
      |                    ^~~~
      |                    out
a.cc: In function 'void yn(bool)':
a.cc:11:20: error: 'cout' was not declared in this scope; did you mean 'out'?
   11 | void yn(bool flg) {cout<<(flg?"yes":"no")<<'\n';}
      |                    ^~~~
      |                    out
a.cc: At global scope:
a.cc:18:9: error: 'vector' does not name a type
   18 | typedef vector<int> VI;
      |         ^~~~~~
a.cc:19:9: error: 'vector' does not name a type
   19 | typedef vector<string> VS;
      |         ^~~~~~
a.cc:20:9: error: 'vector' does not name a type
   20 | typedef vector<bool> VB;
      |         ^~~~~~
a.cc:21:9: error: 'vector' does not name a type
   21 | typedef vector<VI> VVI;
      |         ^~~~~~
a.cc:24:19: error: 'acos' was not declared in this scope
   24 | const double PI = acos(-1.0L);
      |                   ^~~~
a.cc: In function 'long long int modinv(long long int, long long int)':
a.cc:26:118: error: 'swap' was not declared in this scope
   26 | long long modinv(long long a, long long m) {long long b = m, u = 1, v = 0;while (b) {long long t = a / b;a -= t * b; swap(a, b);u -= t * v; swap(u, v);}u %= m;if (u < 0) u += m;return u;}
      |                                                                                                                      ^~~~
a.cc: In function 'bool isSquare(ll)':
a.cc:40:33: error: 'sqrt' was not declared in this scope
   40 | bool isSquare(ll n) {ll d = (ll)sqrt(n) - 1; while (d * d < n) ++d; return d * d == n;}
      |                                 ^~~~
a.cc: At global scope:
a.cc:41:15: error: 'map' does not name a type
   41 | /*素因数分解*/map< int, int >prime_factor(int n){map< int, int > ret;for(int i = 2; i * i <= n; i++) {while(n % i == 0) {ret[i]++;n /= i;}}if(n != 1) ret[n] = 1;return ret;}
      |               ^~~
a.cc:42:13: error: 'vector' does not name a type
   42 | /*約数列挙*/vector<int> divisor(int n){vector<int> v; for(int i=1; i*i<=n; i++){if(n%i==0){v.push_back(i);if(i!=n/i){v.push_back(n/i);}}}sort(v.begin(),v.end()); return v;}
      |             ^~~~~~
a.cc: In function 'int main()':
a.cc:46:5: error: 'cin' was not declared in this scope
   46 |     cin.tie(0);
      |     ^~~
a.cc:47:5: error: 'ios' has not been declared
   47 |     ios::sync_with_stdio(0);
      |     ^~~
a.cc:48:5: error: 'cout' was not declared in this scope; did you mean 'out'?
   48 |     cout<<fixed<<setprecision(15);
      |     ^~~~
      |     out
a.cc:48:11: error: 'fixed' was not declared in this scope
   48 |     cout<<fixed<<setprecision(15);
      |           ^~~~~
a.cc:48:18: error: 'setprecision' was not declared in this scope
   48 |     cout<<fixed<<setprecision(15);
      |                  ^~~~~~~~~~~~
a.cc:49:26: error: 'NULL' was not declared in this scope
   49 |     srand((unsigned)time(NULL));
      |                          ^~~~
a.cc:1:1: note: 'NULL' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
  +++ |+#include <cstddef>
    1 | ¥#include "bits/stdc++.h"
a.cc:49:21: error: 'time' was not declared in this scope
   49 |     srand((unsigned)time(NULL));
      |                     ^~~~
a.cc:1:1: note: 'time' is defined in header '<ctime>'; this is probably fixable by adding '#include <ctime>'
  +++ |+#include <ctime>
    1 | ¥#include "bits/stdc++.h"
a.cc:49:5: error: 'srand' was not declared in this scope
   49 |     srand((unsigned)time(NULL));
      |     ^~~~~