Submission #2251562
Source Code Expand
#include<bits/stdc++.h> using namespace std; int n; bool c,f; string s; int main() { cin>>s; for(i=0;i<n;i++) if(s[i]=='C') { c=false; for(j=i;j<n;j++) if(s[i]=='F') { cout<<"Yes"<<endl; return 0; } } return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - CF |
User | luogu_bot4 |
Language | C++ (GCC 5.4.1) |
Score | 0 |
Code Size | 295 Byte |
Status | CE |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:9:9: error: ‘i’ was not declared in this scope for(i=0;i<n;i++) ^ ./Main.cpp:13:10: error: ‘j’ was not declared in this scope for(j=i;j<n;j++) ^