跳到正文

题解

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

Na1L0n9约 1 分钟
原文
文章信息与版本

文章信息

发布
2025年7月6日
收录
2025年12月12日
更新
2026年10月27日
篇幅
约 1 分钟
题目
P13101

版本

  1. v1当前

Solution

思路

简单题,因为 nn 很小,我们直接用一个字符数组储存各届承办院校英文缩写,然后根据 nn 的值找到字符数组中储存答案的位置即可。

Code

C++
#include <bits/stdc++.h>
#define Write ios::sync_with_stdio(0);
#define by cin.tie(0);
#define AquaDaMean1e cout.tie(0);
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const int N = 1e5 + 10;
const int MOD = 998244353;
int n; 
string s[12] = {" ", "FZU", "FNU", "FZU", "FZU", "FAFU", "HQU", "MJU", "XMUT", "QNU", "JMU", "FZU"}; 
int main() {
	Write by AquaDaMean1e
	cin >> n;
	cout << s[n];
	return 0;
}
 
原文