1 条题解

  • 0
    @ 2024-8-2 16:19:44

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    int main() {
     int x;
     cin>>x;
     if(x % 4 == 1) cout<<"D";
     else if(x % 4 == 2) cout<<"F";
     else if(x % 4 == 3) cout<<"B";
     else if(x % 4 == 0) cout<<"Y";
    return 0;
    }
    
    • 1

    信息

    ID
    994
    时间
    1000ms
    内存
    128MiB
    难度
    10
    标签
    递交数
    3
    已通过
    3
    上传者