Submission #2864397
Source Code Expand
#include<iostream> #include<cstdio> #include<string> using namespace std; string s; 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; }
Submission Info
Submission Time | |
---|---|
Task | A - CF |
User | luogu_bot4 |
Language | C++ (GCC 5.4.1) |
Score | 0 |
Code Size | 463 Byte |
Status | CE |
Compile Error
./Main.cpp: In function ‘int mian()’: ./Main.cpp:10:15: error: ‘strlen’ was not declared in this scope l=strlen(s); ^