呜呜周日的时候手感一直很好 代码一般都是一遍过编译一遍过样例 做CF的时候前三题也都是一遍过Pretest没想着去检查... 期间姐姐提醒说有Announcement也自信不去看 呜呜然后就FST了 呜呜然后rating-55(果然呜呜 TAT A. Cutting Banner A large banner with word CODEFORCES was ordered for the 1000-th onsite round of Codeforcesω that takes plac…
A.Price List Sol 求和查询 Code #include<cstdio> #include<algorithm> #include<iostream> using namespace std; typedef long long LL; const int N = 100005; //LL v[N]; inline LL in(LL x=0,char ch=getchar()){ while(ch>'9'||ch<'0') ch=getchar…
A 我的方法是: #include<bits/stdc++.h> using namespace std; #define int long long typedef long long ll; const int N=2e5+100; const int INF = 1e9; int32_t main(){ ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int b, k; cin >> b >> k; i…
感觉今天早上虽然没有睡醒但是效率还是挺高的... Pas和C++换着写... 544A. Set of Strings You are given a string q. A sequence of k strings s1, s2, ..., sk is called beautiful, if the concatenation of these strings is string q(formally, s1 + s2 + ... + sk = q) and the first cha…