怀八方,入九重!
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
使每个人分到的不同的至少量就是一个等差(差等1)的数列,等差数列和的公式是:首项+末项的和*项数/2 所以这道题最简单的方法就是用等差数列! 上代码 ```cpp #include using namespace std; #define int long long signed main(){ int n;// 定义…
在讨论《80pts求调必关》回复:
@[AZeng](luogu://user/443226)https://www.luogu.com.cn/record/245932239 AC了
在讨论《80pts求调必关》回复:
@[AZeng](luogu://user/443226)@[AZeng](luogu://user/443226)谢谢了
80pts最后几个点TLE ```cpp #include #define int long long using namespace std; const int MAXN=1000005,MAXN_M=998244353; int n,a[MAXN],sum[MAXN],num[MAXN],ans=0,p=0; s…
在讨论《梦熊 J/S 模拟作弊名单》回复:
$\color{#0aa}\cancel{\ \ \ \textrm{\textit{\textbf{{\Large\color{#0af}前 }}}}^\textrm{\textit{\textbf{{\small\color{#e97813}排}}}}_\textrm{\textit{\textbf{\large\…
在讨论《对于举报用户工单的注意事项》回复:
qp
在讨论《对于举报用户工单的注意事项》回复:
那什么是受信任的人
90分代码: ```cpp #include using namespace std; int n, a[1000005], sum = 0; int main() { cin >> n; for (int i = 1; i > a[i]; } int current = 1; while (true) { int n…
30求调(不一定在) ```cpp #include using namespace std; int main() { int n,L,R; cin >> n >> L >> R; srand(time(0)); int a[n]; for (int i=0;i 0; ++i) { int add=rand()%(d…
在讨论《梦熊月亮赛 作弊名单》回复:
qp