摘要: https://www.luogu.com.cn/problem/P4310 int main() { std::ios::sync_with_stdio(false); std::cin.tie(0); int n; cin >> n; int res = 0; for (int i = 1; i 阅读全文
posted @ 2025-07-15 22:16 yubai111 阅读(10) 评论(0) 推荐(0)
摘要: 题集导航:https://codeforces.com/gym/105887 ` define int long long using namespace std; int res = 0; int idx = 0; int usenum[400100]; int copynum[400100]; 阅读全文
posted @ 2025-07-15 22:09 yubai111 阅读(7) 评论(0) 推荐(0)
摘要: 题目来源:https://www.luogu.com.cn/problem/P1381 ` define int long long const int P = 131; const int MOD = 9988234; unordered_map<int, int>words; unordered 阅读全文
posted @ 2025-07-15 12:27 yubai111 阅读(8) 评论(0) 推荐(0)