Sorry, your browser cannot access this site
This page requires browser support (enable) JavaScript
Learn more >

题目链接: https://www.luogu.com.cn/problem/P4305 #include <stdio.h> #include <stdlib.h> #define MAXN 50005//数据范围 #define MOD 400000//取模,不要太大,否则会超内存 int a[MAXN];//用来保存结果 struct node { ...