题目非常简单(怀疑是不是hc都满了),感觉大多数人应该都能全ac 第一题: int lineup(string peoples) { // write code here int ge1 = 0, ge2 = 0, n = peoples.length(); int res1 = 0, res2 = 0; for (int i = 0; i < n; ++i) { if (peoples[i] == 'G') { res1 += i - ge1; ...