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

#include <stdio.h>
int main()
{
	string n;
	scanf("%s",&n);
	for (i=0;i<n;i++)
	{
		if (n[i]=='C'&&'F') cout<<"Yes"
		return 0;
	}
	cout<<"No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'string' was not declared in this scope; did you mean 'stdin'?
    4 |         string n;
      |         ^~~~~~
      |         stdin
a.cc:5:21: error: 'n' was not declared in this scope
    5 |         scanf("%s",&n);
      |                     ^
a.cc:6:14: error: 'i' was not declared in this scope
    6 |         for (i=0;i<n;i++)
      |              ^
a.cc:8:37: error: 'cout' was not declared in this scope
    8 |                 if (n[i]=='C'&&'F') cout<<"Yes"
      |                                     ^~~~
a.cc:11:9: error: 'cout' was not declared in this scope
   11 |         cout<<"No";
      |         ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
string s;
int l;
int mian()
{
    cin>>s;
    l=s.size();
    for(register int i=0;i<l;i++)
    {
        if(s[i]=='C')
        {
            for(register int j=i+1;j<l;j++)
            {
                if(s[j]=='F')
                {
                    cout<<"Yes";
                    return 0;
                }
            }
        }
    }
    cout<<"No";
    return 0;
}

Compiler output:
a.cc: In function 'int mian()':
a.cc:9:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    9 |     for(register int i=0;i<l;i++)
      |                      ^
a.cc:13:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   13 |             for(register int j=i+1;j<l;j++)
      |                              ^
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include<bits/stdc++.h>
using namesapce std;
int main()
{
    string a;
    cin>>a;
    int h=a.length()
    for(int i=0;i<h;i++)
    {
        if(a[i]=='C')
        {
            for(int j=i;j<h;j++)
            {
                if(a[j]=='F')
                cout<<"YES";
                return 0;
            }
        }
        else continue;
    }
    cout<<"NO";
    return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
	string s;
	cin>>s;
	int a=-1;
	for(int i=0;i<s.size();i++)
		if(a[i]=='C'){
			a=i;
			break;
		}
	if(a<0){cout<<"NO";	return 0;}
	for(int i=a+1;i<s.size())
		if(a[i]=='F'){
			cout<<"YES";
			return 0;
		}
	cout<<"NO";
}	

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: invalid types 'int[int]' for array subscript
    8 |                 if(a[i]=='C'){
      |                     ^
a.cc:13:33: error: expected ';' before ')' token
   13 |         for(int i=a+1;i<s.size())
      |                                 ^
      |                                 ;
a.cc:14:21: error: invalid types 'int[int]' for array subscript
   14 |                 if(a[i]=='F'){
      |                     ^
Language: C++

#include<iostream>
#include<cstring>
using namespace std;
int main()
{
	int l,bo=0;
	char n[100];
	gets(n);
	l=strlen(n);
	for(int i=0;i<l;i++)
	{
		if(n[i]=='C'&&bo==0) bo++;
		if(bo==1&&n[i]=='F')
		{
			cout<<"YES"; 
			bo++;
			break;
		 } 
	}
	if(bo!=2) cout<<"NO";
	return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'gets' was not declared in this scope; did you mean 'getw'?
    8 |         gets(n);
      |         ^~~~
      |         getw
Language: C++

#include<iostream>
#include<cstring>
using namespace std;
int main()
{
	int l,bo=0;
	char n[100];
	gets(n);
	l=strlen(n);
	for(int i=0;i<l;i++)
	{
		if(n[i]=='C'&&bo==0) bo++;
		if(bo==1&&n[i]=='F')
		{
			cout<<"YES"; 
			bo++;
			break;
		 } 
	}
	if(bo!=2) cout<<"NO";
	return 0;
 } 

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'gets' was not declared in this scope; did you mean 'getw'?
    8 |         gets(n);
      |         ^~~~
      |         getw
Language: C++

#include<iostream>
using namespace std;
int main(void){
  int a=0,b;
  string s;
 cin >> s;
  for(int i = 0;i < s.size();i++){
    if(s.at(i) == "C"){
      a = 1;
    }
    if((a == 1) && (s.at(i) == "F")){
      cout << "Yes";
      return 0;
    }
  }
  cout << "No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |     if(s.at(i) == "C"){
      |        ~~~~~~~~^~~~~~
a.cc:11:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   11 |     if((a == 1) && (s.at(i) == "F")){
      |                     ~~~~~~~~^~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(void){
  int a=0,b;
  string s;
 cin >> s;
  for(int i = 0;i < s.size();i++){
    if(s.at(i) == "C"){
      a = 1;
    }
    if(a == 1 && s.at(i) == "F"){
      cout << "Yes";
      return 0;
    }
  }
  cout << "No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |     if(s.at(i) == "C"){
      |        ~~~~~~~~^~~~~~
a.cc:11:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   11 |     if(a == 1 && s.at(i) == "F"){
      |                  ~~~~~~~~^~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(void){
  int a=0,b;
  string s;
 cin >> s;
  for(int i = 0;i < s.size();i++){
    if(s.at(i) == "C"){
      a == 1;
    }
    if(a == 1 && s.at(i) == "F"){
      cout << "Yes";
      return 0;
    }
  }
  cout << "No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |     if(s.at(i) == "C"){
      |        ~~~~~~~~^~~~~~
a.cc:11:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   11 |     if(a == 1 && s.at(i) == "F"){
      |                  ~~~~~~~~^~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(void){
  int a=0,b;
  string s;
 cin >> s;
  for(int i = 0;i < s.size();i++){
    if(s.at(i) == "C"){
      a == 1;
    }
    if(a==1 && s.at(i) == "F"){
      cout << "Yes";
      return 0;
    }
  }
  cout << "No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |     if(s.at(i) == "C"){
      |        ~~~~~~~~^~~~~~
a.cc:11:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   11 |     if(a==1 && s.at(i) == "F"){
      |                ~~~~~~~~^~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(void){
  int a=0,b;
  string s;
 cin >> s;
  for(int i = 0;i < s.size();i++){
    if(s.at(i) == "C"){
      a == 1;
    };
    if(a==1 && s.at(i) == "F"){
      cout << "Yes";
      return 0;
    }
  }
  cout << "No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |     if(s.at(i) == "C"){
      |        ~~~~~~~~^~~~~~
a.cc:11:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   11 |     if(a==1 && s.at(i) == "F"){
      |                ~~~~~~~~^~~~~~
Language: C++

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

int main()
{
    cin>>s;
    for(int i=0;i<s.size();i++)
    {
        if(s[i]=='C')
        {
            for(int j=i+1;j<l;j++)
            {
                if(s[j]=='F')
                {
                    cout<<"Yes";
                    return 0;
                }
            }
        }
    }
    cout<<"No";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:29: error: 'l' was not declared in this scope
   14 |             for(int j=i+1;j<l;j++)
      |                             ^
Language: C++

#include<iostream>
#include<fstream>
#include<algorithm>
#include<cstdio>
#include<cmath>
#include<string>
#include<csstring>

using namespace std;
string st;//定义字符串
bool a;//定义a。
int main()
{
  cin>>st;
  for(int i=0;i<st.size();i++)
  {
    if(st[i]=='C')a=1;
    //如果字符串的这个位置是C，就把a的值变成1。
    if(st[i]=='F')
    {
      if(a!=0)。
      {
        cout<<"Yes"<<endl;
        //输出Yes，记得换行。
        return 0;//结束程序
      }
    }
  }
  cout<<"No"<<endl;
  //输出No，记得换行。
  return 0;
}

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

#include<iostream>
#include<fstream>
#include<algorithm>
#include<cstdio>
#include<cmath>
#include<string>
#include<csstring>

using namespace std;
string st;//定义字符串
bool a;//定义a。
int main()
{
  cin>>st;
  for(int i=0;i<st.size();i++)
  {
    if(st[i]=='C')a=1;
    //如果字符串的这个位置是C，就把a的值变成1。
    if(st[i]=='F')//如果字符串的这个位置是F，就
    执行以下内容。
    {
      if(a!=0)//如果发现a不等于0，就说明前面已经
      有字母C了，然后我们就执行以下内容。
      {
        cout<<"Yes"<<endl;
        //输出Yes，记得换行。
        return 0;//结束程序
      }
    }
  }
  cout<<"No"<<endl;
  //输出No，记得换行。
  return 0;
}

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

#include<bits/stdc++.h>
char str[256],*c,*f;
int main(void){
    scanf("%s",str);
    c=strchr(str,'c');
    if(c!=NULL)f=strchr(c+1,'f');
    printf("%s",c!=NULL&&f!=NULL?"Yes":"No");
    reutrn 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: 'reutrn' was not declared in this scope
    8 |     reutrn 0;
      |     ^~~~~~
Language: C++

#include<bits/stdc++.h>
char str[256],*c,*f;
int main(void){
    scanf("%s",str);
    c=strchr(str,'c');
    if(c!=NULL)f=strchr(str,c+1);
    printf("%s",c!=NULL&&f!=NULL?"Yes":"No");
    reutrn 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:30: error: invalid conversion from 'char*' to 'int' [-fpermissive]
    6 |     if(c!=NULL)f=strchr(str,c+1);
      |                             ~^~
      |                              |
      |                              char*
In file included from /usr/include/c++/14/cstring:43,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:121,
                 from a.cc:1:
/usr/include/string.h:226:37: note:   initializing argument 2 of 'char* strchr(char*, int)'
  226 | extern char *strchr (char *__s, int __c)
      |                                 ~~~~^~~
a.cc:8:5: error: 'reutrn' was not declared in this scope
    8 |     reutrn 0;
      |     ^~~~~~
Language: C++

#include<iostream>
#include<string.h>
using namespace std;
string s;
bool b;
int y;
int main()
{
	cin>>s;
	int l=strlen(s);
	for(int i=0;i<=l;i++)
	{
		if(s[i]=='C') 
		{
			bool=true;
			y=i; 
		}	
		if(s[i]=='F' && i>y)
		{
			bool=true;
		}
		else bool=false;
	}
	if(bool==true) cout<<"Yes"<<endl;
	else cout<<"No"<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'const char*'
   10 |         int l=strlen(s);
      |                      ^
      |                      |
      |                      std::string {aka std::__cxx11::basic_string<char>}
In file included from a.cc:2:
/usr/include/string.h:407:35: note:   initializing argument 1 of 'size_t strlen(const char*)'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
a.cc:15:29: error: expected unqualified-id before '=' token
   15 |                         bool=true;
      |                             ^
a.cc:20:29: error: expected unqualified-id before '=' token
   20 |                         bool=true;
      |                             ^
a.cc:22:26: error: expected unqualified-id before '=' token
   22 |                 else bool=false;
      |                          ^
a.cc:24:16: error: expected unqualified-id before '==' token
   24 |         if(bool==true) cout<<"Yes"<<endl;
      |                ^~
Language: C++

#include<iostream>
#include<cstdio>
#include<string>
using namespace std;
string s;
int l;
int mian()
{
    cin>>s;
    for(register int i=0;i<s.size();i++)
        if(s[i]=='C')
            for(register int j=i+1;j<l;j++)
                if(s[j]=='F')
                {
                    cout<<"Yes";
                    return 0;
                }
    cout<<"No";
    return 0;
}

Compiler output:
a.cc: In function 'int mian()':
a.cc:10:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   10 |     for(register int i=0;i<s.size();i++)
      |                      ^
a.cc:12:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   12 |             for(register int j=i+1;j<l;j++)
      |                              ^
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include<iostream>
#include<string.h>
using namespace std;
int main()
{
	string s;
	bool b;
	int l=s.sizeof(),y;
	for(int i=0;i<=l;i++)
	{
		if(s[i]=='C') 
		{
			bool=1;
			 
		}
			
		if()
	}
	 
	
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: expected unqualified-id before 'sizeof'
    8 |         int l=s.sizeof(),y;
      |                 ^~~~~~
a.cc:13:29: error: expected unqualified-id before '=' token
   13 |                         bool=1;
      |                             ^
a.cc:17:20: error: expected primary-expression before ')' token
   17 |                 if()
      |                    ^
a.cc:18:9: error: expected primary-expression before '}' token
   18 |         }
      |         ^
Language: C++

#include<cstdio>
#include<string>
using namespace std;
string s;
int l;
int main()
{
    cin>>s;
    l=s.size();
    for(register int i=0;i<l;i++)
    {
        if(s[i]=='C')
        {
            for(register int j=i+1;j<l;j++)
            {
                if(s[j]=='F')
                {
                    cout<<"Yes";
                    return 0;
                }
            }
        }
    }
    cout<<"No";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: 'cin' was not declared in this scope
    8 |     cin>>s;
      |     ^~~
a.cc:3:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    2 | #include<string>
  +++ |+#include <iostream>
    3 | using namespace std;
a.cc:10:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   10 |     for(register int i=0;i<l;i++)
      |                      ^
a.cc:14:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   14 |             for(register int j=i+1;j<l;j++)
      |                              ^
a.cc:18:21: error: 'cout' was not declared in this scope
   18 |                     cout<<"Yes";
      |                     ^~~~
a.cc:18:21: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:24:5: error: 'cout' was not declared in this scope
   24 |     cout<<"No";
      |     ^~~~
a.cc:24:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include<cstdio>
#include<cstring>

using namespace std;

char s[101];
bool c;

int main()
{
	gets(s);
	short len=strlen(s);
	for(int i=0;i<len;i++)
	{
		if(s[i]=='C') c=true;
		else if(s[i]=='F'&&c)
		{
			printf("Yes\n");
			return 0;
		}
	}
	printf("No\n");
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: 'gets' was not declared in this scope; did you mean 'getw'?
   11 |         gets(s);
      |         ^~~~
      |         getw
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
    string a;
    cin>>a;
    int la=a.length();
    int c=0,f=0;
    for(int i=0;i<la;i++)
	{
		if(a[i]=='C'||a[i]='c')
		{
			c++;
		}
		if(a[i]=='F'||a[i]=='f')
		{
			f++;
		}
	}
	if(c>0&&f>0)
		cout<<"Yes";
	else
		cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:29: error: lvalue required as left operand of assignment
   10 |                 if(a[i]=='C'||a[i]='c')
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int i,j;
	char a[100];
	gets(a);
	for(i=0;i<strlen(a);i++)
	{
		if(a[i]=='C')
		{
			for(j=i+1;j<strlen(a);j++)
			{
				if(a[j]=='F')
				{
					cout<<"Yes"<<endl;
					return 0;
				}
			}
		}
	}
	cout<<"No"<<endl;
 	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'gets' was not declared in this scope; did you mean 'getw'?
    7 |         gets(a);
      |         ^~~~
      |         getw
Language: C++

#include <cstring>
#include<cstdio>
#include<iostream>
#include<bits/stdc++.h>
using namespace std;
int main()
{
	string s;
	cin>>s;
#include <cstring>
#include<cstdio>
#include<iostream>
#include<bits/stdc++.h>
using namespace std;
int main()
{
	string s;
	cin>>s;
	int sum=s.length();
	for(int i=0;i<sum;i++)
	{
		if(s[i]=='C')
		{
			for(int j=i+1;j<sum;j++)
			{
				if(s[j]=='F')
				{
					cout<<"Yes"<<endl;
					return 0;
				}
			}
		}
	}
	cout<<"No"<<endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   15 | int main()
      |         ^~
a.cc:15:9: note: remove parentheses to default-initialize a variable
   15 | int main()
      |         ^~
      |         --
a.cc:15:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:16:1: error: a function-definition is not allowed here before '{' token
   16 | {
      | ^
a.cc:36:2: error: expected '}' at end of input
   36 | }
      |  ^
a.cc:7:1: note: to match this '{'
    7 | {
      | ^
Language: C++

#include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define ll long long int
const int INF = 2147483647;
const ll MOD = 1000000007;

using namespace std;

int main() {
  string s;
  cin >> s;
  REP(i, s.length()) {
    if (s[i] == 'C') {
      FOR(j, i, s.length()) {
        if (s[j] == 'F') {
          cout << "Yes" << endl;
          return 0
        }
      }
    }
  }
  cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:19: error: expected ';' before '}' token
   18 |           return 0
      |                   ^
      |                   ;
   19 |         }
      |         ~
Language: C++

http://hzwer.com/wp-content/themes/ly/image/image_post/V%20N]_%7DUD%2009W_QB4QDS.jpg


Compiler output:
a.cc:1:1: error: 'http' does not name a type
    1 | http://hzwer.com/wp-content/themes/ly/image/image_post/V%20N]_%7DUD%2009W_QB4QDS.jpg
      | ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
string s;
int l;
int mian()
{
    cin>>s;
    l=s.size();
    for(int i=0;i<l;i++)
    {
        if(s[i]=='C')
        {
            for(int j=i+1;j<l;j++)
            {
                if(s[j]=='F')
                {
                    cout<<"Yes";
                    return 0;
                }
            }
        }
    }
    cout<<"No";
    return 0;
}

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include <iostream>
#include <iomanip>

using namespace std;

int main(){
    char input[1000];
    cin >> input;
    int len = strlen(input);
    for(int i = 0; i < len; i++){
        char ch = input[i];
        if(input[i] == 'C'){
            if(input[i] == 'F'){
                cout << "Yes";
                return 0;
            } else {
                cout << "No";
                return 0;
            }
        } else {
            cout << "No";
            return 0;
        }
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: 'strlen' was not declared in this scope
    9 |     int len = strlen(input);
      |               ^~~~~~
a.cc:3:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    2 | #include <iomanip>
  +++ |+#include <cstring>
    3 |
Language: C++

#include <bits/stdc++.h>

using namesapce std;

int main(){
    char input[1000];
    cin >> input;
    int len = strlen(input);
    for(int i = 0; i < len; i++){
        char ch = input[i];
        if(input[i] == 'C'){
            if(input[i] == 'F'){
                cout << "Yes";
                return 0;
            } else {
                cout << "No";
                return 0;
            }
        } else {
            cout << "No";
            return 0;
        }
    }
}

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namesapce'
    3 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |     cin >> input;
      |     ^~~
      |     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:13:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |                 cout << "Yes";
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:16:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   16 |                 cout << "No";
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:20:13: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   20 |             cout << "No";
      |             ^~~~
      |             std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main(){
    char input[1000];
    bool a = false, b = false;
    cin >> input;
    int len = stdlen(input);
    for(int i = 0; i < len; i++){
        char ch = input[i];
        if(ch == 'C'){
            a = true;
        }
        if(ch == 'F'){
            b = true;
        } 
    }
    if(a){
        if(b){
            cout << "Yes"
        } else {
            cout << "No";
        }
    } else {
        cout << "No";
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: 'stdlen' was not declared in this scope; did you mean 'strlen'?
    9 |     int len = stdlen(input);
      |               ^~~~~~
      |               strlen
a.cc:21:26: error: expected ';' before '}' token
   21 |             cout << "Yes"
      |                          ^
      |                          ;
   22 |         } else {
      |         ~
Language: C++

#include <bits/stdc++.h>

using namesapce std;

int main(){
    char input[1000];
    bool a = false, b = false;
    cin >> input;
    int len = stdlen(input);
    for(int i = 0; i < len; i++){
        char ch = input[i];
        if(ch == 'C'){
            a = true;
        }
        if(ch == 'F'){
            b = true;
        } 
    }
    if(a){
        if(b){
            cout << "Yes"
        } else {
            cout << "No";
        }
    } else {
        cout << "No";
    }
}

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namesapce'
    3 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:8:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |     cin >> input;
      |     ^~~
      |     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:9:15: error: 'stdlen' was not declared in this scope; did you mean 'strlen'?
    9 |     int len = stdlen(input);
      |               ^~~~~~
      |               strlen
a.cc:21:13: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   21 |             cout << "Yes"
      |             ^~~~
      |             std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:23:13: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   23 |             cout << "No";
      |             ^~~~
      |             std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:26:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   26 |         cout << "No";
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <bits/stdc++.h>

using namesapce std;

int main(){
    char input[1000];
    cin >> input;
    int len = stdlen(input);
    for(int i = 0; i < len; i++){
        char ch = input[i];
        if(input[i] == 'C'){
            for(int i = 0; i < len; i++){
                if(input[i] = 'F'){
                    cout << "Yes";
                } else {
                    cout << "No";
                }
            }
        } else {
            cout << "No";
        }
    }
}

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namesapce'
    3 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |     cin >> input;
      |     ^~~
      |     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:8:15: error: 'stdlen' was not declared in this scope; did you mean 'strlen'?
    8 |     int len = stdlen(input);
      |               ^~~~~~
      |               strlen
a.cc:14:21: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |                     cout << "Yes";
      |                     ^~~~
      |                     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:16:21: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   16 |                     cout << "No";
      |                     ^~~~
      |                     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:20:13: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   20 |             cout << "No";
      |             ^~~~
      |             std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  string S;
  cin >> S;
  int i = 0;
  while (i<N){
    if (S.at(i)=='C') break;
    i++;
  }
  if (i==N){
    cout << "No";
  } else { 
    while (i<N){
      if (S.at(i)=='F') break;
      i++;
    }
    if (i==N){
      cout << "No";
    } else {
      cout << "Yes";
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: 'N' was not declared in this scope
    7 |   while (i<N){
      |            ^
a.cc:11:10: error: 'N' was not declared in this scope
   11 |   if (i==N){
      |          ^
Language: C++

#include<iostream>
using namespace std;
int main(){
    string a;  
bool v[2]={0};
    cin>>a; 
    for(int i=0;i<a.length();i++)
{ 
        if(a[i]=='C') v[0]=1; 
        if(a[i]=='F'&&v[0])
v[1]=1;
    }
    if(v[1]) cout<<"Yes";
    else cout<<"No"; 
    return 0;
}
    cout<<"No";
    return 0;
}

Compiler output:
a.cc:17:5: error: 'cout' does not name a type
   17 |     cout<<"No";
      |     ^~~~
a.cc:18:5: error: expected unqualified-id before 'return'
   18 |     return 0;
      |     ^~~~~~
a.cc:19:1: error: expected declaration before '}' token
   19 | }
      | ^
Language: C++

#include<iostream>
#include<cstdio>
#include<string>
using namespace std;
string s;
int l;
int mian()
{
    cin>>s;
    l=s.size();
    for(register int i=0;i<l;i++)
{
    if(s[i]=='C')
 {
    for(register int j=i+1;j<l;j++)
    {
    if(s[j]=='F')
    {
        cout<<"Yes";
    return 0;
}
}
}
}
    cout<<"No";
    return 0;
}

Compiler output:
a.cc: In function 'int mian()':
a.cc:11:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   11 |     for(register int i=0;i<l;i++)
      |                      ^
a.cc:15:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   15 |     for(register int j=i+1;j<l;j++)
      |                      ^
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include <bits/stdc++.h>
using namespace std;
string a;
int main()
{
    cin>>a;
    for(register int i=0;i<a.size();++i)
        if(a[i]=='C')
            for(register int j=i+1;j<a.size;++j)
                if(a[j]=='F') return printf("Yes")%1;
    return printf("No")%1;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    7 |     for(register int i=0;i<a.size();++i)
      |                      ^
a.cc:9:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    9 |             for(register int j=i+1;j<a.size;++j)
      |                              ^
a.cc:9:40: error: invalid use of member function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]' (did you forget the '()' ?)
    9 |             for(register int j=i+1;j<a.size;++j)
      |                                      ~~^~~~
      |                                            ()
Language: C++

#include <bits/stdc++.h>

using namesapce std;

int main(){
    char input[1000];
    cin >> input;
    int len = stdlen(input);
    for(int i = 0; i < len; i++){
        char ch = input[i];
        if(input[i] == 'C'){
            if(input[i] == 'F'){
                cout << "Yes";
                return 0;
            } else {
                cout << "No";
                return 0;
            }
        } else {
            cout << "No";
            return 0;
        }
    }
}

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namesapce'
    3 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |     cin >> input;
      |     ^~~
      |     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:8:15: error: 'stdlen' was not declared in this scope; did you mean 'strlen'?
    8 |     int len = stdlen(input);
      |               ^~~~~~
      |               strlen
a.cc:13:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |                 cout << "Yes";
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:16:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   16 |                 cout << "No";
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:20:13: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   20 |             cout << "No";
      |             ^~~~
      |             std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<bist/stdc++.h>
using namespace std;
string s;
int i,n,j;
int main()
{
    cin>>s;
    n=s.size();
    for(i=1;i<=n;i++)
    {
        if(s[i]=="C")
        {
            for(j=i+1;j<=n;j++)
            {
                if(s[j]=="F")
                cout<<"Yes";
                return 0;
            }
        }
    }
    cout<<"No";
    return 0;
}

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

#include<iostream>
#include<cstdio>
#include<string>
using namespace std;
#define ia ai
string s;
int l;
int mian()
{
    cin>>s;
    l=s.size();
    for(register int i=0;i<l;i++)
    {
        if(s[i]=='C')
        {
            for(register int j=i+1;j<l;j++)
            {
                if(s[j]=='F')
                {
                    cout<<"Yes";
                    return 0;
                }
            }
        }
    }
    cout<<"No";
    return 0;
}

Compiler output:
a.cc: In function 'int mian()':
a.cc:12:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   12 |     for(register int i=0;i<l;i++)
      |                      ^
a.cc:16:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   16 |             for(register int j=i+1;j<l;j++)
      |                              ^
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include<iostream>
using namespace std;
string s;
int l;
int mian()
{
    cin>>s;
    l=s.length();
    for(int i=0;i<l;i++)
    {
        if(s[i]=='C')
        {
            for( int j=i+1;j<l;j++)
            {
                if(s[j]=='F')
                {
                    cout<<"Yes";
                    return 0;
                }
            }
        }
    }
    cout<<"No";
    return 0;
}

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

// luogu-judger-enable-o2
#include <stdio.h>
#include <string.h>
bool s;
int main()
{
    string a;
    scanf("%s",a);
    int a1=strlen(a+1);
    for(int i=1;i<=a1;i++)
    {
        if(a[i]=='C') 
        {
            for(int j=1;j<=a1;j++)
        if(a[i]=='F')
        {
            printf("Yes");
            return 0;
        }
    }
    }
    printf("NO");
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'string' was not declared in this scope; did you mean 'stdin'?
    7 |     string a;
      |     ^~~~~~
      |     stdin
a.cc:8:16: error: 'a' was not declared in this scope
    8 |     scanf("%s",a);
      |                ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define int ll
inline ll read(){
	ll res=0,f=1;
	char ch=getchar();
	while(ch<'0'||ch>'9'){if(ch=='-')f=-f;ch=getchar();}
	while(ch>='0'&&ch<='9'){res=(res<<3)+(res<<1)+ch-'0';ch=getchar();}
	return res*f;
}
void write(ll x){
	if(x<0) putchar('-'),x=-x;
	if(x>9) write(x/10);
	putchar(x%10|'0');
}
char a[1005];

signed main(){
	cin>>(a+1);
	int len=strlen(a+1);
	int h=0;
	for(int i=1;i<=n;i++){
		if(a[i]=='C') h=1;
		if(h==1&&a[i]=='F') {
			cout<<"Yes"<<endl;
			return 0;
		}
	}
	cout<<"No"<<endl;
}


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

// luogu-judger-enable-o2
#include<iostream>
#include<cstdio>
#include<string>
using namespace std;
string s;
int l;
int mian()
{
    cin>>s;
    l=s.size();
    for(int i=0;i<l;i++)
    {
        if(s[i]=='C')
        {
            for(int j=i+1;j<l;j++)
            {
                if(s[j]=='F')
                {
                    cout<<"Yes"<<endl;
                    return 0;
                }
            }
        }
    }
    cout<<"No"<<endl;
    return 0;
}

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
    string S;
    cin >> S;

    int c = 0;
    int f = 0;

    for (int i = 0; i < N; i++){
        if (S[i] == 'C'){
            c = i;
        }
        else if(S[i] == 'F'){
            f = i;
        }
    }

    if(c < f){
        cout << "Yes" << endl;
    }
    else {
        cout << "No" << endl;
    }
}

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

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

int main() {
  string s;
  cin >> s;
  unordered_set<char> t;
  for(int i = 0; i < s.size(); i++)
    t[s.at(i)];
  if(t.count('C') && t.count('F'))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:6: error: no match for 'operator[]' (operand types are 'std::unordered_set<char>' and '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type' {aka 'char'})
    9 |     t[s.at(i)];
      |      ^
Language: C++

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

int main() {
  string s;
  cin >> s;
  unordered_set<char> t;
  for(int i = 0; i < s.size(); i++)
    t[s.at(i)];
  if(s.count('C') && s.count('F'))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:6: error: no match for 'operator[]' (operand types are 'std::unordered_set<char>' and '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type' {aka 'char'})
    9 |     t[s.at(i)];
      |      ^
a.cc:10:8: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'count'
   10 |   if(s.count('C') && s.count('F'))
      |        ^~~~~
a.cc:10:24: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'count'
   10 |   if(s.count('C') && s.count('F'))
      |                        ^~~~~
Language: C++

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

int main() {
  string s;
  cin >> s;
  unordered_set<char> t;
  for(int i = 0; i < s.size(); i++)
    t.insert(s.at(i));
  if(s.count('C') && s.count('F'))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'count'
   10 |   if(s.count('C') && s.count('F'))
      |        ^~~~~
a.cc:10:24: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'count'
   10 |   if(s.count('C') && s.count('F'))
      |                        ^~~~~
Language: C++

#include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
int main()
{
    string a;
    cin>>a;
    int b=false;
    for(register int i=0;i<a.size();i++)
    {
        if(a[i]=='C')
        flag=true;
        if(a[i]=='F'&&b==true)
        {
            cout<<"Yes";
            return 0;
        }
    } 
    cout<<"No";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   10 |     for(register int i=0;i<a.size();i++)
      |                      ^
a.cc:13:9: error: 'flag' was not declared in this scope
   13 |         flag=true;
      |         ^~~~
Language: C++

#include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
int main()
{
    string a;
    cin>>a;
    int b=false;
    for(int i=0;i<a.size();i++)
    {
        if(a[i]=='C')
        flag=true;
        if(a[i]=='F'&&b==true)
        {
            cout<<"Yes"<<endl;
            return 0;
        }
    } 
    cout<<"No"<<endl;
    return 0;
}

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

#include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
int main()
{
    string a;
    cin>>a;
    int b=false;
    for(int i=0;i<a.size();i++)
    {
        if(a[i]=='C')
        flag=true;
        if(a[i]=='F'&&b==true)
        {
            cout<<"Yes";
            return 0;
        }
    } 
    cout<<"No"<<endl;
    return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
    char a[10000];
    gets(a);
    int pd[100];
    for(int i=0;i<strlen(a);i++)
    {
        if(a[i]=='C')
        {
            pd[0]=1;
        }
        if(a[i]=='F')
        {
            pd[1]=1;
        }
    }
    if(pd[0]==1&&pd[1]==1)
    {
        cout<<"YES"<<endl;
    }
    else cotu<<"NO"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'gets' was not declared in this scope; did you mean 'getw'?
    5 |     gets(a);
      |     ^~~~
      |     getw
a.cc:22:10: error: 'cotu' was not declared in this scope
   22 |     else cotu<<"NO"<<endl;
      |          ^~~~
Language: C++

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

int c;
string s;

int main()
{
    cin>>s;
    for(int i=0;i<s.length();i++)
        if(s[i]=='C')
            c = 1;
        if(s[i]=='F' && c)
        {
            cout<<"Yes\n";
            exit(0);
        }
    cout<<"No\n";
    
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: 'i' was not declared in this scope
   13 |         if(s[i]=='F' && c)
      |              ^
Language: C++

#include<iostream>
using namespace std;
int n,m;
char a[100000];
int main()
{
    for(int i=1;i<=100000)
    {
        while(cin>>a[i])
        {
            if(a[i]=='F')
            m=i;
        }
    }
    for(int i=1;i<=100000)
    {
        if(a[i]=='C')
        {
            n=i;
            break;
        }
    }
    if(n==0||m==0)
    cout<<"No";
    else
    {
        if(m>n)
        cout<<"Yes";
        else
        cout<<"No";
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:26: error: expected ';' before ')' token
    7 |     for(int i=1;i<=100000)
      |                          ^
      |                          ;
a.cc:15:26: error: expected ';' before ')' token
   15 |     for(int i=1;i<=100000)
      |                          ^
      |                          ;
Language: C++

#include<iostream>
#include<cstdio>
#include<string>
using namespace std;
int mian()
{
	long long n,i,j;
	string s;
    cin>>s;
    n=s.size();
    for(i=0;i<n;i++)
    {
        if(s[i]=='C')
        {
            for(j=i+1;j<n;j++)
            {
                if(s[j]=='F')
                {
                    cout<<"Yes";
                    return 0;
                }
            }
        }
    }
    cout<<"No";
    return 0;
}

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
    char a;
    a=getchar();
    while(a>='A'&&a<='Z'){
        if(a=='C')cnt++;
        if(cnt==1&&a=='F'){
            cout<<"Yes";
            return 0;
        }
        a=getchar();
    }
    cout<<"No";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: 'cnt' was not declared in this scope; did you mean 'int'?
    7 |         if(a=='C')cnt++;
      |                   ^~~
      |                   int
a.cc:8:12: error: 'cnt' was not declared in this scope; did you mean 'int'?
    8 |         if(cnt==1&&a=='F'){
      |            ^~~
      |            int