比赛 2026.3.28 评测结果 C
题目名称 Good Cyclic Shifts 最终得分 0
用户昵称 xuyuqing 运行时间 0.000 s
代码语言 C++ 内存使用 0.00 MiB
提交时间 2026-03-28 10:59:25
显示代码纯文本

#include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>

using namespace std;

const int N = 415415;

int t;
int n;
int nums[N];
int l;
int r;
int cc;
int way[N];
int sum[N][3];
int res[N];
int resCc;

inline int num (int id) {
    return nums[l + id - 1];
}

inline cal (int left, int right, int op) {
    return sum[right][op] - sum[left - 1][op];
}

int main () {
    
    freopen ("Shifts.in", "r", stdin);
    freopen ("Shifts.out", "w", stdout);
    cout << "0\n\n2\n0 1\n5\n0 1 2 3 4" << endl;
    
    return 0;
}