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

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

int main() {
  int N;
  string A;
  
  cin >> N;

  for( i = 0; i < N; i++){
    cin >> A;
        
    if( i < N && A != "Y"){

      continue;
    } 
    
    else if( i+1 == N && A != "Y"){
      cout << "Three" << endl;
    } 
    
    else {
      cout << "Four" << endl;
      break;
    }
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: 'i' was not declared in this scope
   10 |   for( i = 0; i < N; i++){
      |        ^
Language: C++

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

int main() {
  int N;
  string A;
  
  cin >> N;

  for( i = 0; i < N; i++){
    cin >> A;
        
    if( i < N && != "Y"){

      continue;
    } 
    
    else if( i+1 == N && != "Y"){
      cout << "Three" << endl;
    } 
    
    else {
      cout << "Four" << endl;
      break;
    }
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: 'i' was not declared in this scope
   10 |   for( i = 0; i < N; i++){
      |        ^
a.cc:13:18: error: expected primary-expression before '!=' token
   13 |     if( i < N && != "Y"){
      |                  ^~
a.cc:18:26: error: expected primary-expression before '!=' token
   18 |     else if( i+1 == N && != "Y"){
      |                          ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  cin >> N;
  for(int i=0;i<N;i++){
    string S;
    cin>>S;
    if(S=="Y"){cout<<"Four"<<endl;
    return 0;}}
    
    cout<<"Three"<<endl;
    
    
    return 0;
  

Compiler output:
a.cc: In function 'int main()':
a.cc:16:14: error: expected '}' at end of input
   16 |     return 0;
      |              ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  cin >> N;
  for(int i=0;i<N;i++){{
    string S;
    cin>>S;
    if(S=="Y"){cout<<"Four"<<endl;}
    return 0;}
    
    {cout<<"Three"<<endl;}
    
    
    return 0;
  }
    
 
  // ここにプログラムを追記


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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  cin >> N;
  for(int i=0;i<N;i++){
    string S;
    cin>>S;
    if(S=="Y"){cout<<"Four"<<endl;}
    return 0;
    
    else{cout<<"Three"<<endl;}
    
    
    return 0;
  }
    
 
  // ここにプログラムを追記
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: 'else' without a previous 'if'
   13 |     else{cout<<"Three"<<endl;}
      |     ^~~~
Language: C++

#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>

#include <algorithm>
#include <bitset>
#include <cmath>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
typedef long long ll;

#define fi first
#define se second
#define rep(i, n) for (ll i = 0; i < n; i++)
#define debugA cerr << "AAAAA" << endl
#define debug_ cerr << "-------------" << endl
#define debug(x) cerr << #x << ": " << x << endl
#define debug_vec(v)                   \
    cout << #v << endl;                \
    for (int i = 0; i < v.size(); i++) \
    {                                  \
        cout << v[i] << " ";           \
    }                                  \
    cout << endl;
#define debug_vec2(v)                         \
    cout << #v << endl;                       \
    for (int i = 0; i < v.size(); i++)        \
    {                                         \
        for (int j = 0; j < v[i].size(); j++) \
        {                                     \
            cout << v[i][j] << " ";           \
        }                                     \
        cout << endl;                         \
    }

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

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

template <typename T>
void quit(T a)
{
    cout << a << endl;
    exit(0);
}

using Graph = vector<vector<int>>;
using P = pair<int, int>;
using P1 = pair<int, pair<int, int>>; // クラスカル法とかで、{cost, {from,
                                      // to}}的に使う。
const ll LINF = 10010020030040056ll;
const int INF = 1001001001;
const double pi = acos(-1);

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

vector<pair<ll, ll>> prime_factor(ll N)
{
    vector<pair<ll, ll>> res;
    for (ll a = 2; a * a <= N; ++a)
    {
        if (N % a != 0)
            continue;
        ll ex = 0; // 指数

        // 割れる限り割り続ける
        while (N % a == 0)
        {
            ++ex;
            N /= a;
        }

        // その結果を push
        res.push_back({a, ex});
    }

    // 最後に残った数について
    if (N != 1)
        res.push_back({N, 1});
    return res;
}

void solve()
{
    int n;
    cin >> n;
    for(int i=0;i<n;i++){
        char c;
        cin >> c;
        if(c == 'Y'){
            cout << "Four" << endl;
            return 0;
        }
    }
    cout << "Three" << endl;
}

int main()
{
    ios::sync_with_stdio(false);
    cin.tie(0);
    cout << fixed << setprecision(20);

    solve();
    return 0;
}


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

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

int main(){
  int N;
  string s;
  bool x=false;
  cin>>N;
  for(int i=0;i<N;i++){
    cin>>s[i];
    if (s[i]=='Y'){
      x=true;
      brreak;
    }
  }
  if(x)
    cout<<"Four"<<endl;
  else
    cout<<"Three"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:7: error: 'brreak' was not declared in this scope
   13 |       brreak;
      |       ^~~~~~
Language: C++

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

int main(){
  int N;
  cin >> N;
  string S;
  bool flaf;
  for(int i = 0; i < N; i++){
    cin >> S;
    if(S == Y){
      flag = true;
    }
  }
  if(flag){
    cout << "Four" << endl;
  }
  else{
    cout << "Three" << endl;
  }
}  

Compiler output:
a.cc: In function 'int main()':
a.cc:11:13: error: 'Y' was not declared in this scope
   11 |     if(S == Y){
      |             ^
a.cc:12:7: error: 'flag' was not declared in this scope; did you mean 'flaf'?
   12 |       flag = true;
      |       ^~~~
      |       flaf
a.cc:15:6: error: 'flag' was not declared in this scope; did you mean 'flaf'?
   15 |   if(flag){
      |      ^~~~
      |      flaf
Language: C++

int main() {
  int N, i;
  cin >> N;
  tray=string[N];
  for (i = 0; i < N; i++){
    cin >> tray[i];
  }
  for (i = 0; i < N; i++){
    if (tray[i] =="Y") {
      cout << "Four" << endl;
      break;
    }
  }
  if (i==N) {
    cout << "Three" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> N;
      |   ^~~
a.cc:4:3: error: 'tray' was not declared in this scope
    4 |   tray=string[N];
      |   ^~~~
a.cc:4:8: error: 'string' was not declared in this scope
    4 |   tray=string[N];
      |        ^~~~~~
a.cc:10:7: error: 'cout' was not declared in this scope
   10 |       cout << "Four" << endl;
      |       ^~~~
a.cc:10:25: error: 'endl' was not declared in this scope
   10 |       cout << "Four" << endl;
      |                         ^~~~
a.cc:15:5: error: 'cout' was not declared in this scope
   15 |     cout << "Three" << endl;
      |     ^~~~
a.cc:15:24: error: 'endl' was not declared in this scope
   15 |     cout << "Three" << endl;
      |                        ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N i;
  cin >> N;
  tray=string[N];
  for (i = 0; i < N; i++){
    if (tray[i] =="Y") {
      cout << "Four" << endl;
      break;
    }
  }
  if (i==N) {
    cout << "Three" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'i'
    5 |   int N i;
      |         ^
a.cc:6:10: error: 'N' was not declared in this scope
    6 |   cin >> N;
      |          ^
a.cc:7:3: error: 'tray' was not declared in this scope
    7 |   tray=string[N];
      |   ^~~~
a.cc:7:14: error: expected primary-expression before '[' token
    7 |   tray=string[N];
      |              ^
a.cc:8:8: error: 'i' was not declared in this scope
    8 |   for (i = 0; i < N; i++){
      |        ^
a.cc:14:7: error: 'i' was not declared in this scope
   14 |   if (i==N) {
      |       ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N i;
  string tray;
  cin >> N;
  for (i = 0; i < N; i++){
    cin >> tray;
    if (tray =="Y") {
      cout << "Four" << endl;
      break;
    }
  }
  if (i==N) {
    cout << "Three" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'i'
    5 |   int N i;
      |         ^
a.cc:7:10: error: 'N' was not declared in this scope
    7 |   cin >> N;
      |          ^
a.cc:8:8: error: 'i' was not declared in this scope
    8 |   for (i = 0; i < N; i++){
      |        ^
a.cc:15:7: error: 'i' was not declared in this scope
   15 |   if (i==N) {
      |       ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  string result = "Three";
  cin >> N;
  
  for (int i=0; i<N, i++){
    string a;
    cin >>a;
    
    if (a== "Y")
      result = "Four";
  }
  cout << result << endl;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:25: error: expected ';' before ')' token
    9 |   for (int i=0; i<N, i++){
      |                         ^
      |                         ;
Language: C++

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

int main() {
  int N;
  cin >> N;
  int sum = 0;
  for (int i=0; i<N; i++){
    string S;
    cin >> S;
    if (S =="Y"){
      sum +=1
    }
    else 
      continue
  }
   if (sum ==0){
     cout <<"Three"<<endl;
   }
   else{
     cout <<"Four"<<endl;
   }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:14: error: expected ';' before '}' token
   12 |       sum +=1
      |              ^
      |              ;
   13 |     }
      |     ~         
a.cc:15:15: error: expected ';' before '}' token
   15 |       continue
      |               ^
      |               ;
   16 |   }
      |   ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N,M;
  cin >> N;
  M=0
  for (int i=0; i < N; i++){
    string color;
    cin >> color;
    if (color == "Y"){
      M=1;
      break;
    }
  }
  if (M=0){
    cout << "Three" << endl;
  }else{
    cout << "Four" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:6: error: expected ';' before 'for'
    7 |   M=0
      |      ^
      |      ;
    8 |   for (int i=0; i < N; i++){
      |   ~~~ 
a.cc:8:17: error: 'i' was not declared in this scope
    8 |   for (int i=0; i < N; i++){
      |                 ^
Language: C++

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

int main() {
  int N sum;
  cin >> N;
  sum =0;
  for (int i=0; i<N; i++){
    string S;
    cin >> S;
    if (S ="Y"){
      sum +=1
    }
    else 
      continue
  }
   if (sum==0){
     cout <<"Three"<<endl;
   }
   else{
     cout <<"Four"<<endl;
   }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'sum'
    5 |   int N sum;
      |         ^~~
a.cc:6:10: error: 'N' was not declared in this scope
    6 |   cin >> N;
      |          ^
a.cc:7:3: error: 'sum' was not declared in this scope
    7 |   sum =0;
      |   ^~~
a.cc:11:11: error: could not convert 'S.std::__cxx11::basic_string<char>::operator=(((const char*)"Y"))' from 'std::__cxx11::basic_string<char>' to 'bool'
   11 |     if (S ="Y"){
      |         ~~^~~~
      |           |
      |           std::__cxx11::basic_string<char>
a.cc:15:15: error: expected ';' before '}' token
   15 |       continue
      |               ^
      |               ;
   16 |   }
      |   ~
Language: C++

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

int main() {
  int N;M;
  cin >> N;
  M=0
  for (int i=0; i<N; i++){
    string color;
    cin >> color;
    if (color == "Y"){
      M=1;
      break;
    }
  }
  if (M=0){
    cout << "Three" << endl;
  }else{
    cout << "Four" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'M' was not declared in this scope
    5 |   int N;M;
      |         ^
a.cc:8:17: error: 'i' was not declared in this scope
    8 |   for (int i=0; i<N; i++){
      |                 ^
Language: C++

#include <iostream>
using namespace std;

int main() {
	int N;
	bool y_ok = false;
	for (int i= 0; i< N; i++) {
		char s;
		cin >> s;
		if (s == "Y") {
			y_ok = true;
			break;
		}
	}
	if (y_ok) {
		cout << "Four" << endl;
	}
	else {
		cout << "Three" << endl;
	}
}

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

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

int main() {
  int N;
  string result = "Three";
  string color;
  
  cin >> N;
  
  for (int i = 0; i < N; i ++){
    cin >> color;
    if (color == "Y"){
      int result = "Four";
      break;
    }
  }
  
  cout << result << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:20: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
   14 |       int result = "Four";
      |                    ^~~~~~
      |                    |
      |                    const char*
Language: C++

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

int main(){
 	int number;
	cin >> number;
	char color[number];
	cin >> color;
  
  	for(int i = 0; i < color.size(); ++i){
    	if('Y' == color[number]){
        	cout << "Four" << endl;
          	return 0;
        }
    }
  	cout << "Four" << endl;
  	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:12:34: error: request for member 'size' in 'color', which is of non-class type 'char [number]'
   12 |         for(int i = 0; i < color.size(); ++i){
      |                                  ^~~~
Language: C++

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

int main(){
 	int number;
	cin >> number;
	char color[number];
	cin >> color;
  
  	for(int i = 0; i < color.size(); ++i){
    	if('Y' == color[number]){
        	cout << "Four" << endl;
          	return 0;
        }
    }
  	cout << "Four" << endl;
  	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:11:34: error: request for member 'size' in 'color', which is of non-class type 'char [number]'
   11 |         for(int i = 0; i < color.size(); ++i){
      |                                  ^~~~
Language: C++

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

int main(){
 	int number;
	cin >> number;
	char color[number];
	cin >> color;
  
  	for(int i = 1; i < number; ++i){
    	if("G" == color[number]){
        	break;
        } else {
        	cout << "three" << endl;
        }
    }
  	cout << "four" << endl;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:12:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   12 |         if("G" == color[number]){
      |            ~~~~^~~~~~~~~~~~~~~~
Language: C++

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

int main(){
 	int number;
	cin >> number;
	char color[number];
	cin >> color;
  
  	for(int i = 1; i < number; ++i){
    	if("G" = color[number]){
        	break;
        } else {
        	cout << "three" << endl;
        }
    }
  	cout << "four" << endl;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:12:16: error: assignment of read-only location '"G"'
   12 |         if("G" = color[number]){
      |            ~~~~^~~~~~~~~~~~~~~
Language: C++

#include <iostream>
#include <string>

enum HinaArareColor {
    PINK,
    WHITE,
    GREEN,
    YELLOW,
    NUM_OF_HINA_ARARE_COLORS
};
    

int main() {
    int numOfArares = 0;
    std::cin >> numOfArares;
    char* hinaArareBag = new char[numOfArares];
    
    bool hinaArareColors[NUM_OF_HINA_ARARE_COLORS] = {false, false, false, false};
    int numOfColors = 0;
    for (int i = 0; i < numOfArares; i++) {
        std::cin >> hinaArareBag[i];
        switch (hinaArareBags[i]) {
            case 'P':
                hinaArareColors[PINK] = true;
                break;
            case 'W':
                hinaArareColors[WHITE] = true;
                break;
            case 'G':
                hinaArareColors[GREEN] = true;
                break;
            case 'Y':
                hinaArareColors[YELLOW] = true;
                break;
        }
        numOfColors = 0;
        for (int indexOfColor = 0; indexOfColor < NUM_OF_HINA_ARARE_COLORS; indexOfColor++) {
            if (hinaArareColors[indexOfColor]) {
                numOfColors++;
            }
        }
        if (numOfColors == NUM_OF_HINA_ARARE_COLORS) {
            break;
        }
    }
    if (numOfColors == 3) {
        std::cout << "Three" << std::endl;
    } else if (numOfColors == 4) {
        std::cout << "Four" << std::endl;
    }
    
    delete[] hinaArareBag;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:22:17: error: 'hinaArareBags' was not declared in this scope; did you mean 'hinaArareBag'?
   22 |         switch (hinaArareBags[i]) {
      |                 ^~~~~~~~~~~~~
      |                 hinaArareBag
Language: C++

#include <iostream>

enum HinaArareColor {
    PINK,
    WHITE,
    GREEN,
    YELLOW,
    NUM_OF_HINA_ARARE_COLORS
};
    

int main() {
    int numOfArares = 0;
    std::cin >> numOfArares;
    char* hinaArareBags = new char[numOfArares];
    
    bool hinaArareColors[NUM_OF_HINA_ARARE_COLORS] = {false, false, false, false};
    int numOfColors = 0;
    for (int i = 0; i < numOfArares; i++) {
        std::cin >> hinaArareBags[i];
        switch (hinaArareBags[i]) {
            case 'P':
                hinaArareColors[PINK] = true;
                break;
            case 'W':
                hinaArareColors[WHITE] = true;
                break;
            case 'G':
                hinaArareColors[GREEN] = true;
                break;
            case 'Y':
                hinaArareColors[YELLOW] = true;
                break;
        }
        numOfColors = 0;
        for (int indexOfColor = 0; indexOfColor < NUM_OF_HINA_ARARE_COLORS; indexOfColor++) {
            if (hinaArareColors[indexOfColor]) {
                numOfColors++;
            }
        }
        if (numOfColors == NUM_OF_HINA_ARARE_COLORS) {
            break;
        }
    }
    if (numOfColors == 3) {
        std::cout << "Three" << std::endl;
    } else if (numOfColors == 4) {
        std::cout << "Four" << std::endl;
    }
    
    delete[] hinaArareBags
}


Compiler output:
a.cc: In function 'int main()':
a.cc:51:27: error: expected ';' before '}' token
   51 |     delete[] hinaArareBags
      |                           ^
      |                           ;
   52 | }
      | ~
Language: C++

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

int main(){
  int n = 0;
  cin >> n;
  for (int i = 0; i < n;i++){
    string s;
    cin >> s;
    if (s =="Y"){
      cout << "Four" << endl;
      break;
    }
  }
  if (i == n) cout << "Three" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:7: error: 'i' was not declared in this scope
   15 |   if (i == n) cout << "Three" << endl;
      |       ^
Language: C++

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

int main() {
  int N;
  cin >> N;
  int X = 3;
  for (i=0;i<N;i++){
    string S;
    cin >> S;
    if (S=="Y"){
      X++;
      break;
    }
  }
  cout << X << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: 'i' was not declared in this scope
    8 |   for (i=0;i<N;i++){
      |        ^
Language: C++

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

int main() {
  int N, a;
  char b;
  cin >> N;
  a = 0;
  
  for (int i = 0; i < N; i++) {
    cin >> b;
    if (b == "Y") {
      a = 1;
    }
  }
  
  if (a == 0){
    cout << "Three" << endl;
  }
  else if (a == 1){
    cout << "Four" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   12 |     if (b == "Y") {
      |         ~~^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  string search = "";
  string s;
  for (int i = 0; i < N; i++) {
    cin >> s;
    if (search.find(s) != npos){
      search+=s;
    }
  }
  if (search.size()==3){
   cout << "Three" << endl;
  }
  else{
   cout << "Four" << endl;
  }
 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:27: error: 'npos' was not declared in this scope
   10 |     if (search.find(s) != npos){
      |                           ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  string search = "";
  string s;
  for (int i = 0; i < N; i++) {
    cin >> s;
    if (search.find(s) != npos){
      search+=s
    }
  }
  if (search.size()==3){
   cout << "Three" << endl;
  }
  else{
   cout << "Four" << endl;
  }
 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:27: error: 'npos' was not declared in this scope
   10 |     if (search.find(s) != npos){
      |                           ^~~~
a.cc:11:16: error: expected ';' before '}' token
   11 |       search+=s
      |                ^
      |                ;
   12 |     }
      |     ~
Language: C++

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

int main() {
  int N ;
  cin >> N ;
  vector <char> c(N) ;
  for ( int i=0 ; i< N ; i++ ) {
    cin >> c.at(i);
    if (c.at(i) == 'Y'){
      cout << "Four"  << endl;
      return 0 ;
  }
    cout << "Three" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:2: error: expected '}' at end of input
   15 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

int main() {
  int N ;
  cin >> N ;
  vector <char> c[N] ;
  for ( int i=0 ; i< N ; i++ ) {
    cin >> c.at(i);
    if (c.at(i) == 'Y'){
      cout << "Four"  << endl;
      return 0 ;
  }
    cout << "Three" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: request for member 'at' in 'c', which is of non-class type 'std::vector<char> [N]'
    9 |     cin >> c.at(i);
      |              ^~
a.cc:10:11: error: request for member 'at' in 'c', which is of non-class type 'std::vector<char> [N]'
   10 |     if (c.at(i) == 'Y'){
      |           ^~
a.cc:15:2: error: expected '}' at end of input
   15 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

// lcmとか__builtin_popcountとかはg++ -std=c++17 default.cppみたいなかんじで

#include <bits/stdc++.h>
#define mod 1000000007
#define INF LLONG_MAX
#define ll long long
#define ln cout<<endl
#define Yes cout<<"Yes"<<endl
#define NO cout<<"NO"<<endl
#define YES cout<<"YES"<<endl
#define No cout<<"No"<<endl
#define REP(i,m,n) for(ll i=(ll)(m);i<(ll)(n);i++)
#define rep(i,n) REP(i,0,n)
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()
using namespace std;
ll dx[4]={1,0,-1,0};
ll dy[4]={0,1,0,-1};

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

    ll  a,b,c,d,e,n,k,maxi=0,f=0,mini=INF,sum=0,q;
	string str,stra,ko;
    ll x,y,w,z;
    char hoge,fuga;
    cin>>n;
    set<char> ch;
    rep(i,n){
        cin>>hoge;
        ch.insert(hoge);
    }
    if(ch.size()==3) cout<<"Three"<<endl
    else cout<<"Four"<<endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:34:41: error: expected ';' before 'else'
   34 |     if(ch.size()==3) cout<<"Three"<<endl
      |                                         ^
      |                                         ;
   35 |     else cout<<"Four"<<endl;
      |     ~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  string str;
  cin >> str;
  int syurui = 0;
   for (int i = 0; i < str.size(); i++) {
     if (str.at(i) =='Y'){
       syurui++;
     }
     if(syurui == 0)
       cout<<"Three"<<endl;
     else
       cout<<"Four"endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:14: error: unable to find string literal operator 'operator""endl' with 'const char [5]', 'long unsigned int' arguments
   15 |        cout<<"Four"endl;
      |              ^~~~~~~~~~
a.cc:16:2: error: expected '}' at end of input
   16 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

int main() {
  int N;
  cin >> N;
  
  bool p = false;
  bool w = false;
  bool g = false;
  bool y = false;
  
  for(int i = 0; i < N; i++) { 
    char color;
    cin >> color;
    
    if (color == 'P') {
      p = true;
    } else if (color == 'W') {
      w = true;
    } else if (color == 'G') {
      g = true;
    } else if (color == 'Y') 
      y = true;
    }
  }
  if (p && w && g && y) {
    cout << "Four" << endl;
  } else {
    cout << "Three" << endl;
  } 
}

Compiler output:
a.cc:27:3: error: expected unqualified-id before 'if'
   27 |   if (p && w && g && y) {
      |   ^~
a.cc:29:5: error: expected unqualified-id before 'else'
   29 |   } else {
      |     ^~~~
a.cc:32:1: error: expected declaration before '}' token
   32 | }
      | ^
Language: C++

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

int main() {
  int N;
  cin >> N;
  
  bool p = false;
  bool w = false;
  bool g = false;
  bool y = false;
  
  for(int i = 0; i < N; i++) { 
    char color;
    cin >> color;
    
    if (color == 'P') {
      p = true;
    } else if (color == 'W') {
      w = true;
    } else if (color == 'G') {
      g = true;
    } else if (color == 'Y') 
      y = true;
    }
  }
  if (p && w && g && y) {
    cout << "Four" << endl;
  } else {
    cout << "Three" << endl;
  }
  
}



Compiler output:
a.cc:27:3: error: expected unqualified-id before 'if'
   27 |   if (p && w && g && y) {
      |   ^~
a.cc:29:5: error: expected unqualified-id before 'else'
   29 |   } else {
      |     ^~~~
a.cc:33:1: error: expected declaration before '}' token
   33 | }
      | ^
Language: C++

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

int main() {
  int N;
  cin >> N;
  
  boolean p = false;
  boolean w = false;
  boolean g = false;
  boolean y = false;
  
  for(int i = 0; i < N; i++) { 
    char color;
    cin >> color;
    
    if (color == 'P') {
      p = true;
    } else if (color == 'W') {
      w = true;
    } else if (color == 'G') {
      g = true;
    } else if (color == 'Y') 
      y = true;
    }
  }
  if (p && w && g && y) {
    cout << "Four" << endl;
  } else {
    cout << "Three" << endl;
  }
  
}



Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'boolean' was not declared in this scope; did you mean 'bool'?
    8 |   boolean p = false;
      |   ^~~~~~~
      |   bool
a.cc:9:10: error: expected ';' before 'w'
    9 |   boolean w = false;
      |          ^~
      |          ;
a.cc:10:10: error: expected ';' before 'g'
   10 |   boolean g = false;
      |          ^~
      |          ;
a.cc:11:10: error: expected ';' before 'y'
   11 |   boolean y = false;
      |          ^~
      |          ;
a.cc:18:7: error: 'p' was not declared in this scope
   18 |       p = true;
      |       ^
a.cc:20:7: error: 'w' was not declared in this scope
   20 |       w = true;
      |       ^
a.cc:22:7: error: 'g' was not declared in this scope
   22 |       g = true;
      |       ^
a.cc:24:7: error: 'y' was not declared in this scope
   24 |       y = true;
      |       ^
a.cc: At global scope:
a.cc:27:3: error: expected unqualified-id before 'if'
   27 |   if (p && w && g && y) {
      |   ^~
a.cc:29:5: error: expected unqualified-id before 'else'
   29 |   } else {
      |     ^~~~
a.cc:33:1: error: expected declaration before '}' token
   33 | }
      | ^
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main(){

	int N;
	string S;

	cin >> N;

	for( int i = 0 ; i < N ; i++){
		
		cin >> S;
	
		if( S == "Y"){
		cout << "Four" << endl;
		break;
		}

	}

	if( i == N )
	cout << "Three" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:23:13: error: 'i' was not declared in this scope
   23 |         if( i == N )
      |             ^
Language: C++

#indlude <bits/stdc++.h>

using namespace std;

int main(){

	int N;
	string S;

	cin >> N;

	for( int i = 0 ; i < N ; i++){
		
		cin >> S;
	
		if( S == "Y"){
		cout << "Four" << endl;
		break;
		}

	}

	if( i == N )
	cout << "Three" << endl;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #indlude; did you mean #include?
    1 | #indlude <bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:8:9: error: 'string' was not declared in this scope
    8 |         string S;
      |         ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | #indlude <bits/stdc++.h>
a.cc:10:9: error: 'cin' was not declared in this scope
   10 |         cin >> N;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #indlude <bits/stdc++.h>
a.cc:14:24: error: 'S' was not declared in this scope
   14 |                 cin >> S;
      |                        ^
a.cc:17:17: error: 'cout' was not declared in this scope
   17 |                 cout << "Four" << endl;
      |                 ^~~~
a.cc:17:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:35: error: 'endl' was not declared in this scope
   17 |                 cout << "Four" << endl;
      |                                   ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #indlude <bits/stdc++.h>
a.cc:23:13: error: 'i' was not declared in this scope
   23 |         if( i == N )
      |             ^
a.cc:24:9: error: 'cout' was not declared in this scope
   24 |         cout << "Three" << endl;
      |         ^~~~
a.cc:24:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:24:28: error: 'endl' was not declared in this scope
   24 |         cout << "Three" << endl;
      |                            ^~~~
a.cc:24:28: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  int N;
  cin>>N;
  for(int i=0;i<N;i++){
    char S[i];
    if(S[i]=="Y"){
      cout<<"Four"<<endl;
      break;
    }
  }
  cout<<"Three"<<endl;
}

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

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

int main() {
  int N,i=0;
  cin >> N;
  for(; i<N; i++){
    string S;
    cin >> S;
    if(S　==　"Y")
      break;
  }
  if(i==N){
    cout << "Three" << endl;
    return 0;
  }
    cout << "Four" << endl;
}


Compiler output:
a.cc:10:8: error: extended character 　 is not valid in an identifier
   10 |     if(S　==　"Y")
      |        ^
a.cc:10:13: error: extended character 　 is not valid in an identifier
   10 |     if(S　==　"Y")
      |             ^
a.cc: In function 'int main()':
a.cc:10:8: error: 'S\U00003000' was not declared in this scope
   10 |     if(S　==　"Y")
      |        ^~~
a.cc:10:13: error: '\U00003000' was not declared in this scope
   10 |     if(S　==　"Y")
      |             ^~
a.cc:10:15: error: expected ')' before string constant
   10 |     if(S　==　"Y")
      |       ~       ^~~
      |               )
Language: C++

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

int main(){
  int N,i=0;
  cin >> N;
  for(;i<N; i++){
    char s;
    cin >> s;
    if(s = 'Y'){
      break;
    }
  }
  if(i = N){
    cont << "Three" << endl;
    return 0;
  }
  cout << "Four" << endl;
} 


Compiler output:
a.cc: In function 'int main()':
a.cc:15:5: error: 'cont' was not declared in this scope; did you mean 'const'?
   15 |     cont << "Three" << endl;
      |     ^~~~
      |     const
Language: C++

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

int main() {
   int n;
   cin >> n , y;
   string s;
   y=0;
  for (int i = 0; i < n; i++) {
     if ( s == "Y") {
      y = 1;
    }
    
    }
  }
  
    if ( y == 1) {
      cout << "Four" << endl;
    }
    else {
      cout << "Three" << endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: 'y' was not declared in this scope
    6 |    cin >> n , y;
      |               ^
a.cc: At global scope:
a.cc:17:5: error: expected unqualified-id before 'if'
   17 |     if ( y == 1) {
      |     ^~
a.cc:20:5: error: expected unqualified-id before 'else'
   20 |     else {
      |     ^~~~
a.cc:23:1: error: expected declaration before '}' token
   23 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define debug(x) cerr << # x << "; "<< x << endl

typedef 

int main() {
    int N;
    cin >> N;
    string S;
    vector<string> vec;
    bool same;
    for (int i = 0; i < N; i++) {
        cin >> S;
        same = false;
        for (int j = 0; j < vec.size(); j++) {
            if (vec.at(j) == S) {
                same = true;
                break;
            }
        }
        if (!same) {
            vec.push_back(S);
        }
    }
    if (vec.size() == 3) {
        cout << "Three" << endl;
    }
    else if (vec.size() == 4) {
        cout << "Four" << endl;
    }
}


Compiler output:
a.cc:7:5: error: typedef may not be a function definition
    7 | int main() {
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define debug(x) cerr << # x << "; "<< x << endl

#define int long long


void main() {
    int N;
    cin >> N;
    string S;
    int n = 1;
    for (int i = 0; i < N; i++) {
        cin >> S;
        if ("P" == S) {
            n *= 2;
        }
        else if ("W" == S){
            n *= 3;
        }
        else if ("G" == S) {
            n *= 5;
        }
        else {
            n *= 7;
        }
    }
    int count = 0;
    for (int i = 2; i < 8; i++) {
        if (n % i == 0 && i != 4 && i != 6) count++;
    }
    if (count == 3) {
        cout << "Three" << endl;
    }
    else if (count == 4) {
        cout << "Four" << endl;
    }
}


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

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

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

  for (int i = 0; i < N; i++) {
    string S;
    cin >> S;

    if(S == Y){
      for(int j =0; j<(N-i);j++){
        string S;
        cin >> S;
      }
      cout << "Four" << endl;
      break;
    }
    
    else if{
      
    }

    cout << i << endl;
  }

  cout << "終了" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:13: error: 'Y' was not declared in this scope
   12 |     if(S == Y){
      |             ^
a.cc:21:12: error: expected '(' before '{' token
   21 |     else if{
      |            ^
      |            (
Language: C++

#include <iostream>
using namespace std;
int main()
{
  int N;
  cin >> N;
  bool four = false;
  for (int i = 0; i < N; i++) {
    char S;
    cin >> S;
    if (S =='Y') four = True;
  }
  if (four) {
    cout << "Four" << endl;
  } else {
    cout << "Three" << endl;
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:25: error: 'True' was not declared in this scope
   11 |     if (S =='Y') four = True;
      |                         ^~~~
Language: C++

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

int main() {
int N;
cin >> N;
for ( int i=0 ;i <N ; i++){
string s ;
cin >> s;
if (s=="Y"){
cout << "Four" << endl;
return0;
}
}
cout << "Three" << endl;
return0;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
int N;
cin >> N;
for (int i=0 ;i <N ; i++){
string　s ;
cin >> s;
if (s=="Y"){
cout << "Four" << endl;
return0;
}
}
cout << "Three" << endl;
return0;
}

Compiler output:
a.cc:8:1: error: extended character 　 is not valid in an identifier
    8 | string　s ;
      | ^
a.cc: In function 'int main()':
a.cc:8:1: error: 'string\U00003000s' was not declared in this scope
    8 | string　s ;
      | ^~~~~~~~~
a.cc:9:8: error: 's' was not declared in this scope
    9 | cin >> s;
      |        ^
a.cc:12:1: error: 'return0' was not declared in this scope
   12 | return0;
      | ^~~~~~~
a.cc:16:1: error: 'return0' was not declared in this scope
   16 | return0;
      | ^~~~~~~
Language: C++

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

int main() {
    int N;
    cin >> N;
    for(int i = 0; i < N; i++){
        string S;
        cin >> S;
        if(S == "Y"){
            cout << "Four" << endl;
            i -= 1;
            break;
        }
    }
    if(i == N){
        cout << "Three" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:8: error: 'i' was not declared in this scope
   16 |     if(i == N){
      |        ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
  int N;
  cin >> N;
  string co;
  int C = 0;
  rep(i, N) {
    cin >> co;
    if(co == "Y") {
      C += 0
    }
    else {
      C++
    }
  }
  if(C == N) {
    cout << "Three" << endl;
  }
  else {
    cout << "Four" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:13: error: expected ';' before '}' token
   12 |       C += 0
      |             ^
      |             ;
   13 |     }
      |     ~        
a.cc:15:10: error: expected ';' before '}' token
   15 |       C++
      |          ^
      |          ;
   16 |     }
      |     ~
Language: C++

#include <bits/stdc++.h>
using namesapce std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
  int N;
  cin >> N;
  string co;
  rep(i, N) {
    cin >> co;
    if(co == "Y") {
      cout << "Four" << endl;
      break;
    }
    else {
    }
  }
}
    


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesapce'
    2 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> N;
      |   ^~~
      |   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:7:3: error: 'string' was not declared in this scope
    7 |   string co;
      |   ^~~~~~
a.cc:7: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:
/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:9:12: error: 'co' was not declared in this scope; did you mean 'cos'?
    9 |     cin >> co;
      |            ^~
      |            cos
a.cc:11:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |       cout << "Four" << endl;
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |       cout << "Four" << 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)
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
using namesapce std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
  int N;
  cin >> N;
  string co;
  rep(i, N) {
    cin >> co;
    if(co == "Y") {
      cout << "Four" << endl;
      break;
    }
  }
}
    


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesapce'
    2 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> N;
      |   ^~~
      |   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:7:3: error: 'string' was not declared in this scope
    7 |   string co;
      |   ^~~~~~
a.cc:7: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:
/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:9:12: error: 'co' was not declared in this scope; did you mean 'cos'?
    9 |     cin >> co;
      |            ^~
      |            cos
a.cc:11:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |       cout << "Four" << endl;
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |       cout << "Four" << 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)
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
using namesapce std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
  int N;
  cin >> N;
  string co;
  rep(i, N) {
    cin >> co;
    if(co == "Y") {
      cout << "Four" << endl;
    }
  }
}
    


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesapce'
    2 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> N;
      |   ^~~
      |   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:7:3: error: 'string' was not declared in this scope
    7 |   string co;
      |   ^~~~~~
a.cc:7: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:
/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:9:12: error: 'co' was not declared in this scope; did you mean 'cos'?
    9 |     cin >> co;
      |            ^~
      |            cos
a.cc:11:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |       cout << "Four" << endl;
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |       cout << "Four" << 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)
      |     ^~~~