codeforce
哥本哈根往事
这个作者很懒,什么都没留下…
展开
-
string adjavant swap problem
#include <bits/stdc++.h> #define rep(i, x, n) for(int i = x; i <= n; i ++ ) #define downrep(i, x, n) for(int i = n; i >= x; i -- ) #define IO ios::sync_with_stdio(false);cin.tie(0); template<typename T> void debug(T x) {cout << "#X原创 2021-05-29 11:46:47 · 47 阅读 · 0 评论 -
codefoece 711
gcdsum 这一题注意又stl agorithm 库里面的现成函数 __gcd(a,b)可以使用 Problem - B - Codeforces #include <bits/stdc++.h> using namespace std; typedef long long ll; #define f(i,n) for(int i=0;i<n;i++) ll a[100005]; ll b[100005]; bool cmp(ll x,ll y){return x>y;.原创 2021-04-02 13:01:15 · 78 阅读 · 0 评论