ICode9

精准搜索请尝试: 精确搜索
  • Codeforces Round #806 (Div. 4)2022-07-13 22:00:07

    A. YES or YES? 思路:algorithm库里有一个transform函数可以将字符串转为大写,然后判断是否等于YES #include <bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int, int> PII; const int N = 100010; int n, m; int a[N]; void solve() { cin >

  • Codeforces Round #806 (Div. 4) A - G2022-07-13 20:34:59

    传送门 A. YES or YES? 统一一下大小写 #include <iostream> #include <cstdio> #include <algorithm> #include <vector> #include <string> #include <queue> #include <functional> #include <map> #include <set> #include &

  • Codeforces Round #806 (Div. 4)总结2022-07-13 12:32:28

    比赛地址 比赛情况 排名:?? / 27864 AC:7 / 7 题目分析 A 语法题 B 看一下出现多少种字母,加上字符长度就是答案 C 因为是倒推,所以 D 就加,U 就减,最后输出模10的余数即可 D string+map 先把所有string放入一个map里 然后对于每一个string枚举分界点,判断是否存在两个字串都在map中 E 每

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有