文明大学生

数学公式

2019年10月20日

C - You Are Given a WASD-string... CodeForces - 1202C

摘要: #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn=2e5+100; char s[maxn]; /* 这个字符不是随便可以加的,因为会出现,你加了一个字符 使左边的最小值往右边移了一下,但是导致最右边往右移了,得不偿失 首先我们考虑垂直方向,我们假设它在0这个位置,那么他所移动的 位 阅读全文

posted @ 2019-10-20 16:56 文明大学生 阅读(309) 评论(0) 推荐(0)

导航