Submission #941956


Source Code Expand

#include <bits/stdc++.h>

using namespace std;

#define fst(t) std::get<0>(t)
#define snd(t) std::get<1>(t)
#define thd(t) std::get<2>(t)

using ll = long long;
using P = std::tuple<int,int>;

const int dx[8] = {-1, 1, 0, 0, -1, -1, 1, 1}, dy[8] = {0, 0, -1, 1, -1, 1, -1, 1};

int main(){
    //*
    std::cin.tie(nullptr);
    std::ios::sync_with_stdio(false);
    /*/
      /*/

    string S;
    std::cin >> S;

    bool fc = false;

    for(const char &c : S){
        if(c == 'C'){fc = true;}
        if(c == 'F' && fc){
            std::cout << "YES" << std::endl;
            return 0;
        }
    }

    std::cout << "NO" << std::endl;
}

Submission Info

Submission Time
Task A - CF
User iwashisnake
Language C++14 (GCC 5.4.1)
Score 0
Code Size 684 Byte
Status WA
Exec Time 38 ms
Memory 764 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
WA × 4
WA × 12
Set Name Test Cases
Sample 0_000.txt, 0_001.txt, 0_002.txt, 0_003.txt
All 0_000.txt, 0_001.txt, 0_002.txt, 0_003.txt, 1_004.txt, 1_005.txt, 1_006.txt, 1_007.txt, 1_008.txt, 1_009.txt, 1_010.txt, 1_011.txt
Case Name Status Exec Time Memory
0_000.txt WA 38 ms 764 KB
0_001.txt WA 2 ms 256 KB
0_002.txt WA 2 ms 256 KB
0_003.txt WA 2 ms 256 KB
1_004.txt WA 2 ms 256 KB
1_005.txt WA 2 ms 256 KB
1_006.txt WA 2 ms 256 KB
1_007.txt WA 3 ms 256 KB
1_008.txt WA 2 ms 256 KB
1_009.txt WA 2 ms 256 KB
1_010.txt WA 2 ms 256 KB
1_011.txt WA 2 ms 256 KB