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

#include<bits/stdc++.h>
using namespace std;
int C_POS=-1;
int rp;
char command[10000];
int main()
{
	gets(command);
	for(int i=0;i<strlen(command);i++)
	{
		if(command[i]=='C')
		{
			rp++;
			first_C=!first_C;
			C_POS=i;
		}
		if(command[i]=='F' && i>C_POS && C_POS!=-1)
		{
			rp++;
			first_F=!first_F;
		}
		if(rp==2)
		{
			cout<<"Yes";
			return 0;
		}
	}
	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(command);
      |         ^~~~
      |         getw
a.cc:14:25: error: 'first_C' was not declared in this scope
   14 |                         first_C=!first_C;
      |                         ^~~~~~~
a.cc:20:25: error: 'first_F' was not declared in this scope
   20 |                         first_F=!first_F;
      |                         ^~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
char s[10001];
int l;
int main()
{
    scanf("%s ",s)
    l=strlen(s);
    for( int i=0;i<l;i++)
    {
        if(s[i]=='C')
        {
            for(int j=i+1;j<l;j++)
            {
                if(s[j]=='F')
                {
                    printf("Yes\n");
                    return 0;
                }
            }
        }
    }
    printf("No\n");
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: expected ';' before 'l'
    7 |     scanf("%s ",s)
      |                   ^
      |                   ;
    8 |     l=strlen(s);
      |     ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
char n[50001]
int main()
{
    int i,ans=0,sum=0;
    gets(n);
    int len=strlen(n);
    for(i=0;i<len;++i)
    {
        if(n[i]='C')
           ans++;
        if(n[i]='F')
           sum++;
    }
    if(ans!=0&&sum!=0)
        cout<<"yes";
    else
        cout<<"no";
    return 0;
}

Compiler output:
a.cc:4:1: error: expected initializer before 'int'
    4 | int main()
      | ^~~
Language: C++

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

Compiler output:
a.cc: In function 'void hh()':
a.cc:4:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
    4 |     return 0;
      |            ^
a.cc: In function 'int main()':
a.cc:10:5: error: 'gets' was not declared in this scope; did you mean 'getw'?
   10 |     gets(aa);
      |     ^~~~
      |     getw
Language: C++

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

Compiler output:
a.cc: In function 'void hh()':
a.cc:4:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
    4 |     return 0;
      |            ^
a.cc: In function 'int main()':
a.cc:10:5: error: 'gets' was not declared in this scope; did you mean 'getw'?
   10 |     gets(aa);
      |     ^~~~
      |     getw
a.cc:13:27: error: 'l' was not declared in this scope
   13 |             for(int j=i;j<l;j++){
      |                           ^
Language: C++

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

Compiler output:
a.cc: In function 'void hh()':
a.cc:4:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
    4 |     return 0;
      |            ^
a.cc: In function 'int main()':
a.cc:10:5: error: 'gets' was not declared in this scope; did you mean 'getw'?
   10 |     gets(aa);
      |     ^~~~
      |     getw
a.cc:13:27: error: 'l' was not declared in this scope
   13 |             for(int j=i;j<l;j++){
      |                           ^
a.cc:21:5: error: 'else' without a previous 'if'
   21 |     else cout<<"No"<<endl;
      |     ^~~~
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'gets' was not declared in this scope; did you mean 'getw'?
    7 |     gets(a);
      |     ^~~~
      |     getw
a.cc:8:26: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    8 |     for(int i=0;i<strlen(a);i++){
      |                          ^
      |                          |
      |                          int
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:407:35: note:   initializing argument 1 of 'size_t strlen(const char*)'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: conflicting declaration 'char a [10005]'
    6 |     char a[10005];
      |          ^
a.cc:4:9: note: previous declaration as 'int a'
    4 |     int a,b;
      |         ^
a.cc:7:5: error: 'gets' was not declared in this scope; did you mean 'getw'?
    7 |     gets(a);
      |     ^~~~
      |     getw
a.cc:8:26: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    8 |     for(int i=0;i<strlen(a);i++){
      |                          ^
      |                          |
      |                          int
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:407:35: note:   initializing argument 1 of 'size_t strlen(const char*)'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
a.cc:9:13: error: invalid types 'int[int]' for array subscript
    9 |         if(a[i]=='C') a++;
      |             ^
a.cc:10:13: error: invalid types 'int[int]' for array subscript
   10 |         if(a[i]=='F') b++;
      |             ^
a.cc:12:10: error: 'i' was not declared in this scope
   12 |     if(a[i]!=0&&b[i]!=0) cout<<"Yes"<<endl;
      |          ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |          if(s[i]=="C"){
a.cc:16:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   16 |           if(s[i]=="F"){
Language: C++

var
  i,l:longint;
  s:string;
begin
  readln(s);
  l:=pos('C',s);
  for i:= l to length(s)  do
  begin
    if (s[i]='F')  then begin writeln('Yes');exit;end;
  end;
  writeln('No');
end.

Compiler output:
a.cc:9:39: warning: multi-character character constant [-Wmultichar]
    9 |     if (s[i]='F')  then begin writeln('Yes');exit;end;
      |                                       ^~~~~
a.cc:11:11: warning: multi-character character constant [-Wmultichar]
   11 |   writeln('No');
      |           ^~~~
a.cc:1:1: error: 'var' does not name a type
    1 | var
      | ^~~
a.cc:3:4: error: found ':' in nested-name-specifier, expected '::'
    3 |   s:string;
      |    ^
      |    ::
a.cc:3:3: error: 's' does not name a type
    3 |   s:string;
      |   ^
a.cc:4:1: error: 'begin' does not name a type
    4 | begin
      | ^~~~~
a.cc:6:3: error: 'l' does not name a type
    6 |   l:=pos('C',s);
      |   ^
a.cc:7:3: error: expected unqualified-id before 'for'
    7 |   for i:= l to length(s)  do
      |   ^~~
a.cc:9:46: error: 'exit' does not name a type
    9 |     if (s[i]='F')  then begin writeln('Yes');exit;end;
      |                                              ^~~~
a.cc:1:1: note: 'exit' is defined in header '<cstdlib>'; this is probably fixable by adding '#include <cstdlib>'
  +++ |+#include <cstdlib>
    1 | var
a.cc:9:51: error: 'end' does not name a type
    9 |     if (s[i]='F')  then begin writeln('Yes');exit;end;
      |                                                   ^~~
a.cc:10:3: error: 'end' does not name a type
   10 |   end;
      |   ^~~
a.cc:11:10: error: expected constructor, destructor, or type conversion before '(' token
   11 |   writeln('No');
      |          ^
a.cc:12:1: error: 'end' does not name a type
   12 | end.
      | ^~~
Language: C++

#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";
                    return 0;
                }
            }
        }
    }
    puts("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<string>
using namespace std;
string a;
int main(){
    cin>>a;
    for(int i=0;i<a.size()-1;++i)
    {
        if(a[i]=='C'&&a[i+1]=='F'){ puts("YES")return 0;};
    }
    puts("NO");
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:48: error: expected ';' before 'return'
    9 |         if(a[i]=='C'&&a[i+1]=='F'){ puts("YES")return 0;};
      |                                                ^~~~~~
      |                                                ;
Language: C++

#include<bits/stdc++.h>
#define Re register
using namespace std
int main(){
    string s;cin>>s;    
    bool C=0,F=0;
    int L=s.length();
    for(Re int i=0;i<L;i++){
        if(s[i]=='C'&&!C)C=1;
        if(s[i]=='F'&&!F&&C)F=1;
    if(C&&F){cout<<"Yes";return 0;}
        
    }
    cout<<"No";
    return 0;
}


Compiler output:
a.cc:3:20: error: expected ';' before 'int'
    3 | using namespace std
      |                    ^
      |                    ;
    4 | int main(){
      | ~~~                 
a.cc: In function 'int main()':
a.cc:8:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    8 |     for(Re int i=0;i<L;i++){
      |                ^
Language: C++

#include<bits/stdc++.h>
#define Re register
using namespace std
int main(){
    srting s;cin>>s;    
    bool C=0,F=0;
    int L=s.length();
    for(Re int i=0;i<L;i++){
        if(s[i]=='C'&&!C)C=1;
        if(s[i]=='F'&&!F&&C)F=1;
    if(C&&F){cout<<"Yes";return 0;}
        
    }
    cout<<"No";
    return 0;
}


Compiler output:
a.cc:3:20: error: expected ';' before 'int'
    3 | using namespace std
      |                    ^
      |                    ;
    4 | int main(){
      | ~~~                 
a.cc: In function 'int main()':
a.cc:5:5: error: 'srting' was not declared in this scope
    5 |     srting s;cin>>s;
      |     ^~~~~~
a.cc:5:19: error: 's' was not declared in this scope
    5 |     srting s;cin>>s;
      |                   ^
a.cc:8:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    8 |     for(Re int i=0;i<L;i++){
      |                ^
Language: C++

#include<bits/stdc++.h>
#define Re register
using namespace std
int main(){
    srting s;cin>>s;bool C=0,F=0,c=0,f=0;
    int L=s.length();
    for(Re int i=0;i<L;i++){
        if(s[i]=='C'&&!C)c=1,C=1;
        if(s[i]=='F'&&!F&&C)f=1,F=1;
    if(C&&F){cout<<"Yes";return 0;}
        
    }
    cout<<"No";
    return 0;
}


Compiler output:
a.cc:3:20: error: expected ';' before 'int'
    3 | using namespace std
      |                    ^
      |                    ;
    4 | int main(){
      | ~~~                 
a.cc: In function 'int main()':
a.cc:5:5: error: 'srting' was not declared in this scope
    5 |     srting s;cin>>s;bool C=0,F=0,c=0,f=0;
      |     ^~~~~~
a.cc:5:19: error: 's' was not declared in this scope
    5 |     srting s;cin>>s;bool C=0,F=0,c=0,f=0;
      |                   ^
a.cc:7:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    7 |     for(Re int i=0;i<L;i++){
      |                ^
Language: C++

#include<stdio.h>
#include<string.h>
char ch[10000010];
int main ( )
{
    scanf("%s",ch);
    for(int i=0;i<strlen(ch);i++)
    {
        if(ch[i]=='C')flag=1;
        if(ch[i]=='F'&&flag)
            return puts("Yes")&0;
    }
    puts("No");
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: 'flag' was not declared in this scope
    9 |         if(ch[i]=='C')flag=1;
      |                       ^~~~
a.cc:10:24: error: 'flag' was not declared in this scope
   10 |         if(ch[i]=='F'&&flag)
      |                        ^~~~
Language: C++

import java.util.Scanner;
import java.util.regex.*;
public class Main
{
	public static void main(String args[])
	{
		Scanner input=new Scanner(System.in);
		String str=input.nextLine();
		String pattern="*C*F*";
		if(Pattern.matches(pattern,str)) System.out.println("Yes");
		else System.out.println("No");
   }
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
    2 | import java.util.regex.*;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main
      | ^~~~~~
Language: C++

import java.util.Scanner;
import java.util.regex.*;
public class Main
{
	public static void main(String args[])
	{
		Scanner input=new Scanner(System.in);
		String str=input.nextLine();
		String pattern=".*C.*F.*";
		if(Pattern.matches(pattern,str)) System.out.println("Yes");
		else System.out.println("No");
   }
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
    2 | import java.util.regex.*;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main
      | ^~~~~~
Language: C++

#include <iostream>
#include <cstdio>
#include <cstring>
#include <string.h>
using namespace std;
int main()
{
    char a[500],stack[500],t;//t用来存出栈元素
    int top=0;//指针初始化0
    cin>>a;//读入
    for(int i=0;i<strlen(a);i++)
    {
        if(a[i]=='F'&&top==0)
        continue;//如果栈是空的且读到了F，就进行下一次循环
        else if(a[i]=='C')
        {      
        stack[top++]=a[i];//读到了C就进栈
        }
        else
        { 
            if(a[i]=='F')
            {
            t=strack[--top];//读到F就出栈
            break;//因为已经有一对CF了，所以后面没必要读下去，那么就跳出了
            }
        }
    }
    if(t=='C')
    cout<<"Yes"<<endl;//如果出来的是C就Yes
    else
    cout<<"No"<<endl;//否则No

}

Compiler output:
a.cc: In function 'int main()':
a.cc:23:15: error: 'strack' was not declared in this scope; did you mean 'stack'?
   23 |             t=strack[--top];//读到F就出栈
      |               ^~~~~~
      |               stack
Language: C++

// by DEADFISH
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<cmath>
#include<cstring>
#define p 1e6+7
#define N 10010
#define mc(a,b) memset(a,b,sizeof(a))
#define close std::ios::sync_with_stdio(false)
using namespace std;
typedef long long ln;
string s; 
int main()
{
	cin>>s;
	int len=s.length();
	for(int i=0;i<len;i++)
	{
		if(s[i]=='C') for(int j=i;j<=len;j++)
		{
			if(s[j]=='F') flag=1;
		}
	}
	if(flag) cout<<"Yes";
	else cout<<"No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:39: error: 'flag' was not declared in this scope
   22 |                         if(s[j]=='F') flag=1;
      |                                       ^~~~
a.cc:25:12: error: 'flag' was not declared in this scope
   25 |         if(flag) cout<<"Yes";
      |            ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main() {
	bool a=0,b=0;
	char p=getchar();
	while(p!='\n') {
		if (p=='C'&&b==1)a=1,b=0;
		if (p=='F')b=1;
		if (a==1&&b==1){
		    cout<<"Yes";
		    return 0;
		}
		p=getchar();
	}
	if (a==1&&b==1)
		cout<<"Yes";
	else cout<<"No";
}#include<bits/stdc++.h>
using namespace std;
int main(){
	char a[1005];
	int la=1;
	bool flag=0;
	a[la]=getchar();
	while(a[la]!='\n'){
		if(a[la]=='C')flag=1;
		else if(a[la]=='F'&&flag)return puts("Yes"),0;
		la++;
		a[la]=getchar();
	}
	puts("No");
}

Compiler output:
a.cc:18:2: error: stray '#' in program
   18 | }#include<bits/stdc++.h>
      |  ^
a.cc:18:3: error: 'include' does not name a type
   18 | }#include<bits/stdc++.h>
      |   ^~~~~~~
a.cc:20:5: error: redefinition of 'int main()'
   20 | int main(){
      |     ^~~~
a.cc:3:5: note: 'int main()' previously defined here
    3 | int main() {
      |     ^~~~
Language: C++

#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";
                    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<cstring>
using namespace std;
string a,b='CF'; 
int al,bl;
int main()
{
    getline(cin,a);
    al=a.size();
    for(int i=0;i<al;i++)
        if(a[i]==b[bl])
		{ 
            bl++;
            if(bl==2)  
                break;
        }
    if(bl==2) cout<<"Yes"; 
    else cout<<"No";
    cout<<endl;
    return 0;
}

Compiler output:
a.cc:4:12: warning: multi-character character constant [-Wmultichar]
    4 | string a,b='CF';
      |            ^~~~
a.cc:4:12: error: conversion from 'int' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    char c=getchar();
    bool f=false,f1=false;
    while (c!=EOF)
    {
        if (c=='C') f=true;
        if (c=='F'&&f==true) f1=true;
    }
    if (f==true&&f1=true) cout<<"Yes\n";
    else cout<<"No\n";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:16: error: lvalue required as left operand of assignment
   12 |     if (f==true&&f1=true) cout<<"Yes\n";
      |         ~~~~~~~^~~~
Language: C++

#include<cstdio>
#include<cstring>
char a[10010];
bool c,f;
int main() {
    cin>>a;
    for(int i=0;i<strlen(a);i++) {
        if(a[i]=='C') c=1;
        if(a[i]=='F'&&c==1) f=1;
    }
    if(f==1) cout<<"Yes"<<endl;
    else cout<<"No"<<endl; 
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin>>a;
      |     ^~~
a.cc:11:14: error: 'cout' was not declared in this scope
   11 |     if(f==1) cout<<"Yes"<<endl;
      |              ^~~~
a.cc:11:27: error: 'endl' was not declared in this scope
   11 |     if(f==1) cout<<"Yes"<<endl;
      |                           ^~~~
a.cc:12:10: error: 'cout' was not declared in this scope
   12 |     else cout<<"No"<<endl;
      |          ^~~~
a.cc:12:22: error: 'endl' was not declared in this scope
   12 |     else cout<<"No"<<endl;
      |                      ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
char s[200];
int l;
int mian()
{
    cin>>s;
    l=strlen(s);
    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"<<endl;
                    return 0;
                }
            }
        }
    }
    cout<<"No"<<endl;
    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<iostream>
#include<cstring>
#include<algorithm>
using namespace std;
int main(){
	string s;int ans1=0,ans2=0;
	len=s.length;
	for(int i=0;i<len;i++){
		if(a[i]=='C') ans1=i;
		if(a[i]=='F') ans2=i; 
	}
	if(ans1!=0&&ans2!=0&&ans<ans2) cout<<"Yes";
	else cout<<"No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'len' was not declared in this scope; did you mean 'mblen'?
    7 |         len=s.length;
      |         ^~~
      |         mblen
a.cc:9:20: error: 'a' was not declared in this scope
    9 |                 if(a[i]=='C') ans1=i;
      |                    ^
a.cc:10:20: error: 'a' was not declared in this scope
   10 |                 if(a[i]=='F') ans2=i;
      |                    ^
a.cc:12:30: error: 'ans' was not declared in this scope; did you mean 'ans2'?
   12 |         if(ans1!=0&&ans2!=0&&ans<ans2) cout<<"Yes";
      |                              ^~~
      |                              ans2
Language: C++

#include <iostream>
using namespace std;
int main()
{
    char ch[10000]='0';
    cin>>ch;
    int k,x,l;
    for (int i=1;i<=10000;i++) if (ch[i]=='0') {l=i-1;break;}
    for (int i=1;i<=l;i++) if (ch[i]=='f') k=i;
    for (int i=l;i>=1;i--) if (ch[i]=='c') x=i;
    if (x<k) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:20: error: array must be initialized with a brace-enclosed initializer
    5 |     char ch[10000]='0';
      |                    ^~~
Language: C++

#include <iostream>
using namespace std;
int main()
{
    char ch[10000];
    cin>>ch;
    int l=strlen(ch);
    int k,x;
    for (int i=1;i<=l;i++) if (ch[i]=='f') k=i;
    for (int i=l;i>=1;i--) if (ch[i]=='c') x=i;
    if (x<k) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: 'strlen' was not declared in this scope
    7 |     int l=strlen(ch);
      |           ^~~~~~
a.cc:2:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    1 | #include <iostream>
  +++ |+#include <cstring>
    2 | using namespace std;
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"<<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;
    for(int i=0;i<=s.size;i++){
        if(s[i]=='C'){
            for(int j=i+1;j<=s.size;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:6:22: 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 '()' ?)
    6 |     for(int i=0;i<=s.size;i++){
      |                    ~~^~~~
      |                          ()
a.cc:8:32: 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 '()' ?)
    8 |             for(int j=i+1;j<=s.size;j++){
      |                              ~~^~~~
      |                                    ()
Language: C++

#include <bits/stdc++.h>
 
using namespace std;
#define ll long long
 
void init();
void solve();
 
#define rep(i, a) for (int i = 0; (i) < (int) (a); (i)++)
#define reps(i, a, b) for (int i = (int) (a); (i) < (int) (b); (i)++)
#define rrep(i, a) for (int i = (int) a-1; (i) >= 0; (i)--)
#define rreps(i, a, b) for (int i = (int) (a)-1; (i) >= (int) (b); (i)--)
#define MP(a, b) make_pair((a), (b))
#define PB(a) push_back((a))
#define all(v) (v).begin(), (v).end()
#define PERM(v) next_permutation(all(v))
#define UNIQUE(v) sort(all(v));(v).erase(unique(all(v)), v.end())
#define CIN(type, x) type x;cin >> x
#define TRUE__  "Yes"
#define FALSE__ "No"
#define PRINT(f) if((f)){cout << (TRUE__) << endl;}else{cout << FALSE__ << endl;}
 
#ifdef LOCAL
#define lcout(a) cout << a;
#define lcoutln(a) cout << a << endl;
#define lcerr(a) cerr << a;
#define lcerrln(a) cerr << a << endl;
#else
#define lcout(a) 
#define lcoutln(a) 
#define lcerr(a) 
#define lcerrln(a) 
#endif
 
#define MOD 1000000007
 
signed main()
{
	init();
	solve();
}

string s;
int l;

void init()
{
  cin >> s;
  l = s.length();
}
 
void solve()
{
  rep(i, l-1) {
    if (s[i] != 'C') continue;
    rep(j, i+1, l) {
      if (s[j] == 'F') {
        cout << "Yes" << endl;
        return;
      }
    }
  }
  cout << "No" << endl;
}

Compiler output:
a.cc:56:18: error: macro "rep" passed 3 arguments, but takes just 2
   56 |     rep(j, i+1, l) {
      |                  ^
a.cc:9:9: note: macro "rep" defined here
    9 | #define rep(i, a) for (int i = 0; (i) < (int) (a); (i)++)
      |         ^~~
a.cc: In function 'void solve()':
a.cc:56:5: error: 'rep' was not declared in this scope
   56 |     rep(j, i+1, l) {
      |     ^~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: invalid types 'int[int]' for array subscript
   10 |                 if (s[i]=='C')
      |                      ^
a.cc:14:31: error: invalid types 'int[int]' for array subscript
   14 |                          if (s[j]=='K')
      |                               ^
a.cc:15:38: error: expected primary-expression before 'return'
   15 |                          cout<<"Yes",return 0;
      |                                      ^~~~~~
a.cc:19:20: error: expected primary-expression before 'return'
   19 |         cout<<"No",return 0;
      |                    ^~~~~~
Language: C++

#include<iostream>
#include<cstring>
char a[10086];
bool c, f;
int main() {
    cin>>a;
    for(int i=0; i<strlen(a); i++) {
        if(a[i]=='C') c=true;
        if(a[i]=='F'&&c==true) f=true;
    }
    if(f==true) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
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 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:11:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     if(f==true) cout<<"Yes"<<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:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |     if(f==true) cout<<"Yes"<<endl;
      |                              ^~~~
      |                              std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:12:10: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |     else cout<<"No"<<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:12:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |     else cout<<"No"<<endl;
      |                      ^~~~
      |                      std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iosrteam>
#include<cstring>
char a[10086];
bool c, f;
int main() {
    cin>>a;
    for(int i=0; i<strlen(a); i++) {
        if(a[i]=='C') c=true;
        if(a[i]=='F'&&c==true) f=true;
    }
    if(f==true) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    return 0;
}

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

#include<iostream>
using namespace std;

int main(){
  string str;
  cin >> str;
  bool is_c = false;
  for(int i=0;i<s.size();i++){
    if(str[i] == "C"){
      is_c = true;
    }
    if(is_c && str[i] == "F")
    {
      cout << "Yes" << endl;
      return 0;
    }
  }
  
  cout << "No" << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: 's' was not declared in this scope
    8 |   for(int i=0;i<s.size();i++){
      |                 ^
a.cc:9:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |     if(str[i] == "C"){
a.cc:12:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   12 |     if(is_c && str[i] == "F")
Language: C++

#include<iostream>
using namespace std;

int main(){
  string str;
  cin >> str;
  bool is_c = flase;
  for(int i=0;i<s.size();i++){
    if(str[i] == "C"){
      is_c = true;
    }
    if(is_c && str[i] == "F")
    {
      cout << "Yes" << endl;
      return 0;
    }
  }
  
  cout << "No" << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: 'flase' was not declared in this scope; did you mean 'fclose'?
    7 |   bool is_c = flase;
      |               ^~~~~
      |               fclose
a.cc:8:17: error: 's' was not declared in this scope
    8 |   for(int i=0;i<s.size();i++){
      |                 ^
a.cc:9:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |     if(str[i] == "C"){
a.cc:12:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   12 |     if(is_c && str[i] == "F")
Language: C++

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

//前排出租广告位 
//前排出租广告位 
//此广告已被河蟹 
/*  
	1.FFF团并不以烧为代表而是以审判为代表（异端审判！审和判是两件事，烧只能勉强算作判的一种）；

	2.FFF团只对自己团内与异性有不纯洁交往的嫌疑的团员审判过（也就是FFF团审判标准是看行为）；

	3.FFF团并不反对异性恋甚至追求脱团（毕竟除了坂本原作团员大部分都是希望脱团的）；

	4.FFF团的教义为共同获得幸福（小说动画均有提及，不过其目的是不想让其他团员不独自获得幸福）；

	5.FFF团并不是同性恋组织（但并不反对同性恋，其实就是对于同性恋并无任何表示但笨召不防腐）；

	6.FFF团并不针对所有的情侣（须川亮甚至撮合过船越老师和明久，而后明久把邻居介绍给了老师）；

	7.FFF团团员并非全部单身（雄二一直和翔子是男女朋友关系）；

	8.FFF团团员对于非不纯洁的异性交往表示认可（12.5圣诞篇表示由于规定而亲吻不算不纯交往）；

	9.FFF团遵守法律进行行动（12.5圣诞篇提及这样就算干掉明久也不违法，且团员被校长认可）；

	10.FFF团并非全是自己不受欢迎而入团的（秀吉也是团员。并且瑞希美波她们也希望参与只是被拒绝）。
 */

Compiler output:
a.cc: In function 'int main()':
a.cc:8:28: error: overloaded function with no contextual type information
    8 |         for(int i=0;i<size.a;i++)
      |                            ^
Language: C++

#include<iostream>
#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";
                    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;

#define _overload3(_1,_2,_3,_4,name,...) name
#define _rep(i,n) _repi(i,0,n)
#define _repi(i,a,b) for(int i=a, i##_len=(b); i<i##_len; ++i)
#define _repis(i,a,b,s) for(int i=a, i##_len(b); i<i##_len; i+=s)
#define REP(...) _overload3(__VA_ARGS__,_repis,_repi,_rep,)(__VA_ARGS__)

#define REPR(i, n) for(int i = n;i >= 0;--i)
#define REPARR(i, v) for(int i = 0;i < sz(v);++i)

#define YES(n) cout<<((n)?"YES":"NO")<<endl
#define Yes(n) cout<<((n)?"Yes":"No")<<endl
#define yes(n) cout<<((n)?"yes":"no")<<endl
#define poss(n) cout<<((n)?"possible":"impossible")<<endl
#define Poss(n) cout<<((n)?"Possible":"Impossible")<<endl
#define POSS(n) cout<<((n)?"POSSIBLE":"IMPOSSIBLE")<<endl

int main(){
    string s;
    int stat=0;
    cin>>s;
    REPARR(i,s){
        if(s[i]=='C'&&stat==0){
            stat=1;
        }else if(s[i]=='F'&&stat==1){
            stat=2;
            break;
        }
    }
    Yes(stat==2);
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:40: error: 'sz' was not declared in this scope; did you mean 's'?
   12 | #define REPARR(i, v) for(int i = 0;i < sz(v);++i)
      |                                        ^~
a.cc:25:5: note: in expansion of macro 'REPARR'
   25 |     REPARR(i,s){
      |     ^~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: expected ';' before 'for'
    9 |     b=a.size()
      |               ^
      |               ;
   10 |     for(int i=1;i<b;i++)
      |     ~~~        
a.cc:10:17: error: 'i' was not declared in this scope
   10 |     for(int i=1;i<b;i++)
      |                 ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:26: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'const char*'
    8 |     for(int i=1;i<strlen(a);i++)
      |                          ^
      |                          |
      |                          std::string {aka std::__cxx11::basic_string<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:407:35: note:   initializing argument 1 of 'size_t strlen(const char*)'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
a.cc:12:36: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'const char*'
   12 |             for(int j=i+1;j<strlen(a);j++)
      |                                    ^
      |                                    |
      |                                    std::string {aka std::__cxx11::basic_string<char>}
/usr/include/string.h:407:35: note:   initializing argument 1 of 'size_t strlen(const char*)'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:27: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'const char*'
    8 |     for(int i=1;i<=strlen(a);i++)
      |                           ^
      |                           |
      |                           std::string {aka std::__cxx11::basic_string<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:407:35: note:   initializing argument 1 of 'size_t strlen(const char*)'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
a.cc:12:37: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'const char*'
   12 |             for(int j=i+1;j<=strlen(a)-i;j++)
      |                                     ^
      |                                     |
      |                                     std::string {aka std::__cxx11::basic_string<char>}
/usr/include/string.h:407:35: note:   initializing argument 1 of 'size_t strlen(const char*)'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
Language: C++

#include<iostream>
#include<cstdio>
#include<string>
using namespace std;
char s[100000];
int l;
int mian()
{
    cin>>s;
    l=strlen(s);
    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:
a.cc: In function 'int mian()':
a.cc:10:7: error: 'strlen' was not declared in this scope
   10 |     l=strlen(s);
      |       ^~~~~~
a.cc:3:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    2 | #include<cstdio>
  +++ |+#include <cstring>
    3 | #include<string>
Language: C++

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

int main(void)
{
	bool flag_1(false);
	char *str;
	gets(str);
	for(int i=0;i<strlen(str);i++)
	{
		if(str[i]=='C')
			flag_1=true;
		if(str[i]=='F'&&flag_1)
		{
			printf("YES\n");
			return 0;
		}
	}
	printf("NO\n");
	return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
string a;
int main(){
	cin>>ch;
	bool flag=false;
	for(int i=0;i<ch.size();i++){
		if(a[i]=='C')flag=true;
		if(flag&&a[i]=='F'){
			cout<<"Yes"<<endl;
			exit(0);
		}
	}
	printf("No\n");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:14: error: 'ch' was not declared in this scope
    5 |         cin>>ch;
      |              ^~
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: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<bits/stdc++.h>
using namespace std;
char a[100000000000];
int main()
{gets(a);
 int m=strlen(a);
 int p=0,q=0;
 for(int i=0;i<m;i++)
   if(a[i]=='C')
    {p=i;
    }
 for(int i=m-1;i>0;i--)
   if(a[i]=='F')
    {q=i;
    }   
 if(p<q)
  cout<<"Yes";
 else
  cout<<"No";
}

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

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

int main(){
  string s,ans="";
  cin>>s;
  int i
  for(i=0;i<s.size();i++){
    if(s[i]=='C'){
      break;
    }
    if(i==s.size()-2){
      cout<<"No"<<endl;
      return 0;
    }
  }
  for(int j=i+1;j<s.size();j++){
    if(s[j]=='F'){
      cout<<"Yes"<<endl;
      return 0;
    }
  }
  cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected initializer before 'for'
    8 |   for(i=0;i<s.size();i++){
      |   ^~~
a.cc:8:11: error: 'i' was not declared in this scope
    8 |   for(i=0;i<s.size();i++){
      |           ^
Language: C++

import re
print ['No', 'Yes'][re.match('.*C.*F.*', raw_input()) != None]


Compiler output:
a.cc:2:8: warning: multi-character character constant [-Wmultichar]
    2 | print ['No', 'Yes'][re.match('.*C.*F.*', raw_input()) != None]
      |        ^~~~
a.cc:2:14: warning: multi-character character constant [-Wmultichar]
    2 | print ['No', 'Yes'][re.match('.*C.*F.*', raw_input()) != None]
      |              ^~~~~
a.cc:2:30: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
    2 | print ['No', 'Yes'][re.match('.*C.*F.*', raw_input()) != None]
      |                              ^~~~~~~~~~
a.cc:1:1: error: 'import' does not name a type
    1 | import re
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    strint s;
    cin>>s;
    int x=0;
    for(int i=0;i<s.length();i++)
    {
        if(x==0&&s[i]=='C') x=1;
        else if(x==1&&s[i]=='F') x=2;
    }
    if(x==2) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'strint' was not declared in this scope; did you mean 'strcat'?
    5 |     strint s;
      |     ^~~~~~
      |     strcat
a.cc:6:10: error: 's' was not declared in this scope
    6 |     cin>>s;
      |          ^
Language: C++

include<bits/stdc++.h> 
using namespace std; 
int main()
{ 
    cout<<yes;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:5: error: 'cout' was not declared in this scope
    5 |     cout<<yes;
      |     ^~~~
a.cc:5:11: error: 'yes' was not declared in this scope
    5 |     cout<<yes;
      |           ^~~
Language: Java

import java.util.Scanner;
public class Main {
    public static void main(String args[]) {
        Scanner sc=new Scanner(System.in);
        String s=sc.nextLine();
        if (s.contains("C")) {
            s=s.substring(indexOf("C")+1);
            if (s.contains("F")) {
                System.out.println("Yes");
            }
        }else {
            System.out.println("No");
        }
    }
}

Compiler output:
Main.java:7: error: cannot find symbol
            s=s.substring(indexOf("C")+1);
                          ^
  symbol:   method indexOf(String)
  location: class Main
1 error
Language: Java

import java.util.Scanner;
public class Main {
    public static void main(String args[]) {
        Scanner sc=new Scanner(System.in);
        String s=sc.nextLine();
        if (s.contains("C")) {
            s=s.substring(indexOf("C")+1);
            if (s.contains("F") {
                System.out.println("Yes");
            }
        }else {
            System.out.println("No");
        }
    }
}

Compiler output:
Main.java:8: error: ')' expected
            if (s.contains("F") {
                               ^
1 error
Language: C++

#include<cstdio>
#include<cstdlib>
char s[1001];
int main() {    
    srand(time(0));
    scanf("%s",s);
    printf(rand()%2==0?"Yes":"No");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:11: error: 'time' was not declared in this scope
    5 |     srand(time(0));
      |           ^~~~
a.cc:3:1: note: 'time' is defined in header '<ctime>'; this is probably fixable by adding '#include <ctime>'
    2 | #include<cstdlib>
  +++ |+#include <ctime>
    3 | char s[1001];
Language: C++

#include<cstdio>
#include<cstdlib>
int main() {    
    scanf("%s",&s);
    printf(rand()%2==0?"Yes":"No");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:17: error: 's' was not declared in this scope
    4 |     scanf("%s",&s);
      |                 ^
Language: C++

#include<cstdio>
int main() {
    scanf("%s",&s);
    printf(rand()%2==0?"Yes":"No");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:17: error: 's' was not declared in this scope
    3 |     scanf("%s",&s);
      |                 ^
a.cc:4:12: error: 'rand' was not declared in this scope
    4 |     printf(rand()%2==0?"Yes":"No");
      |            ^~~~