题解:P13101 致谢 | FJCPC2025全体参赛选手&赛事staff

· · 题解

这题竟然没关题解通道。

打表并根据表内序号输出即可。

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

const string s[] = {"FZU", "FNU", "FZU", "FZU", "FAFU", "HQU", "MJU", "XMUT", "QNU", "JMU", "FZU"};

signed main() {
    ios::sync_with_stdio(0);
    cin.tie(0), cout.tie(0);
    int x;
    cin >> x;
    cout << s[x - 1];
    return 0;
}

注意代码中数组起始下标为 0